Flash MCU. HT45F56 Datasheet

HT45F56 MCU. Datasheet pdf. Equivalent

HT45F56 Datasheet
Recommendation HT45F56 Datasheet
Part HT45F56
Description Shock Detector Flash MCU
Feature HT45F56; Shock Detector Flash MCU HT45F56 Revision: V1.11 Date: April 11, 2017 HT45F56 Shock Detector Flash .
Manufacture Holtek Semiconductor
Datasheet
Download HT45F56 Datasheet




Holtek Semiconductor HT45F56
Shock Detector Flash MCU
HT45F56
Revision: V1.11 Date: April 11, 2017



Holtek Semiconductor HT45F56
HT45F56
Shock Detector Flash MCU
Table of Contents
Features............................................................................................................. 5
CPU Features.......................................................................................................................... 5
Peripheral Features.................................................................................................................. 5
General Description.......................................................................................... 6
Block Diagram................................................................................................... 6
Pin Assignment................................................................................................. 6
Pin Descriptions............................................................................................... 7
Absolute Maximum Ratings............................................................................. 8
D.C. Characteristics.......................................................................................... 8
A.C. Characteristics.......................................................................................... 9
LVR Electrical Characteristics....................................................................... 10
Comparator Electrical Characteristics......................................................... 10
R-2R D/A Converter Electrical Characteristics............................................ 10
Shock Sensor Amplifier Electrical Characteristics..................................... 10
Debounce Circuit Electrical Characteristics.................................................11
Power-on Reset Characteristics.....................................................................11
System Architecture....................................................................................... 12
Clocking and Pipelining.......................................................................................................... 12
Program Counter.................................................................................................................... 13
Stack...................................................................................................................................... 14
Arithmetic and Logic Unit – ALU............................................................................................ 14
Flash Program Memory.................................................................................. 15
Structure................................................................................................................................. 15
Special Vectors...................................................................................................................... 15
Look-up Table......................................................................................................................... 15
Table Program Example......................................................................................................... 16
In Circuit Programming – ICP................................................................................................ 17
On-Chip Debug Support – OCDS.......................................................................................... 18
Data Memory................................................................................................... 18
Structure................................................................................................................................. 18
General Purpose Data Memory............................................................................................. 19
Special Purpose Data Memory.............................................................................................. 19
Special Function Register Description......................................................... 20
Indirect Addressing Registers – IAR0, IAR1.......................................................................... 20
Memory Pointers – MP0, MP1............................................................................................... 20
Bank Pointer – BP.................................................................................................................. 21
Accumulator – ACC................................................................................................................ 21
Program Counter Low Register – PCL................................................................................... 21
Look-up Table Registers – TBLP, TBLH................................................................................. 21
Status Register – STATUS..................................................................................................... 22
Rev. 1.11
2 April 11, 2017



Holtek Semiconductor HT45F56
HT45F56
Shock Detector Flash MCU
EEPROM Data Memory................................................................................... 24
EEPROM Data Memory Structure......................................................................................... 24
EEPROM Registers............................................................................................................... 24
Reading Data from the EEPROM.......................................................................................... 26
Writing Data to the EEPROM................................................................................................. 26
Write Protection...................................................................................................................... 26
EEPROM Interrupt................................................................................................................. 26
Programming Considerations................................................................................................. 27
Oscillator......................................................................................................... 28
Oscillator Overview................................................................................................................ 28
System Clock Configurations................................................................................................. 28
Internal High Speed RC Oscillator – HIRC............................................................................ 29
Internal 32kHz Oscillator – LIRC............................................................................................ 29
Supplementary Oscillators..................................................................................................... 29
Operating Modes and System Clocks.......................................................... 29
System Clocks....................................................................................................................... 29
System Operation Modes....................................................................................................... 30
Control Registers................................................................................................................... 31
Operating Mode Switching..................................................................................................... 33
Standby Current Considerations............................................................................................ 37
Wake-up................................................................................................................................. 37
Watchdog Timer.............................................................................................. 38
Watchdog Timer Clock Source............................................................................................... 38
Watchdog Timer Control Register.......................................................................................... 38
Watchdog Timer Operation.................................................................................................... 39
Reset and Initialisation................................................................................... 40
Reset Functions..................................................................................................................... 40
Reset Initial Conditions.......................................................................................................... 45
Input/Output Ports.......................................................................................... 47
Pull-high Resistors................................................................................................................. 47
Port A Wake-up...................................................................................................................... 48
I/O Port Control Register........................................................................................................ 48
Pin-shared Functions............................................................................................................. 48
I/O Pin Structures................................................................................................................... 49
Programming Considerations................................................................................................. 50
Compact Type Timer Module – CTM............................................................. 51
Compact TM Operation.......................................................................................................... 52
Compact Type TM Register Description................................................................................ 52
Compact Type TM Operation Modes..................................................................................... 56
Programming Considerations................................................................................................. 62
Rev. 1.11
3 April 11, 2017







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