CHAPTER 12 PORT FUNCTIONS
User’s Manual U12688EJ4V0UM00
394
12.3.11 Port 10
Port 10 is an 8-bit input/output port that can be set to input or output in 1-bit units.
Address
FFFFF014H
7
P107
P10
6
P106
5
P105
4
P104
3
P103
2
P102
1
P101
0
P100
After reset
Undefined
Bit Position
Bit Name
Function
7 to 0
P10n (n = 7 to 0)
Port 10
Input/output port
In addition to their function as port pins, the port 10 pins can also operate as real-time pulse unit (RPU)
inputs/outputs, external interrupt inputs, and DMA (terminal count) outputs in the control mode.
(1) Operation in control mode
Port
Control Mode
Remark
Block Type
P100
TO120
P101
TO121
Real-time pulse unit (RPU) output
A
P102
TCLR12
P103
TI12
Real-time pulse unit (RPU) input
B
Port 10
P104 to
P107
INTP120/TC0 to
INTP123/TC3
External interrupt input/DMA
(terminal count) output
K
(2) Input/output mode/control mode setting
Port 10 input/output mode setting is performed by means of the port 10 mode register (PM10), and control
mode setting is performed by means of the port 10 mode control register (PMC10) and port/control select
register 10 (PCS10).
(a) Port 10 mode register (PM10)
This register can be read/written in 8- or 1-bit units.
Address
FFFFF034H
7
PM107
PM10
6
PM106
5
PM105
4
PM104
3
PM103
2
PM102
1
PM101
0
PM100
After reset
FFH
Bit Position
Bit Name
Function
7 to 0
PM10n
(n = 7 to 0)
Port Mode
Sets P10n pin in input/output mode.
0: Output mode (output buffer ON)
1: Input mode (output buffer OFF)
Summary of Contents for V850E/MS1 UPD703100
Page 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Page 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Page 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Page 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Page 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Page 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Page 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Page 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Page 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...