MC9S08GT16A/GT8A Data Sheet, Rev. 1
Freescale Semiconductor 11
Section Number Title Page
5.7.1 Interrupt Pin Request Status and Control Register (IRQSC) ............................................71
5.7.2 System Reset Status Register (SRS) .................................................................................72
5.7.3 System Background Debug Force Reset Register (SBDFR) ............................................73
5.7.4 System Options Register (SOPT) .....................................................................................74
5.7.5 System Device Identification Register (SDIDH, SDIDL) ................................................75
5.7.6 System Real-Time Interrupt Status and Control Register (SRTISC) ................................76
5.7.7 System Power Management Status and Control 1 Register (SPMSC1) ...........................77
5.7.8 System Power Management Status and Control 2 Register (SPMSC2) ...........................78
Chapter 6
Parallel Input/Output
6.1 Introduction .....................................................................................................................................79
6.1.1 Features .............................................................................................................................79
6.1.2 Block Diagram ..................................................................................................................81
6.2 External Signal Description ............................................................................................................82
6.2.1 Port A and Keyboard Interrupts ........................................................................................82
6.2.2 Port B and Analog to Digital Converter Inputs .................................................................82
6.2.3 Port C and SCI2, IIC, and High-Current Drivers ..............................................................83
6.2.4 Port D, TPM1 and TPM2 ..................................................................................................83
6.2.5 Port E, SCI1, and SPI ........................................................................................................84
6.2.6 Port G, BKGD/MS, and Oscillator ...................................................................................84
6.3 Parallel I/O Controls ........................................................................................................................85
6.3.1 Data Direction Control ......................................................................................................85
6.3.2 Internal Pullup Control .....................................................................................................85
6.3.3 Slew Rate Control .............................................................................................................85
6.4 Stop Modes ......................................................................................................................................86
6.5 Register Definition ..........................................................................................................................86
6.5.1 Port A Registers (PTAD, PTAPE, PTASE, and PTADD) .................................................86
6.5.2 Port B Registers (PTBD, PTBPE, PTBSE, and PTBDD) .................................................89
6.5.3 Port C Registers (PTCD, PTCPE, PTCSE, and PTCDD) .................................................91
6.5.4 Port D Registers (PTDD, PTDPE, PTDSE, and PTDDD) ...............................................93
6.5.5 Port E Registers (PTED, PTEPE, PTESE, and PTEDD) ..................................................95
6.5.6 Port G Registers (PTGD, PTGPE, PTGSE, and PTGDD) ...............................................97
Chapter 7
Keyboard Interrupt (S08KBIV1)
7.1 Introduction .....................................................................................................................................99
7.1.1 Port A and Keyboard Interrupt Pins ..................................................................................99
7.1.2 Features .............................................................................................................................99
7.1.3 KBI Block Diagram ........................................................................................................101
7.2 Register Definition ........................................................................................................................101
7.2.1 KBI Status and Control Register (KBISC) .....................................................................102