User’s Manual U11969EJ3V0UM00
367
CHAPTER 12 PORT FUNCTION
(2) Setting input/output mode and control mode
The input/output mode of port 10 is set by port mode register 10 (PM10). The control mode is set by port mode
control register 10 (PMC10).
Port 10 mode register (PM10)
This register can be read/written in 8- or 1-bit units. However, the higher 4 bits are fixed to “0” by hardware
and ignored when 0 is written in.
Bit Position
Bit Name
Function
3 to 0
PM10n
Port Mode
(n = 3 to 0)
Sets P10n pin in input/output mode.
0: Output mode (output buffer ON)
1: Input mode (output buffer OFF)
Port 10 mode control register (PMC10)
This port can be read/written in 8- or 1-bit units. However, the higher 4 bits are fixed to “0” and ignored if “1”
is written in.
Bit Position
Bit Name
Function
3 to 0
PMC10n
Port Mode Control
(n = 3 to 0)
Sets operation mode of P10n pin.
0: I/O port mode
1: PWMn output mode
Address
FFFFF034H
7
1
PM10
6
1
5
1
4
1
3
PM103
2
PM102
1
PM101
0
PM100
After reset
FFH
Address
FFFFF054H
7
0
PMC10
6
0
5
0
4
0
3
PMC103
2
PMC102
1
PMC101
0
PMC100
After reset
00H
Содержание V854 UPD703006
Страница 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 396: ...396 User s Manual U11969EJ3V0UM00 MEMO ...