SN8F2250B 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
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
TC1IEN
R/W
Bit 0
TC0IEN
R/W
0
0
Bit 0
TC0IEN: TC0 timer interrupt control bit.
0 = Disable TC0 interrupt function.
1 = Enable TC0 interrupt function.
Bit 1
TC1IEN: TC1 timer interrupt control bit.
0 = Disable TC1 interrupt function.
1 = Enable TC1 interrupt function.
0C9H
INTEN
Read/Write
After reset
Bit 7
SOFIEN
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 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
P00IEN: External P0.0 interrupt (INT0) control bit.
0 = Disable INT0 interrupt function.
1 = Enable INT0 interrupt function.
P01IEN: External P0.1 interrupt (INT1) control bit.
0 = Disable INT1 interrupt function.
1 = Enable INT1 interrupt function.
WAKEIEN: I/O PORT0 & PORT 1 WAKEUP interrupt control bit.
0 = Disable WAKEUP interrupt function.
1 = Enable WAKEUP interrupt function.
SIOIEN: SIO interrupt control bit.
0 = Disable SIO interrupt function.
1 = Enable SIO interrupt function.
T0IEN: T0 timer interrupt control bit.
0 = Disable T0 interrupt function.
1 = Enable T0 interrupt function.
T1IEN: T1 timer interrupt control bit.
0 = Disable T1 interrupt function.
1 = Enable T1 interrupt function.
USBIEN: USB interrupt control bit.
0 = Disable USB interrupt function.
1 = Enable USB interrupt function.
SOFIEN: USB SOF interrupt control bit. Control this SOF interrupt with the USB_INT_EN register.
0 = Disable USB SOF interrupt function.
1 = Enable USB SOF interrupt function.
SONiX TECHNOLOGY CO., LTD
Page 57
Version 1.1