548
Chapter 16
Port Functions
Preliminary User’s Manual U14913EE1V0UM00
16.3.6 Port
6
Port 6 is a 6-bit input/output port in which input or output can be specified in 1-bit units.
Figure 16-24: Port 6 (P6)
Besides functioning as a port, in control mode, it also can operate as segment signal output of LCD
controller/driver, external CAN clock supply, serial interface (UART2) input/output and external interrupt
request input.
(1)
Operation in control mode
(2)
Setting in input/output mode and control mode
Port 6 is set in input/output mode using the port 6 mode register (PM6). In control mode, it is set
using the port 6 mode control register (PMC6).
(a) Port 6 mode register (PM6)
This register can be read or written in 8- or 1-bit units.
Figure 16-25: Port 6 Mode Register (PM6)
7
6
5
4
3
2
1
0
Address
At Reset
P6
0
0
P65
P64
P63
P62
P61
P60
FFFFF40AH
00H
Bit position
Bit name
Function
5 to 0
P6n
(n = 5 to 0)
Input/output port
Port
Alternate Pin Name
Remarks
Block Type
Port 6
P60
CCLK/SEG34
External CAN clock supply or segment signal
output of LCD-controller
B
P61
INT0/SEG35
External interrupt request pins or segment
signal output of LCD-controller
P62
INT1/SEG36
P63
INT2/SEG37
P64
RXD2/SEG38
Serial interface (UART2) or segment signal
output of LCD-controller
P65
TXD2/SEG39
7
6
5
4
3
2
1
0
Address
At Reset
PM6
1
1
PM65
PM64
PM63
PM62
PM61
PM60
FFFFF42AH
FFH
Bit Position
Bit Name
Function
5 to 0
PM6n
(n = 5 to 0)
Specifies input/output mode of P6n pin.
0: Output mode (Output buffer on)
1: Input mode (Output buffer off)
Summary of Contents for V850E/CA1 ATOMIC
Page 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...