Datasheet

MC9S08SG8 MCU Series Data Sheet, Rev. 8
14 Freescale Semiconductor
Section Number Title Page
8.1.5 Modes of Operation ........................................................................................................113
8.1.6 Block Diagram ................................................................................................................113
8.2 External Signal Description ..........................................................................................................115
8.3 Memory Map ................................................................................................................................115
8.3.1 Register Descriptions ......................................................................................................115
8.4 Functional Description ..................................................................................................................117
Chapter 9
Analog-to-Digital Converter (S08ADCV1)
9.1 Introduction ...................................................................................................................................119
9.1.1 Channel Assignments .....................................................................................................119
9.1.2 Alternate Clock ...............................................................................................................120
9.1.3 Hardware Trigger ............................................................................................................120
9.1.4 Temperature Sensor ........................................................................................................120
9.1.5 Features ...........................................................................................................................123
9.1.6 Block Diagram ................................................................................................................123
9.2 External Signal Description ..........................................................................................................124
9.2.1 Analog Power (V
DDAD
) ..................................................................................................125
9.2.2 Analog Ground (V
SSAD
) .................................................................................................125
9.2.3 Voltage Reference High (V
REFH
) ...................................................................................125
9.2.4 Voltage Reference Low (V
REFL
) ....................................................................................125
9.2.5 Analog Channel Inputs (ADx) ........................................................................................125
9.3 Register Definition ........................................................................................................................125
9.3.1 Status and Control Register 1 (ADCSC1) ......................................................................125
9.3.2 Status and Control Register 2 (ADCSC2) ......................................................................127
9.3.3 Data Result High Register (ADCRH) .............................................................................128
9.3.4 Data Result Low Register (ADCRL) ..............................................................................128
9.3.5 Compare Value High Register (ADCCVH) ....................................................................129
9.3.6 Compare Value Low Register (ADCCVL) .....................................................................129
9.3.7 Configuration Register (ADCCFG) ................................................................................129
9.3.8 Pin Control 1 Register (APCTL1) ..................................................................................131
9.3.9 Pin Control 2 Register (APCTL2) ..................................................................................132
9.3.10 Pin Control 3 Register (APCTL3) ..................................................................................133
9.4 Functional Description ..................................................................................................................134
9.4.1 Clock Select and Divide Control ....................................................................................134
9.4.2 Input Select and Pin Control ...........................................................................................135
9.4.3 Hardware Trigger ............................................................................................................135
9.4.4 Conversion Control .........................................................................................................135
9.4.5 Automatic Compare Function .........................................................................................138
9.4.6 MCU Wait Mode Operation ............................................................................................138
9.4.7 MCU Stop3 Mode Operation ..........................................................................................138
9.4.8 MCU Stop1 and Stop2 Mode Operation .........................................................................139