SB16C1058_Data Sheet_EN
SB16C1058
OCTAL UART WITH 256-BYTE FIFO
JULY 2013 REV 1.04
57
Table 31: Register Programming Guide…continued
Command
Action
Read 256-byte TX FIFO Empty Status /
RX FIFO Full Status
Set FCR to ‘xxxx_xxx1’
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_0000’ OR temp2)
Set MCR to (‘0100_0100’ OR temp2)
Set MCR to (‘1011_1111’ 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_0000’ OR temp2)
Set MCR to (‘1011_1011’ 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_0000’ OR temp2)
Set LCR to 00h
Read MCR, then save in temp3
if Divide-by-1 = OK then
Set MCR to (‘0111_1111’ AND temp3)
else
Set MCR to (‘1000_0000’ OR temp3)
Set LCR to BFh
Set EFR to temp2
Set LCR to temp1