Special Function Registers .......................................................................................... 25
Indirect Addressing Registers
-
IAR, IAR0, IAR1 ................................................. 25
Memory Pointers
-
MP, MP0, MP1 ....................................................................... 25
Bank Pointer
-
BP ................................................................................................. 26
Accumulator
-
ACC ............................................................................................... 26
Program Counter Low Register
-
PCL ................................................................. 26
Look-up Table Registers
-
TBLP, TBLH ................................................................ 27
Status Register
-
STATUS .................................................................................... 27
Interrupt Control Registers
-
INTC, INTC0, INTC1 ............................................... 28
Timer/Event Counter Registers ............................................................................. 28
Input/Output Ports and Control Registers ............................................................. 28
Pulse Width Modulator Registers
-
PWM, PWM0, PWM1, PWM2, PWM3 .......... 29
I
2
C Bus Registers
-
HADR, HCR, HSR, HDR ....................................................... 29
A/D Converter Registers
-
ADRL, ADRH, ADCR, ADSR ..................................... 29
Input/Output Ports ........................................................................................................ 29
Pull-high Resistors ................................................................................................ 30
Port A Wake-up ..................................................................................................... 30
I/O Port Control Registers ..................................................................................... 30
Pin-shared Functions ............................................................................................ 30
Programming Considerations ................................................................................ 34
Timer/Event Counters .................................................................................................. 34
Configuring the Timer/Event Counter Input Clock Source .................................... 35
Timer Registers
-
TMR, TMRL/TMRH, TMR0L/TMR0H, TMR1L/TMR1H ............ 36
Timer Control Registers
-
TMRC, TMR0C, TMR1C ............................................. 37
Configuring the Timer Mode .................................................................................. 39
Configuring the Event Counter Mode .................................................................... 39
Configuring the Pulse Width Measurement Mode ................................................. 40
Programmable Frequency Divider
-
PFD ............................................................. 41
Prescaler ............................................................................................................... 42
I/O Interfacing ........................................................................................................ 42
Programming Considerations ................................................................................ 42
Pulse Width Modulator ................................................................................................. 42
6+2 PWM Mode .................................................................................................... 43
7+1 PWM Mode .................................................................................................... 44
PWM Output Control ............................................................................................. 45
Analog to Digital Converter .......................................................................................... 46
A/D Converter Data Registers
-
ADRL/ADRH ...................................................... 46
A/D Converter Control Register
-
ADCR .............................................................. 47
A/D Converter Clock Source Register
-
ACSR ..................................................... 49
A/D Input Pins ....................................................................................................... 49
Summary of A/D Conversion Steps ...................................................................... 50
A/D Transfer Function ........................................................................................... 52
I
2
C Bus Serial Interface ............................................................................................... 54
I
2
C Bus Slave Address Register
-
HADR ............................................................. 55
I
2
C Bus Input/Output Data Register
-
HDR ........................................................... 55
I
2
C Bus Control Register
-
HCR ........................................................................... 55
I
2
C Bus Status Register
-
HSR ............................................................................. 55
ii
A/D Type MCU
Содержание HT46R22
Страница 7: ...vi A D Type MCU...
Страница 9: ...viii A D Type MCU...
Страница 10: ...P a r t I Microcontroller Profile Part I Microcontroller Profile 1...
Страница 11: ...2 A D Type MCU...
Страница 90: ...P a r t I I Programming Language Part II Programming Language 81...
Страница 91: ...82 A D Type MCU...
Страница 97: ...88 A D Type MCU...
Страница 128: ...P a r t I I I Development Tools Part III Development Tools 119...
Страница 129: ...120 A D Type MCU...
Страница 140: ...Appendix Appendix 131...
Страница 141: ...132 A D Type MCU...
Страница 151: ...142 A D Type MCU...
Страница 152: ...A p p e n d i x B Package Information Appendix B Package Information 143 B...
Страница 161: ...A D Type MCU...
Страница 162: ...Amendments...