CHAPTER 14 PORT FUNCTION
344
Pin Name
Alternate Function
I/O
PULL
Note
Remark
Port 6
P60
A16
I/O
No
P61
A17
P62
A18
P63
A19
P64
A20
P65
A21
Note
Software pull-up function
(1) Function of P6 pins
Port 6 is a 6-bit I/O port for which I/O settings can be controlled bitwise. I/O settings are controlled via the port 6
mode register (PM6).
During output mode, the values set to each bit are output to the port register (P6).
When using this port in input mode, the pin statuses can be read by reading the P6 register. Also, the P6
register (output latch) values can be read by reading the P6 register while in output mode.
A software pull-up function is not implemented.
When using the alternate function as A16 to A21, set the pin functions via the memory expansion register (MM).
This does not affect the PM6 register.
When a reset is input, the settings are initialized to input mode.
(2) Control registers
(a) Port 6 mode register (PM6)
Read and write in 8-bit units and bitwise are enabled.
Figure 14-20. Format of Port 6 Mode Register (PM6)
After reset:
3FH
R/W
Address: FFFFF02CH
7
6
5
4
3
2
1
0
PM6
0
0
PM65
PM64
PM63
PM62
PM61
PM60
PM6n
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 ...