Rev.2.00 Oct 16, 2006 page 288 of 354
REJ09B0340-0200
M30245 Group
2. Programmable I/O Ports
Figure 2.17.2. Programmable I/O ports-related registers (1)
Port 7 drive capacity register
Symbol Address
When reset
P7DR
03FA
16
00
16
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
P7DR0
P7
0
LED drive capacity
A
AA
A
A
AA
AA
A
AA
A
A
AA
AA
A
AA
A
AA
A
AA
A
AA
The N-channel high drive capacity
is activated for the corresponding
bit.
0 : Normal drive
1 : N-channel high drive
P7DR1
P7
1
LED drive capacity
P7DR2
P7
2
LED drive capacity
P7DR3
P7
3
LED drive capacity
P7DR4
P7
4
LED drive capacity
P7DR5
P7
5
LED drive capacity
P7DR6
P7
6
LED drive capacity
P7DR7
P7
7
LED drive capacity
When reset
00
16
Bit Symbol
Bit Name
Function
R W
PCR0
Port P1control register
AND Flash OE control bit
AND Flash WE control bit
AND Flash port enable bit
Symbol
PCR
Address
03FF
16
Port control register
b7
b5
b6
b4
b3
b2
b1
b0
O O
O O
O O
_ _
0 : When input port, read port
input level. When output port,
read the contents of Port P1
register.
1 : Read the contents of Port P1
register through input/output port.
0 : Data read mode enabled
1 : Output disabled
0 : Input disabled
1 : Command/Address mode
enabled
0 : P0 & P1(0-2) GPI/O function
1 : P0 & P1(0-2) AND Flash control
function
OECTRL
WECTRL
AFPE
Nothing is assigned.
Write “0” when writing to this bit. The value is “0” when read.
O O
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...