CHAPTER 12 PORT FUNCTIONS
User’s Manual U12688EJ4V0UM00
368
12.3 Port Pin Functions
12.3.1 Port 0
Port 0 is an 8-bit input/output port that can be set to input or output in 1-bit units.
Address
FFFFF000H
7
P07
P0
6
P06
5
P05
4
P04
3
P03
2
P02
1
P01
0
P00
After reset
Undefined
Bit Position
Bit Name
Function
7 to 0
P0n (n = 7 to 0)
Port 0
Input/output port
In addition to their function as port pins, the port 0 pins can also operate as real-time pulse unit (RPU)
inputs/outputs, external interrupt request inputs, and DMA request inputs in the control mode.
(1) Operation in control mode
Port
Control Mode
Remark
Block Type
P00
TO100
P01
TO101
Real-time pulse unit (RPU) output
A
P02
TCLR10
P03
TI10
Real-time pulse unit (RPU) input
B
Port 0
P04 to P07
INTP100/DMARQ0 to
INTP103/DMARQ3
External interrupt request
input/DMA request input
M
(2) Input/output mode/control mode setting
Port 0 input/output mode setting is performed by means of the port 0 mode register (PM0), and control mode
setting is performed by means of the port 0 mode control register (PMC0) and port/control select register 0
(PCS0).
(a) Port 0 mode register (PM0)
This register can be read/written in 8- or 1-bit units.
Address
FFFFF020H
7
PM07
PM0
6
PM06
5
PM05
4
PM04
3
PM03
2
PM02
1
PM01
0
PM00
After reset
FFH
Bit Position
Bit Name
Function
7 to 0
PM0n (n = 7 to 0)
Port Mode
Specifies the input/output mode of pin P0n.
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 ...