CHAPTER 2 PIN FUNCTIONS
38
2.3
Description of Pin Functions
(1) P00 to P07 (Port 0) ··· 3-state I/O
Port 0 is an 8-bit I/O port that can be set bitwise for input or output.
P00 to P07 can function as I/O port pins and can also function as NMI inputs, external interrupt request inputs,
external triggers for the A/D converter, or external triggers for the real-time output port. The port mode or control
mode can be selected bitwise and each pin’s valid edge is specified in the EGP0 and EGN0 registers.
(a) Port mode
P00 to P07 can be set bitwise as input or output according to the contents of port 0 mode register (PM0).
(b) Control modes
P00 to P07 can be set bitwise to port mode or a control mode according to the contents of the external
interrupt rising edge enable register (EGP0) or the external interrupt falling edge enable register (EGN0).
(i)
NMI (Non-maskable Interrupt Request) ··· input
This pin accepts input of non-maskable interrupt request signals.
(ii)
INTP0 to INTP6 (Interrupt Request from Peripherals) ··· input
These are external interrupt request input pins.
(iii) ADTRG (AD Trigger Input) ··· input
This is the A/D converter’s external trigger input pin. This pin is controlled with A/D converter mode
register (ADM).
(iv) RTPTRG (Real-Time Port Trigger Input) ··· input
This is the real-time output port’s external trigger input pin. This pin is controlled with real-time output
port control register (RTPC).
Содержание V850/SA1 mPD703015
Страница 2: ...2 MEMO ...
Страница 100: ...100 MEMO ...
Страница 144: ...144 MEMO ...
Страница 200: ...200 MEMO ...
Страница 328: ...328 MEMO ...
Страница 356: ...356 MEMO ...
Страница 358: ...358 MEMO ...
Страница 368: ...368 MEMO ...
Страница 374: ...374 MEMO ...
Страница 382: ...382 MEMO ...