EM78M611E
Universal Serial Bus Series Microcontroller
Product Specification (V1.11) 04.20.2007
15
(This specification is subject to change without further notice)
8.2.2.12 RD (USB Application FIFO Address Register)
Default Value: (0B_0000_0000)
Bit 7
Bit 6
Bit 5
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 0 0 UAD4 UAD3 UAD2 UAD1 UAD0
RD [0~4] USB Application FIFO address registers. These five bits are th e address
pointers of USB Application FIFO.
RD [5~7] Undefined registers. The default value is zero.
8.2.2.13 RE (USB Application FIFO Data Register)
Default Value: (0B_0000_0000)
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
UD7 UD6 UD5 UD4 UD3 UD2 UD1 UD0
RE (USB Application FIFO data register) contains the data in the register of which
address is pointed by RD.
NOTE
For example, if user wants to read the fourth byte of EndPoint Zero, user has to use the
address of EP0 (0x00) and Data Byte Pointer of EP0 (0x10) to access it.
// Read the 4th byte of the EP0 FIFO
// First, assign the data byte pointer of EP0 register (0X10) with 0X03.
MOV A, @0X10
MOV RD, a // Move data in A to RD register
MOV A, @0X03
MOV RE , A // Move data in A to RE register
// Then read the content from EP0 FIFO (0x00) 4th byte
MOV A, @0X00
MOV RD, A // Assign address point to EP0 FIFO
MOV A, RE // Read the fourth byte data (Byte 3) of the EP0 FIFO
MOV A, 0X0E // Read the fifth byte data (Byte 4) of the EP0 FIFO
8.2.2.14 RF (Interrupt Status Register) Default Value: (0B_0000_0000)
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
Bit 0
USB Host
Resume_IF
SE2_IF
SE1_IF Port7 state
change_1F
USB
Reset_IF
USB
Suspend_IF
EP0_IF
TCC_IF
RF [0] TCC Overflow interrupt flag. It will be set while TCC overflows, and is cleared
by firmware.
RF [1] EndPoint Zero interrupt flag. It will be set when the EM78M611E receives
Vendor/Customer Command to EndPoint Zero. This bit is cleared by
firmware.