English
Language : 

MC9S08SG8 Datasheet, PDF (11/310 Pages) Freescale Semiconductor, Inc – Microcontrollers
Section Number
Title
Page
6.4.3 Pull-up/Pull-down Resistors .............................................................................................77
6.4.4 Pin Interrupt Initialization .................................................................................................77
6.5 Pin Behavior in Stop Modes ............................................................................................................77
6.6 Parallel I/O and Pin Control Registers ............................................................................................77
6.6.1 Port A Registers ................................................................................................................78
6.6.2 Port B Registers ................................................................................................................82
6.6.3 Port C Registers ................................................................................................................86
Chapter 7
Central Processor Unit (S08CPUV3)
7.1 Introduction .....................................................................................................................................89
7.1.1 Features .............................................................................................................................89
7.2 Programmer’s Model and CPU Registers .......................................................................................90
7.2.1 Accumulator (A) ...............................................................................................................90
7.2.2 Index Register (H:X) .........................................................................................................90
7.2.3 Stack Pointer (SP) .............................................................................................................91
7.2.4 Program Counter (PC) ......................................................................................................91
7.2.5 Condition Code Register (CCR) .......................................................................................91
7.3 Addressing Modes ...........................................................................................................................93
7.3.1 Inherent Addressing Mode (INH) .....................................................................................93
7.3.2 Relative Addressing Mode (REL) .....................................................................................93
7.3.3 Immediate Addressing Mode (IMM) ................................................................................93
7.3.4 Direct Addressing Mode (DIR) ........................................................................................93
7.3.5 Extended Addressing Mode (EXT) ..................................................................................94
7.3.6 Indexed Addressing Mode ................................................................................................94
7.4 Special Operations ...........................................................................................................................95
7.4.1 Reset Sequence .................................................................................................................95
7.4.2 Interrupt Sequence ............................................................................................................95
7.4.3 Wait Mode Operation ........................................................................................................96
7.4.4 Stop Mode Operation ........................................................................................................96
7.4.5 BGND Instruction .............................................................................................................97
7.5 HCS08 Instruction Set Summary ....................................................................................................98
Chapter 8
5-V Analog Comparator (S08ACMPV2)
8.1 Introduction ...................................................................................................................................109
8.1.1 ACMP Configuration Information ..................................................................................109
8.1.2 ACMP/TPM Configuration Information .........................................................................109
8.1.3 Features ...........................................................................................................................111
8.1.4 Block Diagram ................................................................................................................111
8.1.5 Modes of Operation ........................................................................................................111
8.2 External Signal Description ..........................................................................................................113
MC9S08SG8 MCU Series Data Sheet, Rev. 0
Freescale Semiconductor
11