mg84fl54b Megawin Technology, mg84fl54b Datasheet - Page 74

no-image

mg84fl54b

Manufacturer Part Number
mg84fl54b
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
RXCON (Receive FIFO Control Register, Endpoint-Indexed, Address=E4H, SYS/USB_reset=0xxx-0xxx, Write-
only)
Bit7: RXCLR-- Receive FIFO Clear.
Bit6~4: Reserved.
Bit3: RXFFRC-- Receive FIFO Read Complete.
Bit2~0: Reserved.
RXCNT (Receive FIFO Byte Count Register, Endpoint-Indexed, Address=E6H, SYS/USB_reset=0000-0000,
Read-only)
Bit6~0: RXBC[6:0]-- Receive Byte Count.
TXSTAT (Endpoint Transmit Status Register, Endpoint-Indexed, Address=F2H, SYS/USB_reset=0xxx-0xxx,
Read/Write)
Bit7: TXSEQ-- Transmit Endpoint Sequence Bit (read, conditional write).
Bit6~4: Reserved.
Bit3: TXSOVW-- Transmit Data Sequence Overwrite Bit.
Bit2~0: Reserved.
TXDAT (Transmit FIFO Data Register, Endpoint-Indexed, Address=F3H, SYS/USB_reset=xxxx-xxxx, Write-only)
Bit7~0: TXD[7:0]-- Transmit FIFO Data.
TXCON (Transmit FIFO Control Register, Endpoint-Indexed, Address=F4H, SYS/USB_reset=0xxx-0xxx, Write-
only)
Bit7: TXCLR-- Transmit FIFO Clear.
74
RXCLR
TXSEQ
TXCLR
TXD7
7
7
7
7
7
Receive FIFO data specified by EPINDEX is stored and read from this register.
Set this bit to flush the entire receive FIFO. All FIFO statuses are reverted to their reset states. Hardware
clears this bit when the flush operation is completed.
Set this bit to release the receive FIFO when data set read is complete. Hardware clears this bit after the
FIFO release operation has been finished.
Store the byte count for the data packet received in the receive FIFO specified by EPINDEX.
The bit will be transmitted in the next PID and toggled on a valid ACK handshake of an IN transaction. This
bit can be written by firmware if the TXOVW bit is set when written along with the new TXSEQ value.
Write '1' to this bit to allow the value of the TXSEQ bit to be overwritten. Writing a '0' to this bit has no
effect on TXSEQ. This bit always returns '0' when read.
Data to be transmitted in the FIFO specified by EPINDEX is written to this register.
-
RXBC6
TXD6
6
6
6
6
6
-
-
-
RXBC5
TXD5
5
5
5
5
5
-
-
-
RXBC4
TXD4
MG84FL54B Data Sheet
4
4
4
4
4
-
-
-
TXSOVW
RXFFRC
TXFFRC
RXBC3
TXD3
3
3
3
3
3
RXBC2
TXD2
2
2
2
2
2
-
-
-
RXBC1
TXD1
1
1
1
1
1
-
-
-
RXBC0
TXD0
0
0
0
0
0
-
-
-
MEGAWIN

Related parts for mg84fl54b