S1R72105 Technical Manual
50
EPSON
Rev.1.0
7.5.2.13 EPr FIFO Control (EPrFIFOCtrl) R/W
Checks the status and sets operation of FIFO of the endpoint.
USBIndex : 01h to 03h
Address
Register Name
Bit Symbol
Description
1Fh
EPrFIFOCtrl
7: FIFOEmpty
FIFO Empty
6: FIFOFull
FIFO Full
5: FIFOClr
FIFO Clear
4:
0
Reserved
3:
0
Reserved
2:
AutoForceNAK
AutoForceNAK
1: EnFIFOwr
Enable FIFO Write
0: EnFIFOrd
Enable FIFO Read
BIT7 FIFO Empty
When this bit is HIGH it indicates that FIFO is empty.
If a reading operation of FIFO is carried out in this state, invalid data is read out.
BIT6 FIFO Full
When this bit is HIGH it indicates that FIFO is full.
If a writing operation into FIFO is carried out in this state, the data is ignored.
BIT5 FIFO Clear
Setting this bit to HIGH clears data stored in FIFO.
The bit returns to LOW automatically after clearing.
BIT2 AutoForceNAK
Setting this bit to HIGH sets the InForceNAK bit of the EP0InControl register and the OutForceNAK bit of the
EP0OutControl register when transaction is completed normally.
BIT1 Enable FIFO Write
Setting this bit to HIGH enables writing data into FIFO from the CPU.
BIT0 Enable FIFO Read
Setting this bit to HIGH enables reading data in FIFO from the CPU.
7.5.2.14 EP0 SETUP [n](n=0,1,2,3,4,5,6,7) (EP0SETUP[n]) R
Displays data received in the SETUP stage.
USBIndex : 08h
Address
Register Name
Bit Symbol
Description
18h to 1Fh Ep0SETUP[0]
7: Ep0_RcvSETUPdata[7]
6:
Ep0_RcvSETUPdata[6]
Ep0SETUP[7]
5:
Ep0_RcvSETUPdata[5]
4:
Ep0_RcvSETUPdata[4]
Ep0_RcvSETUPdata
3:
Ep0_RcvSETUPdata[3]
2:
Ep0_RcvSETUPdata[2]
1:
Ep0_RcvSETUPdata[1]
0:
Ep0_RcvSETUPdata[0]