English
Language : 

MC68HC908GR8A_07 Datasheet, PDF (117/260 Pages) Freescale Semiconductor, Inc – Microcontrollers
Port
A
B
C
D
E
Table 12-1. Port Control Register Bits Summary
Bit
DDR
Module Control
Pin
0
DDRA0
KBIE0
PTA0/KBD0
1
DDRA1
2
DDRA2
KBD
KBIE1
KBIE2
PTA1/KBD1
PTA2/KBD2
3
DDRA3
KBIE3
PTA3/KBD3
0
DDRB0
ADCH4:0
PTB0/AD0
1
DDRB1
ADCH4:0
PTB1/AD1
2
DDRB2
3
DDRB3
ADC
ADCH4:0
ADCH4:0
PTB2/AD2
PTB3/AD3
4
DDRB4
ADCH4:0
PTB4/AD4
5
DDRB5
ADCH4:0
PTB5/AD5
0
DDRC0
PTC0
1
DDRC1
PTC1
0
DDRD0
PTD0/SS
1
DDRD1
SPI
2
DDRD2
SPE
PTD1/MISO
PTD2/MOSI
3
DDRD3
PTD3/SPSCK
4
DDRD4
5
DDRD5
TIM1
ELS0B:ELS0A
ELS1B:ELS1A
PTD4/T1CH0
PTD5/T1CH1
6
DDRD6
TIM2
ELS0B:ELS0A
PTD6/T2CH0
0
DDRE0
SCI
1
DDRE1
ENSCI
PTE0/TxD
PTE1/RxD
Port A
12.2 Port A
Port A is an 4-bit special-function port that shares all four of its pins with the keyboard interrupt (KBI)
module. Port A also has software configurable pullup devices if configured as an input port.
12.2.1 Port A Data Register
The port A data register (PTA) contains a data latch for each of the four port A pins.
Address: $0000
Bit 7
6
Read: 0
0
Write:
Reset:
Alternative
Function:
5
4
3
2
1
Bit 0
0
0
PTA3
PTA2
PTA1
PTA0
Unaffected by reset
KBD3
KBD2
KBD1
KBD0
= Unimplemented
Figure 12-2. Port A Data Register (PTA)
MC68HC908GR8A • MC68HC908GR4A Data Sheet, Rev. 5
Freescale Semiconductor
117