IN16C1054
Æ Set RTR to 16, set TTR to 16
3) Set FCR to ‘1010_xxx1’
Æ Set RTR to 56, set TTR to 32
4) Set FCR to ‘1111_xxx1’
Æ Set RTR to 60, set TTR to 56
Set FCR to ‘xxxx_xxx1’
Set TX FIFO / RX FIFO Interrupt Trigger
Level for 256-byte FIFO Mode
Read LCR, save in temp
Set LCR to BFh
Set PSR to A5h
Set AFR to 01h
Set TTR to TX FIFO Trigger Level Value
Set RTR to RX FIFO Trigger Level Value
Set PSR to A4h
Set LCR to temp
Read Flow Control Status
Read LCR, save in temp1
Read MCR, save in temp2
Set LCR to (‘0111_1111’ AND temp1)
Set MCR to (‘0100_0000’ OR temp2)
Read FSR, save in temp3
Pass temp3 back to host
Set MCR to temp2
Set LCR to temp1
Read TX FIFO / RX FIFO Count Value
Read LCR, save in temp1
Read MCR, save in temp2
Set LCR to (‘0111_1111’ AND temp1)
Set MCR to (‘0100_0000’ OR temp2)
Read TCR, save in temp3
Read RCR, save in temp4
Pass temp3 back to host
Pass temp4 back to host
Set MCR to temp2
Set LCR to temp1
Table 25: Register Programming Guide…continued
Command
Action
Read 256-byte TX FIFO Empty Status /
RX FIFO Full Status
Set FCR to ‘xxxx_xxx1’
Read LCR, 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, save in temp2
Rev. 00