Datasheet

MC9S08SH32 Series Data Sheet, Rev. 2
12 Freescale Semiconductor
Section Number Title Page
8.2 Features ......................................................................................................................................... 115
8.3 Modes of Operation....................................................................................................................... 115
8.4 Block Diagram .............................................................................................................................. 115
8.5 External Signal Description .......................................................................................................... 117
8.6 Memory Map ................................................................................................................................ 117
8.6.1 Register Descriptions...................................................................................................... 117
8.7 Functional Description .................................................................................................................. 119
Chapter 9
Analog-to-Digital Converter (S08ADCV1)
9.1 Introduction ................................................................................................................................... 121
9.1.1 Channel Assignments...................................................................................................... 121
9.1.2 Analog Power and Ground Signal Names ...................................................................... 122
9.1.3 Alternate Clock............................................................................................................... 122
9.1.4 Hardware Trigger............................................................................................................ 122
9.1.5 Temperature Sensor ........................................................................................................ 122
9.1.6 Features........................................................................................................................... 125
9.1.7 Block Diagram................................................................................................................ 125
9.2 External Signal Description .......................................................................................................... 126
9.2.1 Analog Power (V
DDAD
).................................................................................................. 127
9.2.2 Analog Ground (V
SSAD
)................................................................................................. 127
9.2.3 Voltage Reference High (V
REFH
) ................................................................................... 127
9.2.4 Voltage Reference Low (V
REFL
)..................................................................................... 127
9.2.5 Analog Channel Inputs (ADx)........................................................................................ 127
9.3 Register Definition ........................................................................................................................ 127
9.3.1 Status and Control Register 1 (ADCSC1) ...................................................................... 127
9.3.2 Status and Control Register 2 (ADCSC2) ...................................................................... 129
9.3.3 Data Result High Register (ADCRH)............................................................................. 130
9.3.4 Data Result Low Register (ADCRL).............................................................................. 130
9.3.5 Compare Value High Register (ADCCVH).................................................................... 131
9.3.6 Compare Value Low Register (ADCCVL) ..................................................................... 131
9.3.7 Configuration Register (ADCCFG)................................................................................ 131
9.3.8 Pin Control 1 Register (APCTL1) .................................................................................. 133
9.3.9 Pin Control 2 Register (APCTL2) .................................................................................. 134
9.3.10 Pin Control 3 Register (APCTL3) .................................................................................. 135
9.4 Functional Description .................................................................................................................. 136
9.4.1 Clock Select and Divide Control .................................................................................... 136
9.4.2 Input Select and Pin Control........................................................................................... 137
9.4.3 Hardware Trigger............................................................................................................ 137
9.4.4 Conversion Control......................................................................................................... 137
9.4.5 Automatic Compare Function......................................................................................... 140
9.4.6 MCU Wait Mode Operation............................................................................................ 140
PRELIMINARY