Flash MCU. HT45F2020 Datasheet

HT45F2020 MCU. Datasheet pdf. Equivalent

HT45F2020 Datasheet
Recommendation HT45F2020 Datasheet
Part HT45F2020
Description Sound Effect Generator Flash MCU
Feature HT45F2020; Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Revision: V1.00 Date: April 11, 2017 HT45F2020.
Manufacture Holtek Semiconductor
Datasheet
Download HT45F2020 Datasheet




Holtek Semiconductor HT45F2020
Sound Effect Generator Flash MCU
HT45F2020/HT45F2022
Revision: V1.00 Date: April 11, 2017



Holtek Semiconductor HT45F2020
HT45F2020/HT45F2022
Sound Effect Generator Flash MCU
Table of Contents
Features................................................................................................................. 5
CPU Features...............................................................................................................................5
Peripheral Features.......................................................................................................................5
General Description.............................................................................................. 6
Selection Table...................................................................................................... 6
Block Diagram....................................................................................................... 7
Pin Assignment..................................................................................................... 7
Pin Description..................................................................................................... 8
Absolute Maximum Ratings................................................................................. 9
D.C. Characteristics.............................................................................................. 9
A.C. Characteristics............................................................................................ 10
Shunt Regulator Electrical Characteristics – for HT45F2020 only................. 11
Power-on Reset Characteristics........................................................................ 12
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..................................................................................................18
Special Purpose Data Memory...................................................................................................19
Special Function Register Description............................................................. 20
Indirect Addressing Registers – IAR0, IAR1...............................................................................20
Memory Pointers – MP0, MP1....................................................................................................20
Accumulator – ACC.....................................................................................................................21
Program Counter Low Register – PCL........................................................................................21
Look-up Table Registers – TBLP, TBLH......................................................................................21
Status Register – STATUS..........................................................................................................21
Oscillators........................................................................................................... 23
Oscillator Overview.....................................................................................................................23
System Clock Configurations .....................................................................................................23
Rev. 1.00
2 April 11, 2017



Holtek Semiconductor HT45F2020
HT45F2020/HT45F2022
Sound Effect Generator Flash MCU
High Speed Internal RC Oscillator – HIRC ................................................................................24
Internal 32kHz Oscillator – LIRC ................................................................................................24
Supplementary Oscillators .........................................................................................................24
Operating Modes and System Clocks ............................................................. 24
System Clocks ...........................................................................................................................24
System Operation Modes............................................................................................................25
Control Register..........................................................................................................................27
Operating Mode Switching .........................................................................................................28
Standby Current Considerations ................................................................................................32
Wake-up......................................................................................................................................32
Watchdog Timer.................................................................................................. 33
Watchdog Timer Clock Source....................................................................................................33
Watchdog Timer Control Register...............................................................................................33
Watchdog Timer Operation.........................................................................................................34
Reset and Initialisation....................................................................................... 35
Reset Functions..........................................................................................................................35
Reset Initial Conditions ..............................................................................................................36
Input/Output Ports ............................................................................................. 38
Pull-high Resistors......................................................................................................................38
Port A Wake-up...........................................................................................................................39
I/O Port Control Registers...........................................................................................................39
Pin-shared Functions..................................................................................................................40
I/O Pin Structures........................................................................................................................41
Programming Considerations .....................................................................................................41
Timer Modules – TM........................................................................................... 42
Introduction.................................................................................................................................42
TM Operation..............................................................................................................................42
TM Clock Source.........................................................................................................................42
TM Interrupts...............................................................................................................................42
TM External Pins ........................................................................................................................43
TM Input/Output Pin Selection....................................................................................................43
Programming Considerations......................................................................................................44
Periodic Type TM – PTM..................................................................................... 45
Periodic TM Operation................................................................................................................45
Periodic Type TM Register Description.......................................................................................46
Periodic Type TM Operation Modes............................................................................................50
Shunt Regulator – for HT45F2020 only............................................................. 59
Sound Effect Generator..................................................................................... 60
Interrupts............................................................................................................. 60
Interrupt Registers.......................................................................................................................60
Interrupt Operation......................................................................................................................62
Multi-function Interrupt................................................................................................................63
Rev. 1.00
3 April 11, 2017







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