CHAPTER 14 PORT FUNCTION
354
(1) Function of P12 pins
Port 12 is a 1-bit I/O port for which the I/O setting can be controlled bitwise. The I/O setting is controlled via the
port 12 mode register (PM12).
During output mode, the values set to each bit are output to the port register (P12).
When using this port in input mode, the pin status can be read by reading the P12 register. Also, the P12
register (output latch) values can be read by reading the P12 register while in output mode.
Use the port mode control register (PMC12) to specify use of P12 as the WAIT pin.
When a reset is input, the settings are initialized to input mode.
Since BV
DD
is used as the power supply, if BV
DD
and V
DD
have different voltage values, different I/O levels will
occur at ports 0, 1, 3, 7, 8, 10, and 11.
(2) Control registers
(a) Port 12 mode register (PM12)
Read and write in 8-bit units and bitwise are enabled.
Figure 14-32. Format of Port 12 Mode Register (PM12)
After reset:
01H
R/W
Address: FFFFF038H
7
6
5
4
3
2
1
0
PM12
0
0
0
0
0
0
0
PM120
PM120
Control of I/O Mode
0
Output mode
1
Input mode
Содержание 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 ...