English
Language : 

MC68HC908QC16_07 Datasheet, PDF (24/274 Pages) Freescale Semiconductor, Inc – Microcontrollers
General Description
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
PTCx
PTDx
Highest-to-Lowest Priority Sequence
AD0 → T1CH0 → KBI0 → PTA0
AD1 → T1CH1 → KBI1 → PTA1
IRQ → T1CLK → KBI2 → PTA2
RST → KBI3 → PTA3
OSC2 → AD2 → KBI4 → PTA4
OSC1 → AD3 → KBI5 → PTA5
AD4 → SPSCK → PTB0
AD5 → MOSI → T2CH1(2) → PTB1
AD6 → MISO → T2CH0(2) → PTB2
AD7 → SS → T2CLK → PTB3
AD8 → RxD → T2CH0(2) → PTB4
AD9 → TxD → T2CH1(2) → PTB5
T1CH2 → PTB6
T1CH3 → PTB7
PTCx
PTDx
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.
2. T2CH0 and T2CH1 can be repositioned using TIM2POS in CONFIG2
(see Figure 2-2. Control, Status, and Data Registers).
1.7 Unused Pin Termination
Input pins and I/O port pins that are not used in the application must be terminated. This prevents excess
current caused by floating inputs, and enhances immunity during noise or transient events. Termination
methods include:
1. Configuring unused pins as outputs and driving high or low;
2. Configuring unused pins as inputs and enabling internal pull-ups;
3. Configuring unused pins as inputs and using external pull-up or pull-down resistors.
Never connect unused pins directly to VDD or VSS.
Since some general-purpose I/O pins are not available on all packages, these pins must be terminated
as well. Either method 1 or 2 above are appropriate.
MC68HC908QC16 • MC68HC908QC8 • MC68HC908QC4 Data Sheet, Rev. 3
24
Freescale Semiconductor