Rev. 1.00, 09/03, page 185 of 704
7.9.4 Pin
Functions
When the corresponding bit in PTCNT2 is set to 1, port 8 pins can be used as TPU I/O pins
(ExTIOCB0 and ExTIOCA0). The relationship between register setting values and pin functions is
as follows.
•
P87/ExTIOCB0/
ADTRG
When the TIOCB0S bit in PTCNT2 is set to 1, this pin can be used as an ExTIOCB0 pin.
The pin function is switched as shown below according to the combination of the TPU channel
0 settings by the MD3 to MD0 bits in TMDR_0 and the IOB3 to IOB0 bits in TIORH_0, the
TIOCB0S bit, and the P87DDR bit.
When the TRGS1 and TRGS0 bits in ADCR are all set to 1, this pin functions as an
ADTRG
input pin.
TIOCB0S 0
1
TIOCB0 output
Table below (2)
Table below (1)
P87DDR 0 1 0 1
P87 input pin P87 output pin
P87 input pin P87 output pin
ExTIOCB0 input pin
*
ExTIOCB0
output pin
Pin function
ADTRG
input pin
TPU channel 0
setting
(2) (1) (2)
(2)
(1)
(2)
MD3 to MD0
B'0000
B'0010
B'0011
IOB3 to IOB0
B'0000
B'0100
B'1xxx
B'0001 to B'0011
B'0101 to B'0111
B'xx00
Other than B'xx00
CCLR2 to
CCLR0
Other
than
B'010
B'010
Output function
Output
compare
output
PWM
mode
2 output
[Legend]
x: Don’t care
Note:
*
When TIOCB0S = 1, MD3 to MD0 = B'0000, and IOB3 to IOB0 = B'10xx, this pin
functions as the TIOCB0 input pin.
Summary of Contents for H8S/2437
Page 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Page 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Page 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Page 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Page 168: ...Rev 1 00 09 03 page 130 of 704 ...
Page 336: ...Rev 1 00 09 03 page 298 of 704 ...
Page 402: ...Rev 1 00 09 03 page 364 of 704 ...
Page 454: ...Rev 1 00 09 03 page 416 of 704 ...
Page 512: ...Rev 1 00 09 03 page 474 of 704 ...
Page 562: ...Rev 1 00 09 03 page 524 of 704 ...
Page 648: ...Rev 1 00 09 03 page 610 of 704 ...
Page 672: ...Rev 1 00 09 03 page 634 of 704 ...
Page 732: ...Rev 1 00 09 03 page 694 of 704 ...
Page 742: ...Rev 1 00 09 03 page 704 of 704 ...
Page 745: ......
Page 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...