English
Language : 

MC9S08AW60 Datasheet, PDF (11/320 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 6
Parallel Input/Output
6.1 Introduction .....................................................................................................................................79
6.2 Features ...........................................................................................................................................79
6.3 Pin Descriptions ..............................................................................................................................80
6.3.1 Port A ..............................................................................................................................80
6.3.2 Port B ..............................................................................................................................80
6.3.3 Port C ..............................................................................................................................81
6.3.4 Port D ..............................................................................................................................81
6.3.5 Port E ..............................................................................................................................82
6.3.6 Port F ..............................................................................................................................83
6.3.7 Port G ..............................................................................................................................83
6.4 Parallel I/O Control .........................................................................................................................84
6.5 Pin Control ......................................................................................................................................85
6.5.1 Internal Pullup Enable ....................................................................................................85
6.5.2 Output Slew Rate Control Enable ..................................................................................85
6.5.3 Output Drive Strength Select ..........................................................................................85
6.6 Pin Behavior in Stop Modes ............................................................................................................86
6.7 Parallel I/O and Pin Control Registers ............................................................................................86
6.7.1 Port A I/O Registers (PTAD and PTADD) .....................................................................86
6.7.2 Port A Pin Control Registers (PTAPE, PTASE, PTADS) ..............................................87
6.7.3 Port B I/O Registers (PTBD and PTBDD) .....................................................................89
6.7.4 Port B Pin Control Registers (PTBPE, PTBSE, PTBDS) ..............................................90
6.7.5 Port C I/O Registers (PTCD and PTCDD) .....................................................................92
6.7.6 Port C Pin Control Registers (PTCPE, PTCSE, PTCDS) ..............................................93
6.7.7 Port D I/O Registers (PTDD and PTDDD) ....................................................................95
6.7.8 Port D Pin Control Registers (PTDPE, PTDSE, PTDDS) .............................................96
6.7.9 Port E I/O Registers (PTED and PTEDD) ......................................................................98
6.7.10 Port E Pin Control Registers (PTEPE, PTESE, PTEDS) ...............................................99
6.7.11 Port F I/O Registers (PTFD and PTFDD) ....................................................................101
6.7.12 Port F Pin Control Registers (PTFPE, PTFSE, PTFDS) ..............................................102
6.7.13 Port G I/O Registers (PTGD and PTGDD) ..................................................................104
6.7.14 Port G Pin Control Registers (PTGPE, PTGSE, PTGDS) ...........................................105
Chapter 7
Central Processor Unit (S08CPUV2)
7.1 Introduction ...................................................................................................................................107
7.1.1 Features .........................................................................................................................107
7.2 Programmer’s Model and CPU Registers .....................................................................................108
7.2.1 Accumulator (A) ...........................................................................................................108
7.2.2 Index Register (H:X) ....................................................................................................108
7.2.3 Stack Pointer (SP) .........................................................................................................109
7.2.4 Program Counter (PC) ..................................................................................................109
7.2.5 Condition Code Register (CCR) ...................................................................................109
MC9S08AW60 Data Sheet, Rev.1.0
Freescale Semiconductor
11