PFS122
8bit MTP MCU with 12-bit R-Type ADC
6.8. Interrupt Edge Select Register (integs), IO address = 0x0c
Bit
Reset
R/W
Description
7 - 5
-
-
Reserved.
Timer16 edge selection.
4
0
WO 0 : rising edge of the selected bit to trigger interrupt
1 : falling edge of the selected bit to trigger interrupt
PB0/PA4 edge selection.
00: both rising edge and falling edge of the selected bit to trigger interrupt
WO 01: rising edge of the selected bit to trigger interrupt
10: falling edge of the selected bit to trigger interrupt
11: reserved.
3 - 2
00
PA0/PB5 edge selection.
00 : both rising edge and falling edge of the selected bit to trigger interrupt
WO 01 : rising edge of the selected bit to trigger interrupt
10 : falling edge of the selected bit to trigger interrupt
11 : reserved.
1 - 0
00
6.9. Port A Digital Input Enable Register (padier), IO address = 0x0d
Bit
Reset
R/W
Description
Enable PA7 digital input and wake-up event. 1 / 0 : enable / disable
This bit should be set to low to prevent leakage current when external crystal oscillator is
used. If this bit is set to low, PA7 can NOT be used to wake-up the system.
Enable PA6 digital input and wake-up event. 1 / 0 : enable / disable
This bit should be set to low to prevent leakage current when external crystal oscillator is
used. If this bit is set to low, PA6 can NOT be used to wake-up the system.
Enable PA5 digital input and wake-up event. 1 / 0 : enable / disable
This bit can be set to low to disable PA5 digital input and wake-up function.
Enable PA4 digital input, wake-up event and interrupt request. 1 / 0 : enable / disable
This bit can be set to low to prevent leakage current when PA0 is assigned as AD input,
and to disable wake-up from PA4 toggling and interrupt request from this pin.
Enable PA3 digital input and wake-up event. 1 / 0 : enable / disable
This bit should be set to low when PA3 is assigned as AD input to prevent leakage
current. If this bit is set to low, PA3 can NOT be used to wake-up the system.
Reserved.
7
1
WO
6
5
4
1
1
1
WO
WO
WO
3
1
-
WO
-
2 - 1
Enable PA0 digital input, wake-up event and interrupt request.
1 / 0 : enable / disable
0
1
WO
This bit can be set to low to prevent leakage current when PA0 is assigned as AD input,
and to disable wake-up from PA0 toggling and interrupt request from this pin.
©Copyright 2020, PADAUK Technology Co. Ltd
Page 64 of 93
PDK-DS-PFS122-EN_V000-May 28, 2020