
CHAPTER 12 PORT FUNCTIONS
User’s Manual U12688EJ4V0UM00
371
12.3.2 Port 1
Port 1 is an 8-bit input/output port that can be set to input or output in 1-bit units.
Address
FFFFF002H
7
P17
P1
6
P16
5
P15
4
P14
3
P13
2
P12
1
P11
0
P10
After reset
Undefined
Bit Position
Bit Name
Function
7 to 0
P1n (n = 7 to 0)
Port 1
Input/output port
In addition to their function as port pins, the port 1 pins can also operate as real-time pulse unit (RPU)
inputs/outputs, external interrupt request inputs, and DMA acknowledge outputs in the control mode.
(1) Operation in control mode
Port
Control Mode
Remark
Block Type
P10
TO110
P11
TO111
Real-time pulse unit (RPU) output
A
P12
TCLR11
P13
TI11
Real-time pulse unit (RPU) input
B
Port 1
P14 to P17
INTP110/DMAAK0 to
INTP113/DMAAK3
External interrupt input/DMA
acknowledge output
K
(2) Input/output mode/control mode setting
Port 1 input/output mode setting is performed by means of the port 1 mode register (PM1), and control mode
setting is performed by means of the port 1 mode control register (PMC1) and port/control select register 1
(PCS1).
(a) Port 1 mode register (PM1)
This register can be read/written in 8- or 1-bit units.
Address
FFFFF022H
7
PM17
PM1
6
PM16
5
PM15
4
PM14
3
PM13
2
PM12
1
PM11
0
PM10
After reset
FFH
Bit Position
Bit Name
Function
7 to 0
PM1n (n = 7 to 0)
Port Mode
Sets P1n 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 ...