CHAPTER 2 PIN FUNCTIONS
Preliminary User’s Manual U15905EJ1V0UD
45
(3) P30 to P32 (Port 3) … 3-state I/O
Port 3 is a 3-bit I/O port that can be set to the input or output mode in 1-bit units.
Besides functioning as I/O port pins, P30 to P32 also operate as the I/O pins of the serial interface.
These pins can be set to the port or control mode in 1-bit units.
The output mode of P31 and P32 can also be set to normal output or N-ch open-drain output.
(a) Port mode
P30 to P32 can be set to the input or output mode in 1-bit units by using port mode register 3 (PM3).
(b) Control mode
(i) SI1 (serial input 1) … Input
This pin inputs the serial receive data of CSI1.
(ii) SO1 (serial output 1) … Output
This pin outputs the serial transmit data of CSI1.
(iii) SCK1 (serial clock 1) … 3-state I/O
This is the serial clock I/O pin of CSI1.
(iv) RXD0 (receive data 0) … Input
This pin inputs the serial receive data of UART0.
(v) TXD0 (transmit data 0) … Output
This pin outputs the serial transmit data of UART0.
(4) P40 to P46 (Port 4) … 3-state I/O
Port 4 is a 7-bit I/O port that can be set to the input or output mode in 1-bit units.
Besides functioning as I/O port pins, P40 to P46 also operate as the I/O pins of the timer/counters and serial
interface, and as the external interrupt request input pin. These pins can be set to the port or control mode in
1-bit units.
The output mode of P41 and P42 can also be set to normal output or N-ch open-drain output.
(a) Port mode
P40 to P46 can be set to the input or output mode in 1-bit units by using port mode register 4 (PM4).
(b) Control mode
(i) TI0, TI1 (timer input 0, 1) … Input
These pins input an external count clock to timers 0 and 1.
(ii) TO0, TO1 (timer output 0, 1) … Output
These pins output a pulse signal from timers 0 and 1.
(iii) TCLR0, TCLR1 (timer clear Input 0, 1) … 3-state I/O
These pins input an external clear signal to timers 0 and 1.
Содержание V850ES/SA2 UPD703201
Страница 2: ...Preliminary User s Manual U15905EJ1V0UD 2 MEMO ...
Страница 284: ... 4 6 7 6 7 8 9 9 6 Note 1 Note 2 0 0 9 9 6 1 1 0 1 9 0 0 0 6 7 0 0 0 0 0 0 0 1 1 1 0 0 0 0 3 1 6 7 6 7 ...
Страница 285: ... 6 7 ...
Страница 516: ...Preliminary User s Manual U15905EJ1V0UD 516 MEMO ...