HT48R006/HT46R006
Programming Considerations ...............................................................................41
Timer Program Example.......................................................................................42
Time Base ............................................................................................................42
Pulse Width Modulator - HT46R006 ................................................43
PWM Operation....................................................................................................43
6+2 PWM Mode ...................................................................................................43
7+1 PWM Mode ...................................................................................................43
PWM Output Control ............................................................................................45
Analog to Digital Converter - HT46R006 ........................................46
A/D Overview .......................................................................................................46
A/D Converter Register Description ......................................................................46
A/D Converter Data Registers - ADRL, ADRH .....................................................46
A/D Converter Control Registers - ADCR, ACSR.................................................47
A/D Operation.......................................................................................................49
A/D Input Pins ......................................................................................................50
Summary of A/D Conversion Steps ......................................................................50
Programming Considerations ...............................................................................50
A/D Transfer Function...........................................................................................50
A/D Programming Example ..................................................................................51
Interrupts............................................................................................53
Interrupt Register..................................................................................................53
Interrupt Operation ...............................................................................................53
Interrupt Priority.....................................................................................................54
External Interrupt ..................................................................................................54
Timer/Event Counter Interrupt ..............................................................................56
Time Base Interrupt ..............................................................................................56
Programming Considerations ...............................................................................56
Configuration Options ......................................................................57
Application Circuits ..........................................................................57
Instruction Set ...................................................................................58
Introduction ..........................................................................................................58
Instruction Timing .................................................................................................58
Moving and Transferring Data ..............................................................................58
Arithmetic Operations ...........................................................................................58
Logical and Rotate Operations .............................................................................58
Branches and Control Transfer.............................................................................58
Table Read Operations.........................................................................................59
Instruction Set Summary ......................................................................................59
Instruction Definition ........................................................................61
Package Information .........................................................................71
10-pin MSOP Outline Dimensions ........................................................................71
Rev. 1.00
iv
October 24, 2011