Philips Semiconductors
SC16C754
Quad UART with 64-byte FIFO
Register programming guide
鈥ontinued
Actions
Read LCR (03), save in temp1
Set LCR (03) to BF
Read EFR (02), save in temp2
Set EFR (02) to 10 + temp2
Set LCR (03) to 00
Read MCR (04), save in temp3
Set MCR (04) to 40 + temp3
Set TLR (07) to VALUE
Set MCR (04) to temp3
Set LCR (03) to BF
Set EFR (02) to temp2
Set LCR (03) to temp1
Table 23:
Command
Set TX FIFO and RX FIFO thresholds
to VALUE
Read FIFO Rdy register
Read MCR (04), save in temp1
Set temp2 = temp1
脳
EF
[1]
Set MCR (04) = 40 + temp2
Read FFR (07), save in temp2
Pass temp2 back to host
Set MCR (04) to temp1
Set prescaler value to divide-by-1
Read LCR (03), save in temp1
Set LCR (03) to BF
Read EFR (02), save in temp2
Set EFR (02) to 10 + temp2
Set LCR (03) to 00
Read MCR (04), save in temp3
Set MCR (04) to temp3
脳
7F
[1]
Set LCR (03) to BF
Set EFR (02) to temp2
Set LCR (03) to temp1
Set prescaler value to divide-by-4
Read LCR (03), save in temp1
Set LCR (03) to BF
Read EFR (02), save in temp2
Set EFR (02) to 10 + temp2
Set LCR (03) to 00
Read MCR (04), save in temp3
Set MCR (04) to temp3 + 80
Set LCR (03) to BF
Set EFR (02) to temp2
Set LCR (03) to temp1
[1]
脳
sign here means bit-AND.
9397 750 11618
漏 Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 鈥?19 June 2003
33 of 49