![NEC V854 UPD703006 User Manual Download Page 351](http://html.mh-extra.com/html/nec/v854-upd703006/v854-upd703006_user-manual_249287351.webp)
User’s Manual U11969EJ3V0UM00
351
CHAPTER 12 PORT FUNCTION
(2) Setting input/output mode
The input/output mode of port 1 is set by port mode register 1 (PM1). The control mode is set by port mode
control register 1 (PMC1).
Port 1 mode register (PM1)
This register can be read/written in 8- or 1-bit units.
Bit Position
Bit Name
Function
7 to 0
PM1n
Port Mode
(n = 7 to 0)
Sets P1n pin in input/output mode.
0: Output mode (output buffer ON)
1: Input mode (output buffer OFF)
Port 1 mode control register (PMC1)
This register can be read/written in 8- or 1-bit units. However, bit 7 is fixed to “0” and ignored when “1” is written.
Bit Position
Bit Name
Function
6
PMC16
Port Mode Control
Specifies operation mode of P16 pin.
0: I/O port mode
1: External interrupt request input (INTP20)/TI20 input mode
5
PMC15
Port Mode Control
Specifies operation mode of P15 pin.
0: I/O port mode
1: TO20 output mode
4
PMC14
Port Mode Control
Specifies operation mode of P14 pin.
0: I/O port mode
1: External interrupt request input (INTP14)/TI1 input mode
3 to 0
PMC13 to
Port Mode Control
PMC10
Specifies operation mode of P13 to P10 pins.
0: I/O port mode
1: External interrupt request input (INTP13 to INTP10)
7
PM17
PM1
6
PM16
5
PM15
4
PM14
3
PM13
2
PM12
1
PM11
0
PM10
Address
FFFFF022H
After reset
FFH
7
0
PMC1
6
PMC16
5
PMC15
4
PMC14
3
PMC13
2
PMC12
1
PMC11
0
PMC10
Address
FFFFF042H
After reset
00H
Summary of Contents for V854 UPD703006
Page 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Page 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Page 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Page 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Page 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Page 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Page 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Page 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Page 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Page 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Page 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Page 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...