English
Language : 

MC9S08QG8_09 Datasheet, PDF (13/314 Pages) Freescale Semiconductor, Inc – HCS08 Microcontrollers
Section Number
Title
Page
Chapter 6
Parallel Input/Output Control
6.1 Port Data and Data Direction .......................................................................................................... 77
6.2 Pin Control — Pullup, Slew Rate, and Drive Strength ................................................................... 78
6.3 Pin Behavior in Stop Modes............................................................................................................ 79
6.4 Parallel I/O Registers ...................................................................................................................... 79
6.4.1 Port A Registers .................................................................................................................79
6.4.2 Port A Control Registers....................................................................................................80
6.4.3 Port B Registers .................................................................................................................83
6.4.4 Port B Control Registers ....................................................................................................84
Chapter 7
Central Processor Unit (S08CPUV2)
7.1 Introduction ..................................................................................................................................... 87
7.1.1 Features ..............................................................................................................................87
7.2 Programmer’s Model and CPU Registers ....................................................................................... 88
7.2.1 Accumulator (A) ................................................................................................................88
7.2.2 Index Register (H:X) .........................................................................................................88
7.2.3 Stack Pointer (SP) ..............................................................................................................89
7.2.4 Program Counter (PC) .......................................................................................................89
7.2.5 Condition Code Register (CCR) ........................................................................................89
7.3 Addressing Modes........................................................................................................................... 91
7.3.1 Inherent Addressing Mode (INH)......................................................................................91
7.3.2 Relative Addressing Mode (REL) .....................................................................................91
7.3.3 Immediate Addressing Mode (IMM).................................................................................91
7.3.4 Direct Addressing Mode (DIR) .........................................................................................91
7.3.5 Extended Addressing Mode (EXT) ...................................................................................92
7.3.6 Indexed Addressing Mode .................................................................................................92
7.4 Special Operations........................................................................................................................... 93
7.4.1 Reset Sequence ..................................................................................................................93
7.4.2 Interrupt Sequence .............................................................................................................93
7.4.3 Wait Mode Operation.........................................................................................................94
7.4.4 Stop Mode Operation.........................................................................................................94
7.4.5 BGND Instruction..............................................................................................................95
7.5 HCS08 Instruction Set Summary .................................................................................................... 96
Chapter 8
Analog Comparator (S08ACMPV2)
8.1 Introduction ................................................................................................................................... 107
8.1.1 ACMP Configuration Information...................................................................................107
8.1.2 ACMP/TPM Configuration Information .........................................................................107
8.1.3 Features ............................................................................................................................109
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 5
Freescale Semiconductor
11