Download ST2205U Integrated Microcontroller

Transcript
ST2205U
18.2.3 USB Interrupt Request Register
Address
$72
Name
USBIRQ
R/W
R
W
Bit 7
-
TABLE 18-5 USB Interrupt Request Register
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Default
BRIRQ RESIRQ SUSIRQ BKIIRQ BKOIRQ EP0IRQ - -00 0000
BRCLR RESCLR SUSCLR BKICLR BKOCLR EP0CLR - -00 0000
BRIRQ: USB bus reset interrupt request bit
RESIRQ: USB resume interrupt request bit
SUSIRQ: USB suspend interrupt request bit
BKIIRQ: USB Bulk-In interrupt request bit
BKOIRQ: USB Bulk-Out interrupt request bit
EP0IRQ: USB Endpoint 0 interrupt request bit
BRCLR: USB bus reset interrupt clear bit
RESCLR: USB resume interrupt clear bit
SUSCLR: USB suspend interrupt clear bit
BKICLR: USB Bulk-In interrupt clear bit
BKOCLR: USB Bulk-Out interrupt clear bit
EP0CLR: USB Endpoint 0 interrupt clear bit
18.2.4 USB Buffer Status Register
Address Name R/W
$73
USBBFS R/W
Bit 7
-
TABLE 18-6 USB Buffer Status Register
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
BKI
BKO
BUFFER Status
BKI: BKI buffer status bit
0 = BKI buffer is full, no service is needed
1 = BKI buffer is empty, a service is needed
BKO: BKO buffer status bit
0 = BKO buffer is empty, no service is needed
1 = BKO buffer is full, a service is needed
EP0OUT: EP0OUT buffer status bit
0 = EP0OUT buffer is empty, no service is needed
1 = EP0OUT buffer is full, a service is needed
68/87
Bit 1
EP0IN
Bit 0
Default
EP0OUT - - - - 1010