|
MC68HC908QB8 Datasheet, PDF (22/236 Pages) Freescale Semiconductor, Inc – To provide the most up-to-date information, the revision of our documents | |||
|
◁ |
General Description
Pin
Name
PTB4
PTB5
PTB6
PTB7
Table 1-2. Pin Functions (Continued)
PTB4 â General-purpose I/O port
RxD â ESCI receive data I/O
AD8 â A/D channel 8 input
PTB5 â General-purpose I/O port
TxD â ESCI transmit data I/O
AD9 â A/D channel 9 input
PTB6 â General-purpose I/O port
TCH2 â Timer channel 2 I/O
PTB7 â General-purpose I/O port
TCH3 â Timer channel 3 I/O
Description
Input/Output
Input/Output
Input/Output
Input
Input/Output
Output
Input
Input/Output
Input/Output
Input/Output
Input/Output
1.6 Pin Function Priority
Table 1-3 is meant to resolve the priority if multiple functions are enabled on a single pin.
NOTE
Upon reset all pins come up as input ports regardless of the priority table.
Table 1-3. Function Priority in Shared Pins
Pin Name
PTA0(1)
PTA1(1)
PTA2
PTA3
PTA4(1)
PTA5(1)
PTB0(1)
PTB1(1)
PTB2(1)
PTB3(1)
PTB4(1)
PTB5(1)
PTB6
PTB7
Highest-to-Lowest Priority Sequence
AD0 â TCH0 â KBI0 â PTA0
AD1 â TCH1 â KBI1 â PTA1
IRQ â TCLK â KBI2 â PTA2
RST â KBI3 â PTA3
OSC2 â AD2 â KBI4 â PTA4
OSC1 â AD3 â KBI5 â PTA5
AD4 â SPSCK â PTB0
AD5 â MOSI â PTB1
AD6 â MISO â PTB2
AD7 â SS â PTB3
AD8 â RxD â PTB4
AD9 â TxD â PTB5
TCH2 â PTB6
TCH3 â PTB7
1. When a pin is to be used as an ADC pin, the I/O port function should be left as
an input and all other shared modules should be disabled. The ADC does not
override additional modules using the pin.
MC68HC908QB8 Data Sheet, Rev. 1
22
Freescale Semiconductor
|
▷ |