English
Language : 

MC9S08QG8_09 Datasheet, PDF (14/314 Pages) Freescale Semiconductor, Inc – HCS08 Microcontrollers
Section Number
Title
Page
8.1.4 Modes of Operation .........................................................................................................109
8.1.5 Block Diagram .................................................................................................................109
8.2 External Signal Description .......................................................................................................... 111
8.3 Register Definition ........................................................................................................................ 111
8.3.1 ACMP Status and Control Register (ACMPSC) .............................................................112
8.4 Functional Description .................................................................................................................. 113
Chapter 9
Analog-to-Digital Converter (S08ADC10V1)
9.1 Introduction ................................................................................................................................... 115
9.1.1 Module Configurations ....................................................................................................117
9.1.2 Features ............................................................................................................................119
9.1.3 Block Diagram .................................................................................................................119
9.2 External Signal Description .......................................................................................................... 120
9.2.1
9.2.2
9.2.3
9.2.4
9.2.5
Analog Power (VDDAD)...................................................................................................121
Analog Ground (VSSAD)..................................................................................................121
Voltage Reference High (VREFH) ....................................................................................121
Voltage Reference Low (VREFL) .....................................................................................121
Analog Channel Inputs (ADx) .........................................................................................121
9.3 Register Definition ........................................................................................................................ 121
9.3.1 Status and Control Register 1 (ADCSC1) .......................................................................121
9.3.2 Status and Control Register 2 (ADCSC2) .......................................................................123
9.3.3 Data Result High Register (ADCRH)..............................................................................124
9.3.4 Data Result Low Register (ADCRL)...............................................................................124
9.3.5 Compare Value High Register (ADCCVH).....................................................................125
9.3.6 Compare Value Low Register (ADCCVL) ......................................................................125
9.3.7 Configuration Register (ADCCFG).................................................................................125
9.3.8 Pin Control 1 Register (APCTL1) ...................................................................................127
9.3.9 Pin Control 2 Register (APCTL2) ...................................................................................128
9.3.10 Pin Control 3 Register (APCTL3) ...................................................................................129
9.4 Functional Description .................................................................................................................. 130
9.4.1 Clock Select and Divide Control .....................................................................................130
9.4.2 Input Select and Pin Control ............................................................................................131
9.4.3 Hardware Trigger.............................................................................................................131
9.4.4 Conversion Control..........................................................................................................131
9.4.5 Automatic Compare Function..........................................................................................134
9.4.6 MCU Wait Mode Operation.............................................................................................134
9.4.7 MCU Stop3 Mode Operation...........................................................................................134
9.4.8 MCU Stop1 and Stop2 Mode Operation..........................................................................135
9.5 Initialization Information .............................................................................................................. 135
9.5.1 ADC Module Initialization Example ..............................................................................135
9.6 Application Information................................................................................................................ 137
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 5
12
Freescale Semiconductor