3.
Port pull-up control register 3 (PUCR3)
PUCR3 controls whether the MOS pull-up of each of the port 3 pins P3
7
to P3
0
is on or off. When
a PCR3 bit is cleared to 0, setting the corresponding PUCR3 bit to 1 turns on the MOS pull-up for
the corresponding pin, while clearing the bit to 0 turns off the MOS pull-up.
Upon reset, PUCR3 is initialized to H'00.
4.
Port mode register 3 (PMR3)
PMR3 is an 8-bit read/write register, controlling the selection of pin functions for port 3 pins.
Upon reset, PMR3 is initialized to H'04.
Bit 7: P3
7
/AEVL pin function switch (AEVL)
This bit selects whether pin P3
7
/AEVL is used as P3
7
or as AEVL.
Bit 7
AEVL
Description
0
Functions as P3
7
I/O pin
(initial value)
1
Functions as AEVL input pin
Bit 6: P3
6
/AEVH pin function switch (AEVH)
This bit selects whether pin P3
6
/AEVH is used as P3
6
or as AEVH.
Bit 6
AEVH
Description
0
Functions as P3
6
I/O pin
(initial value)
1
Functions as AEVH input pin
Bit
Initial value
Read/Write
7
AEVL
0
R/W
6
AEVH
0
R/W
5
WDCKS
0
R/W
4
NCS
0
R/W
3
IRQ0
0
R/W
0
PWM
0
R/W
2
RESO
1
R/W
1
UD
0
R/W
Bit
Initial value
Read/Write
7
PUCR3
0
R/W
6
PUCR3
0
R/W
5
PUCR3
0
R/W
4
PUCR3
0
R/W
3
PUCR3
0
R/W
0
PUCR3
0
R/W
2
PUCR3
0
R/W
1
PUCR3
0
R/W
2
1
0
5
4
3
7
6
143