SB16C1054PCI_Data Sheet_EN
SB16C1054PCI
PCI Target Interface Controller
with Quad-UART
JULY 2013 REV 1.04
68
Table 14–1: Register Programming Guide…continued
Command
Action
Read 256-byte TX FIFO Empty Status /
RX FIFO Full Status
Set FCR to xxxx_xxx1b
Read LCR, then save in temp1
Set LCR to BFh
Set PSR to A5h
Set AFR to 01h
Set PSR to A4h
Set LCR to temp1
Read ISR, then save in temp2
Pass temp2 back to host
Enable Xoff Re-transmit
Read LCR, then save in temp1
Set LCR to not BFh
Read MCR, then save in temp2
Set MCR to (0100_0000b OR temp2)
Set MCR to (0100_0100b OR temp2)
Set MCR to (1011_1111b AND temp2)
Set MCR to temp2
Set LCR to temp1
Disable Xoff Re-transmit
Read LCR, then save in temp1
Set LCR to not BFh
Read MCR, then save in temp2
Set MCR to (0100_0000b OR temp2)
Set MCR to (1011_1011b AND temp2)
Set MCR to temp2
Set LCR to temp1
Set Prescaler Value to Divide-by-1 or 4
Read LCR, then save in temp1
Set LCR to BFh
Read EFR, then save in temp2
Set EFR to (0001_0000b OR temp2)
Set LCR to 00h
Read MCR, then save in temp3
if Divide-by-1 = OK then
Set MCR to (0111_1111b AND temp3)
else
Set MCR to (1000_0000b OR temp3)
Set LCR to BFh
Set EFR to temp2
Set LCR to temp1