140
8.2.3
Pin Functions
Table 8-3 shows the port 1 pin functions.
Table 8-3
Port 1 Pin Functions
Pin
Pin Functions and Selection Method
P1
7
/
IRQ
3
/TMIF
The pin function depends on bit IRQ3 in PMR1, bits CKSL2 to CKSL0 in TCRF,
and bit PCR1
7
in PCR1.
IRQ3
0
1
PCR1
7
0
1
*
CKSL2 to CKSL0
*
Not 0
**
0
**
Pin function
P1
7
input pin
P1
7
output pin
IRQ
3
input pin
IRQ
3
/TMIF
input pin
Note: When this pin is used as the TMIF input pin, clear bit IEN3 to 0 in IENR1
to disable the IRQ
3
interrupt.
P1
6
/
IRQ
2
The pin function depends on bits IRQ2 in PMR1 and bit PCR1
6
in PCR1.
IRQ2
0
1
PCR1
6
0
1
*
Pin function
P1
6
input pin
P1
6
output pin
IRQ
2
input pin
P1
5
/
IRQ
1
TMIC
The pin function depends on bit IRQ1 in PMR1, bits TMC2 to TMC0 in TMC, and
bit PCR1
5
in PCR1.
IRQ1
0
1
PCR1
5
0
1
*
TMC2 to TMC0
*
Not 111
111
Pin function
P1
5
input pin
P1
5
output pin
IRQ
1
input pin
IRQ
1
/TMIC
input pin
Note: When this pin is used as the TMIC input pin, clear bit IEN1 to 0 in IENR1
to disable the IRQ
1
interrupt.
P1
4
/
IRQ
4
ADTRG
The pin function depends on bit IRQ4 in PMR1, bit TRGE in AMR, and bit PCR1
4
in PCR1.
IRQ4
0
1
PCR1
4
0
1
*
TRGE
*
0
1
Pin function
P1
4
input pin
P1
4
output pin
IRQ
4
input pin
IRQ
4
/
ADTRG
input pin
Note: When this pin is used as the
ADTRG
input pin, clear bit IEN4 to 0 in
IENR1 to disable the IRQ
4
interrupt.
Содержание H8/3935
Страница 1: ......
Страница 2: ......
Страница 4: ......
Страница 24: ...12 ...
Страница 53: ...41 Notation op Operation field 15 0 8 7 op op Figure 2 10 Block Data Transfer Instruction Code ...
Страница 96: ...84 ...
Страница 142: ...130 ...
Страница 144: ...132 ...
Страница 252: ...240 ...
Страница 326: ...314 ...
Страница 340: ...328 ...
Страница 520: ...508 ...