SN8F2280 Series
USB 2.0 Full-Speed 8-Bit Micro-Controller
6.2 INTEN INTERRUPT ENABLE REGISTER
INTEN is the interrupt request control register including one internal interrupts, one external interrupts enable control
bits. One of the register to be set “1” is to enable the interrupt request function. Once of the interrupt occur, the stack is
incremented and program jump to ORG 8 to execute interrupt service routines. The program exits the interrupt service
routine when the returning interrupt service routine instruction (RETI) is executed.
0C7H
INTEN1
Read/Write
After reset
Bit 7
P1IEN
R/W
0
Bit 6
P0IEN
R/W
0
Bit 5
MSPIEN
R/W
Bit 4
UTRXIEN
R/W
Bit 3
UTTXIEN
R/W
Bit 2
TC2IEN
R/W
Bit 1
TC1IEN
R/W
Bit 0
TC0IEN
R/W
0
0
0
0
0
0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P1IEN: P1 I/O level change interrupt control bit.
0 = Disable P1 I/O level change interrupt function.
1 = Enable P1 I/O level change interrupt function.
P0IEN: P0 I/O level change interrupt control bit.
0 = Disable P0 I/O level change interrupt function.
1 = Enable P0 I/O level change interrupt function.
MSPIEN: MSP function interrupt control bit.
0 = Disable MSP interrupt function.
1 = Enable MSP interrupt function.
UTRXIEN: UART RX function interrupt control bit.
0 = Disable UART RX interrupt function.
1 = Enable UART RX interrupt function.
UTTXIEN: UART TX function interrupt control bit.
0 = Disable UART TX interrupt function.
1 = Enable UART TX interrupt function.
TC2IEN: TC2 timer function interrupt control bit.
0 = Disable TC2 interrupt function.
1 = Enable TC2 interrupt function.
TC1IEN: TC1 timer interrupt control bit.
0 = Disable TC1 interrupt function.
1 = Enable TC1 interrupt function.
TC0IEN: TC0 timer interrupt control bit.
0 = Disable TC0 interrupt function.
1 = Enable TC0 interrupt function.
0C9H
INTEN
Read/Write
After reset
Bit 7
ADCIEN
R/W
Bit 6
USBIEN
R/W
Bit 5
T1IEN
R/W
0
Bit 4
T0IEN
R/W
0
Bit 3
SIOIEN
R/W
Bit 2
WAKEIEN
R/W
Bit 1
P01IEN
R/W
Bit 0
P00IEN
R/W
0
0
0
0
0
0
Bit 7
ADCIEN: ADC interrupt control bit.
0 = Disable ADC interrupt function.
1 = Enable ADC interrupt function.
Bit 6
USBIEN: USB interrupt control bit.
0 = Disable USB interrupt function.
1 = Enable USB interrupt function.
SONiX TECHNOLOGY CO., LTD
Page 63
Version 1.1