4. Port mode register 3 (PMR3)
Bit
7
AEVL
0
6
5
4
3
IRQ0
0
2
RESO
1
1
UD
0
0
PWM
0
AEVH WDCKS
NCS
0
Initial value
Read/Write
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
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: P37/AEVL pin function switch (AEVL)
This bit selects whether pin P37/AEVL is used as P37 or as AEVL.
Bit 7
AEVL
Description
0
1
Functions as P37 I/O pin
Functions as AEVL input pin
(initial value)
Bit 6: P36/AEVH pin function switch (AEVH)
This bit selects whether pin P36/AEVH is used as P36 or as AEVH.
Bit 6
AEVH
Description
0
1
Functions as P36 I/O pin
Functions as AEVH input pin
(initial value)
Bit 5: Watchdog timer source clock select (WDCKS)
This bit selects the watchdog timer source clock.
Bit 5
WDCKS
Description
0
1
ø/8192 selected
øw/32 selected
(initial value)
147