OTP MCU. HT46R003B Datasheet

HT46R003B MCU. Datasheet pdf. Equivalent

HT46R003B Datasheet
Recommendation HT46R003B Datasheet
Part HT46R003B
Description Cost-Effective A/D 8-bit OTP MCU
Feature HT46R003B; Cost-Effective A/D 8-bit OTP MCU HT46R003B Revision: V1.00 Date: �J�u�n�e�1��9,���2�0�1�4 HT46R003B.
Manufacture Holtek Semiconductor
Datasheet
Download HT46R003B Datasheet




Holtek Semiconductor HT46R003B
Cost-Effective A/D 8-bit OTP MCU
HT46R003B
Revision: V1.00 Date: �J�u�n�e�1��9,���2�0�1�4



Holtek Semiconductor HT46R003B
HT46R003B
Cost-Effective A/D 8-bit OTP MCU
Table of Contents
Features............................................................................................................. 5
CPU Features.......................................................................................................................... 5
Peripheral Features.................................................................................................................. 5
General Description ......................................................................................... 6
Block Diagram................................................................................................... 6
Pin Assignment................................................................................................. 6
Pin Description................................................................................................. 7
Absolute Maximum Ratings............................................................................. 8
D.C. Characteristics.......................................................................................... 8
A.C. Characteristics.......................................................................................... 9
A/D Converter Characteristics......................................................................... 9
Power-on Reset Characteristics.................................................................... 10
System Architecture....................................................................................... 10
Clocking and Pipelining.......................................................................................................... 10
Program Counter – PC............................................................................................................11
Stack...................................................................................................................................... 12
Arithmetic and Logic Unit – ALU............................................................................................ 12
Program Memory............................................................................................ 13
Structure................................................................................................................................. 13
Special Vectors...................................................................................................................... 13
Look-up Table......................................................................................................................... 13
Table Program Example......................................................................................................... 14
RAM Data Memory.......................................................................................... 15
Structure................................................................................................................................. 15
Special Purpose Data Memory.............................................................................................. 15
Special Function Registers............................................................................ 17
Indirect Addressing Registers – IAR0, IAR1.......................................................................... 17
Memory Pointers – MP0, MP1............................................................................................... 17
Accumulator – ACC................................................................................................................ 18
Program Counter Low Register – PCL................................................................................... 18
Status Register – STATUS..................................................................................................... 18
System Control Registers – CTRL0, CTRL1.......................................................................... 20
Oscillator......................................................................................................... 21
System Oscillator Overview................................................................................................... 21
System Clock Configurations................................................................................................. 21
Internal RC Oscillator – HIRC................................................................................................ 21
Internal 12kHz Oscillator – LIRC............................................................................................ 21
Rev. 1.00
2 June 19, 2014



Holtek Semiconductor HT46R003B
HT46R003B
Cost-Effective A/D 8-bit OTP MCU
Power Down Mode and Wake-up................................................................... 22
Power Down Mode................................................................................................................. 22
Standby Current Considerations............................................................................................ 22
Wake-up................................................................................................................................. 22
Watchdog Timer.............................................................................................. 24
Watchdog Timer Clock Source............................................................................................... 24
Watchdog Timer Control Registers........................................................................................ 24
Watchdog Timer Operation.................................................................................................... 25
Reset and Initialization................................................................................... 26
Reset Functions..................................................................................................................... 26
Reset Initial Conditions.......................................................................................................... 28
Input/Output Ports.......................................................................................... 30
Port A Wake-up...................................................................................................................... 31
I/O Port Control Registers...................................................................................................... 31
Pin-shared Functions............................................................................................................. 32
I/O Pin Structures................................................................................................................... 33
Programming Considerations................................................................................................. 34
Timer/Event Counter...................................................................................... 35
Configuring the Timer/Event Counter Input Clock Source..................................................... 35
Timer Register – TMR............................................................................................................ 36
Timer Control Register – TMRC............................................................................................. 36
Timer Mode............................................................................................................................ 37
Event Counter Mode.............................................................................................................. 38
Pulse Width Capture Mode.................................................................................................... 38
Prescaler................................................................................................................................ 39
PFD Function......................................................................................................................... 40
I/O Interfacing......................................................................................................................... 40
Programming Considerations................................................................................................. 40
Timer Program Example........................................................................................................ 41
Time Base.............................................................................................................................. 42
Pulse Width Modulator................................................................................... 42
PWM Operation...................................................................................................................... 42
6+2 PWM Mode..................................................................................................................... 42
7+1 PWM Mode..................................................................................................................... 43
PWM Output Control.............................................................................................................. 44
Analog to Digital Converter .......................................................................... 45
A/D Overview......................................................................................................................... 45
A/D Converter Data Registers – ADRL, ADRH...................................................................... 45
A/D Converter Control Registers – ADCR, ACSR, ADPCR................................................... 46
A/D Operation........................................................................................................................ 48
A/D Input Pins........................................................................................................................ 49
Summary of A/D Conversion Steps........................................................................................ 49
Rev. 1.00
3 June 19, 2014







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