CHAPTER 2 PIN FUNCTIONS
50
User’s Manual U14492EJ3V0UD
(3) P20 to P27 (Port 2) … I/O
Port 2 is an 8-bit I/O port in which input or output can be set in 1-bit units.
Besides functioning as an I/O port, in control mode, P20 to P27 operate as RPU I/O and external interrupt
request input.
An operation mode of port or control mode can be selected for each bit and specified by the port 2 mode
control register (PMC2).
(a) Port mode
P20 to P27 can be set to input or output in 1-bit units using the port 2 mode register (PM2).
(b) Control mode
P20 to P27 can be set to port or control mode in 1-bit units using PMC2.
(i)
TO21 to TO24 (Timer output) … Output
These pins output a timer 2 pulse signal.
(ii) TO3 (Timer output) … Output
This pin outputs a timer 3 pulse signal.
(iii) TI2, TI3 (Timer input) … Input
These are timer 2 and timer 3 external count clock input pins.
(iv) TCLR2, TCLR3 (Timer clear) … Input
These are timer 2 and timer 3 clear signal input pins.
(v) INTP20 to INTP25 (Interrupt request from peripherals) … Input
These are external interrupt request input pins and timer 2 external capture trigger input pins.
(vi) INTP30, INTP31 (Interrupt request from peripherals) … Input
These are external interrupt request input pins and timer 3 external capture trigger input pins.
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...