Flash MCU. HT45F0027 Datasheet

HT45F0027 MCU. Datasheet pdf. Equivalent

HT45F0027 Datasheet
Recommendation HT45F0027 Datasheet
Part HT45F0027
Description PIR 8-Bit Flash MCU
Feature HT45F0027; PIR 8-Bit Flash MCU HT45F0027 Revision: V1.20 Date: �J�a�n�u�a�r�y�2�1��,�2�0�1��6 HT45F0027 PIR 8-.
Manufacture Holtek Semiconductor
Datasheet
Download HT45F0027 Datasheet





Holtek Semiconductor HT45F0027
PIR 8-Bit Flash MCU
HT45F0027
Revision: V1.20 Date: �J�a�n�u�a�r�y�2�1��,�2�0�1��6



Holtek Semiconductor HT45F0027
HT45F0027
PIR 8-Bit Flash MCU
Table of Contents
Features............................................................................................................. 6
CPU Features.......................................................................................................................... 6
Peripheral Features.................................................................................................................. 6
General Description.......................................................................................... 7
Block Diagram................................................................................................... 7
Pin Assignment................................................................................................. 8
Pin Description................................................................................................. 8
Absolute Maximum Ratings........................................................................... 10
D.C. Characteristics........................................................................................ 10
A.C. Characteristics........................................................................................ 12
OP Amplifier Characteristics......................................................................... 13
LDO Characteristics....................................................................................... 13
A/D Converter Characteristics....................................................................... 14
Temperature Sensor Characteristics............................................................ 14
Power-on Reset Characteristics.................................................................... 14
System Architecture....................................................................................... 15
Clocking and Pipelining.......................................................................................................... 15
Program Counter.................................................................................................................... 16
Stack...................................................................................................................................... 17
Arithmetic and Logic Unit – ALU............................................................................................ 17
Flash Program Memory.................................................................................. 18
Structure................................................................................................................................. 18
Special Vectors...................................................................................................................... 18
Look-up Table......................................................................................................................... 18
Table Program Example......................................................................................................... 19
On-Chip Debug Support ─ OCDS.......................................................................................... 20
RAM Data Memory.......................................................................................... 20
Structure................................................................................................................................. 20
Special Function Register Description......................................................... 22
Indirect Addressing Register – IAR0, IAR1............................................................................ 22
Memory Pointers – MP0, MP1 .............................................................................................. 22
Bank Pointer – BP ................................................................................................................. 23
Accumulator – ACC................................................................................................................ 23
Program Counter Low Register – PCL .................................................................................. 23
Look-up Table Registers – TBLP, TBHP, TBLH ..................................................................... 23
Status Register – STATUS .................................................................................................... 24
Rev. 1.20
2 January 21, 2016



Holtek Semiconductor HT45F0027
HT45F0027
PIR 8-Bit Flash MCU
EEPROM Data memory.................................................................................. 26
EEPROM Data Memory Structure......................................................................................... 26
EEPROM Registers............................................................................................................... 26
Reading Data from the EEPROM.......................................................................................... 28
Writing Data to the EEPROM................................................................................................. 28
Write Protection...................................................................................................................... 28
EEPROM Interrupt................................................................................................................. 28
Programming Considerations................................................................................................. 29
Oscillator......................................................................................................... 30
Oscillator Overview ............................................................................................................... 30
System Clock Configurations ................................................................................................ 30
Internal RC Oscillator – HIRC ............................................................................................... 31
Internal 32kHz Oscillator – LIRC ........................................................................................... 31
Supplementary Oscillator....................................................................................................... 31
Operating Modes and System Clocks ......................................................... 31
System Clocks ...................................................................................................................... 31
System Operation Modes ...................................................................................................... 32
Control Register..................................................................................................................... 34
Operating Mode Switching .................................................................................................... 35
Standby Current Considerations ........................................................................................... 39
Wake-up ................................................................................................................................ 39
Watchdog Timer.............................................................................................. 40
Watchdog Timer Clock Source............................................................................................... 40
Watchdog Timer Control Register.......................................................................................... 40
Watchdog Timer Operation.................................................................................................... 41
Reset and Initialisation................................................................................... 42
Reset Functions .................................................................................................................... 42
Reset Initial Conditions.......................................................................................................... 45
Input/Output Ports ......................................................................................... 47
Pull-high Resistors................................................................................................................. 47
Port A Wake-up...................................................................................................................... 48
I/O Port Control Registers...................................................................................................... 48
Pin-remapping Function......................................................................................................... 49
I/O Pin Structures................................................................................................................... 50
Programming Considerations ................................................................................................ 51
Timer/Event Counters.................................................................................... 51
Configuring the Timer/Event Counter Input Clock Source..................................................... 52
Timer Registers – TMR0, TMR1............................................................................................ 52
Timer Control Registers – TMR0C, TMR1C........................................................................... 53
Timer Mode............................................................................................................................ 54
Event Counter Mode ............................................................................................................. 54
Pulse Width Capture Mode.................................................................................................... 55
I/O Interfacing......................................................................................................................... 56
Programming Considerations................................................................................................. 56
Rev. 1.20
3 January 21, 2016





@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site (Privacy Policy & Contact)