145
4. Port mode register 3 (PMR3)
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
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 5: Watchdog timer source clock select (WDCKS)
This bit selects the watchdog timer source clock.
Bit 5
WDCKS
Description
0
ø/8192 selected
(initial value)
1
øw/32 selected