Ver 1.3
PRELIMINARY
EAGLE
USB Function Address Register (USBFA)
FA register stores the address of USB device assigned by host. MCU stores the value described by SET_ADDRESS
operation. This value is used for the next token.
USB Power Management Register (USBPM)
PM register is used by suspend, resume and reset signals.
MCU checks the suspend and reset status through USB_INTERRUPT register.
USB Interrupt Registers (USBEPI, USBINT)
One bit for each endpoint.
USB Interrupt Enable Registers (USBEPIEN, USBINTEN)
Each USBEPINTEN bit corresponds to the enable bit for each endpoint. By default, all USBINTEN bits are enabled except
for suspend interrupt bit.
Frame Number Registers (USBLBFN, USBHBFN)
Stores the frame number which points to end of Frame packet.
Index Register (USBIND)
Index Register is used for selecting the Control register which corresponds to each endpoint.
MAXP Register (USBMP)
MAXP register contains the max packet size value of each endpoint. Packet size is in multiple of 8 Bytes. If MCU enters a
value greater than the FIFO size, the MAXP register shall be set to the size of FIFO.
EP0 Control Register (USBEP0CON)
This register controls and reflect the status of Endpoint 0.
IN Control Registers (USBICON1, USBICON2)
This register controls and reflect the status of IN endpoint.
Out Control Registers (USBOCON1, USBOCON2)
This Register controls and reflect the status of OUT endpoint.
Out Write Count Registers (USBLBOWC, USBHBOWC)
This register includes two registers (LBOWCR and HBOWCR) and contains write count. LBOWCR determines the value of
lower byte, HBOWCR contains the value of upper byte. For OUT endpoint, this register contains the number of packets
fetched by MCU if OCOPR bit is set,.
Endpoint FIFO Access Registers (USBEP0D, USBEP1D, USBEP2D, USBEP3D, USBEP4D)
These registers are connected to the internal FIFO.
175
CONFIDENTIAL
Beijing Peak Microtech Co.Ltd.