English
Language : 

MC9S08SG8 Datasheet, PDF (12/310 Pages) Freescale Semiconductor, Inc – Microcontrollers
Section Number
Title
Page
8.3 Memory Map and Register Definition ...........................................................................................113
8.3.1 Memory Map (Register Summary) .................................................................................113
8.3.2 Register Descriptions ......................................................................................................113
8.4 Functional Description ..................................................................................................................115
Chapter 9
Analog-to-Digital Converter (S08ADCV1)
9.1 Introduction ...................................................................................................................................117
9.1.1 Channel Assignments ......................................................................................................117
9.1.2 Alternate Clock ...............................................................................................................118
9.1.3 Hardware Trigger ............................................................................................................118
9.1.4 Temperature Sensor ........................................................................................................118
9.1.5 Features ...........................................................................................................................120
9.1.6 Block Diagram ................................................................................................................120
9.2 External Signal Description ..........................................................................................................121
9.2.1
9.2.2
9.2.3
9.2.4
9.2.5
Analog Power (VDDAD) ..................................................................................................122
Analog Ground (VSSAD) .................................................................................................122
Voltage Reference High (VREFH) ...................................................................................122
Voltage Reference Low (VREFL) .....................................................................................122
Analog Channel Inputs (ADx) ........................................................................................122
9.3 Register Definition ........................................................................................................................122
9.3.1 Status and Control Register 1 (ADCSC1) ......................................................................122
9.3.2 Status and Control Register 2 (ADCSC2) ......................................................................124
9.3.3 Data Result High Register (ADCRH) .............................................................................125
9.3.4 Data Result Low Register (ADCRL) ..............................................................................125
9.3.5 Compare Value High Register (ADCCVH) ....................................................................126
9.3.6 Compare Value Low Register (ADCCVL) .....................................................................126
9.3.7 Configuration Register (ADCCFG) ................................................................................126
9.3.8 Pin Control 1 Register (APCTL1) ..................................................................................128
9.3.9 Pin Control 2 Register (APCTL2) ..................................................................................129
9.3.10 Pin Control 3 Register (APCTL3) ..................................................................................130
9.4 Functional Description ..................................................................................................................131
9.4.1 Clock Select and Divide Control ....................................................................................131
9.4.2 Input Select and Pin Control ...........................................................................................132
9.4.3 Hardware Trigger ............................................................................................................132
9.4.4 Conversion Control .........................................................................................................132
9.4.5 Automatic Compare Function .........................................................................................135
9.4.6 MCU Wait Mode Operation ............................................................................................135
9.4.7 MCU Stop3 Mode Operation ..........................................................................................135
9.4.8 MCU Stop1 and Stop2 Mode Operation .........................................................................136
9.5 Initialization Information ..............................................................................................................136
9.5.1 ADC Module Initialization Example .............................................................................136
MC9S08SG8 MCU Series Data Sheet, Rev. 0
12
Freescale Semiconductor