R01UH0092EJ0110 Rev.1.10
Page 180 of 807
Jul 31, 2012
M16C/64C Group
13. Programmable I/O Ports
13.3.2
Pull-Up Control Register 1 (PUR1)
Values after hardware reset, power-on reset, or voltage monitor 0 reset are as follows:
•
00000000b when input to the CNVSS pin is low
•
00000010b when input to the CNVSS pin is high
Values after voltage monitor 1 reset, voltage monitor 2 reset, software reset, watchdog timer reset, or
oscillation stop detection reset are as follows:
•
00000000b when bits PM01 to PM00 are 00b (single-chip mode).
•
00000010b when bits PM01 to PM00 are 01b (memory expansion mode) or 11b (microprocessor
mode).
PU10 (P4_0 to P4_3 pull-up) (b0)
PU11 (P4_4 to P4_7 pull-up) (b1)
PU12 (P5_0 to P5_3 pull-up) (b2)
PU13 (P5_4 to P5_7 pull-up) (b3)
When the PU1i bit (i = 0 to 3) is 1 (pulled high) and the direction bit is 0 (input mode), the corresponding
pin is pulled high.
In memory expansion and microprocessor modes, pins are not pulled high although the bit values can
be modified.
PU14 (P6_0 to P6_3 pull-up) (b4)
PU15 (P6_4 to P6_7 pull-up) (b5)
PU17 (P7_4 to P7_7 pull-up) (b7)
When the PU1i (i = 4, 5, 7) bit is 1 (pulled high) and the direction bit is 0 (input mode), the
corresponding pin is pulled high.
PU16 (P7_2 to P7_3 pull-up) (b6)
When the PU16 bit is 1 (pulled high) and the direction bit is 0 (input mode), the corresponding pin is
pulled high.
Pins P7_0 and P7_1 are not pulled high.
b7 b6 b5 b4
b1
b2
b3
Pull-Up Control Register 1
Symbol
PUR1
Address
0361h
Bit Symbol
RW
Reset Value
b0
Function
PU10
0 : Not pulled high
1 : Pulled high
RW
PU11
RW
PU12
RW
PU13
RW
PU14
RW
PU15
RW
PU16
RW
PU17
RW
Bit Name
P4_0 to P4_3 pull-up
P4_4 to P4_7 pull-up
P5_0 to P5_3 pull-up
P5_4 to P5_7 pull-up
P6_0 to P6_3 pull-up
P6_4 to P6_7 pull-up
P7_4 to P7_7 pull-up
0000 0000b
0000 0010b
P7_2 to P7_3 pull-up
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...