Rev. 1.20 134 January 23, 2015 Rev. 1.20 135 January 23, 2015
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
INTEG Register
Bit 7 6 5 4 3 2 1 0
Name — — — — — — INTS1 INTS0
R/W — — — — — — R/W R/W
POR — — — — — — 0 0
Bit7~2 Unimplemented,readas"0"
Bit1~0 INTS1, INTS0:DenesINTinterruptactiveedge
00:Disabledinterrupt
01:RisingEdgeinterrupt
10
:FallingEdgeinterrupt
11
:DualEdgeinterrupt
INTC0 Register
Bit 7 6 5 4 3 2 1 0
Name — TB0F TKMF INTF TB0E TKME INTE EMI
R/W — R/W R/W R/W R/W R/W R/W R/W
POR — 0 0 0 0 0 0 0
Bit7 Unimplemented,readas"0"
Bit6 TB0F:TimeBase0interruptrequestag
0:Norequest
1:Interruptrequest
Bit5 TKMF:Touchkeymoduleinterruptrequestag
0:Norequest
1:Interruptrequest
Bit4 INTF:INTpininterruptrequestag
0:Norequest
1:Interruptrequest
Bit3 TB0E:TimeBase0interruptcontrol
0:Disable
1:Enable
Bit2 TKME:Touchkeymoduleinterruptcontrol
0:Disable
1:Enable
Bit1 INTE:INTpininterruptcontrol
0:Disable
1:Enable
B
it0 EMI:GlobalInterruptcontrol
0:Disable
1:Enable
INTC1 Register
Bit 7 6 5 4 3 2 1 0
Name PTMA0F PTMP0F CTMA0F CTMP0F PTMA0E PTMP0E CTMA0E CTMP0E
R/W R/W R/W R/W R/W R/W R/W R/W R/W
POR 0 0 0 0 0 0 0 0
Bit7 PTMA0F:PTM0CCRAcomparatorinterruptrequestag
0:Norequest
1:Interruptrequest
Bit6 PTMP0F:PTM0CCRPcomparatorinterruptrequestag
0:Norequest
1:Interruptrequest