link to page 20 link to page 20 link to page 20 link to page 22 link to page 22 link to page 22 link to page 23 link to page 23 link to page 23 link to page 23 link to page 24 link to page 25 link to page 27 link to page 31 link to page 31 link to page 32 link to page 32 link to page 32 link to page 33 link to page 34 link to page 34 link to page 36 link to page 38 link to page 38 link to page 39 link to page 39 link to page 40 link to page 40 link to page 41 link to page 41 link to page 43 link to page 44 link to page 47 link to page 48 link to page 48 link to page 48 link to page 49 link to page 50 link to page 50 link to page 51 link to page 52 link to page 52 link to page 52 HT68F2420HT68F2420High Precision HIRC Flash MCUHigh Precision HIRC Flash MCU Program Counter Low Register – PCL ..20 Look-up Table Registers – TBLP, TBLH ..20 Status Register – STATUS ..20 Oscillators ...22 Oscillator Overview ...22 System Clock Configurations ...22 Internal RC Oscillator – HIRC ...23 Internal 32kHz Oscillator – LIRC ..23 Operating Modes and System Clocks ..23 System Clocks ..23 System Operation Modes ..24 Control Register ..25 Operating Mode Switching ...27 Standby Current Considerations ..31 Wake-up ..31 Watchdog Timer ..32 Watchdog Timer Clock Source ..32 Watchdog Timer Control Register ...32 Watchdog Timer Operation ...33 Reset and Initialisation ...34 Reset Functions ..34 Reset Initial Conditions ..36 Input/Output Ports ...38 Pull-high Resistors ..38 I/O Pin Wake-up ..39 I/O Port Control Registers ...39 I/O Pin Structures ..40 Programming Considerations ...40 9-bit Timer with Carrier Output ..41 Timer and Carrier Output Conctrol Register..41 Timer Operation ..43 Carrier Output ...44 Carrier Output Pins ...47 Interrupts ...48 Interrupt Register ..48 Interrupt Operation ..48 Time Base Interrupt ...49 Interrupt Wake-up Function ...50 Programming Considerations ..50 Application Circuits ..51Instruction Set ...52 Introduction ...52 Instruction Timing ..52 Rev. 1.00 2 October 08, 2020 Rev. 1.00 3 October 08, 2020 Document Outline Features CPU Features Peripheral Features General Description Block Diagram Pin Assignment Pin Description Absolute Maximum Ratings D.C. Characteristics Operating Voltage Characteristics Operating Current Characteristics Standby Current Characteristics A.C. Characteristics Internal Oscillator Characteristics System Start Up Time Characteristics Input/Output Characteristics REM/REMDRV Pin Characteristics LVR Electrical Characteristics Power on Reset Characteristics System Architecture Clocking and Pipelining Program Counter Stack Arithmetic and Logic Unit – ALU Flash Program Memory Structure Special Vectors Look-up Table Table Program Example In Circuit Programming – ICP On-Chip Debug Support – OCDS Data Memory Structure General Purpose Data Memory Special Purpose Data Memory Special Function Register Description Indirect Addressing Registers – IAR0 Memory Pointers – MP0 Accumulator – ACC Program Counter Low Register – PCL Look-up Table Registers – TBLP, TBLH Status Register – STATUS Oscillators Oscillator Overview System Clock Configurations Internal RC Oscillator – HIRC Internal 32kHz Oscillator – LIRC Operating Modes and System Clocks System Clocks System Operation Modes Control Register Operating Mode Switching Standby Current Considerations Wake-up Watchdog Timer Watchdog Timer Clock Source Watchdog Timer Control Register Watchdog Timer Operation Reset and Initialisation Reset Functions Reset Initial Conditions Input/Output Ports Pull-high Resistors I/O Pin Wake-up I/O Port Control Registers I/O Pin Structures Programming Considerations 9-bit Timer with Carrier Output Timer and Carrier Output Conctrol Register Timer Operation Carrier Output Carrier Output Pins Interrupts Interrupt Register Interrupt Operation Time Base Interrupt Interrupt Wake-up Function Programming Considerations Application Circuits Instruction Set Introduction Instruction Timing Moving and Transferring Data Arithmetic Operations Logical and Rotate Operation Branches and Control Transfer Bit Operations Table Read Operations Other Operations Instruction Set Summary Table Conventions Instruction Definition Package Information 8-pin SOP (150mil) Outline Dimensions 16-pin NSOP (150mil) Outline Dimensions 20-pin NSOP (150mil) Outline Dimensions 20-pin SSOP (150mil) Outline Dimensions