English
Language : 

MDT13P02_11 Datasheet, PDF (9/23 Pages) Micon Design Technology Corporation – 8-bit data bus
(18) EP0RXS: R2A
USB Endpoint 0 receive status
MDT13P02
Bit Symbol
Function
0
SETUP Bit 0 is set to 1 when a SETUP packet is received
1
OUT Bit 1 is set to 1 when a OUT packet received
2
IN
Bit 2 is set to 1 when a IN packet received
3 DATA 1/0 DATA Toggle status
4 COUNT0 The number of bytes received in DATA packet
5 COUNT1 The number of bytes received in DATA packet
6 COUNT2 The number of bytes received in DATA packet
7 COUNT3 The number of bytes received in DATA packet
(19) INTCON1: R2B
Interrupt control register1
Bit Symbol
Function
0
EP0IF Endpoin 0 interrupt flag
1
EP1IF Endpoin 1 interrupt flag
2
EP2IF Endpoin 2 interrupt flag
3
--
Read as “0”
4
EP0IE Endpoint 0 interrupt enable bit, 0: Disable/1: Enable
5
EP1IE Endpoint 1 interrupt enable bit, 0: Disable/1: Enable
6
EP2IE Endpoint 2 interrupt enable bit, 0: Disable/1: Enable
7
--
Read as “0”
(20) STATUS1: R2C
Status register1
Bit Symbol
Function
0 PS2CLK PS2 CLK pull-up, 0: Disable/1: Enable
1 PB5/CLKO 0: PB5/1: CLKO
2 USBPS2 0: USB mode/1: PS2 mode
3 SUSPEND 0: Normal mode/1: Sleep mode
4
POR Power on reset
5
USBR USB reset
7~6
--
Read as “0”
This specification are subject to be changed without notice. Any latest information
please preview http;//www.mdtic.com.tw
P. 10
2011/9 Ver. 1.1