226
Pin
Selection Method and Pin Functions
P52/SCK2/
IRQ2
The pin function is switched as shown below according to the combination of bit
C/
A
in SMR of SCI2, bits CKE0 and CKE1 in SCR, bit ITS2 in ITSR, and bit
P52DDR.
CKE1
0
1
C/
A
0
1
—
CKE0
0
1
—
—
P52DDR
0
1
—
—
—
Pin function
P52
input pin
P52
output pin
SCK2
output pin
SCK2
output pin
SCK2
input pin
IRQ2
interrupt input pin
*
Note:
*
IRQ2
input when ITS2 = 0.
P51/RxD2/
IRQ1
The pin function is switched as shown below according to the combination of bit
RE in SCR of SCI2, bit ITS1 in ITSR, and bit P51DDR.
RE
0
1
P51DDR
0
1
—
Pin function
P51 input pin
P51 output pin
RxD2 input pin
IRQ1
interrupt input pin
*
Note:
*
IRQ1
input when ITS1 = 0.
P50/TxD2/
IRQ0
The pin function is switched as shown below according to the combination of bit
TE in SCR of SCI2, bit ITS0 in ITSR, and bit P50DDR.
TE
0
1
P50DDR
0
1
—
Pin function
P50 input pin
P50 output pin
TxD2 input pin
IRQ0
interrupt input pin
*
Note:
*
IRQ0
input when ITS0 = 0.
Содержание H8S/2670
Страница 5: ......
Страница 9: ......
Страница 199: ...182 ...
Страница 361: ...344 ...
Страница 393: ...376 ...
Страница 647: ...630 ...