6 usart channel status register – Rainbow Electronics AT91CAP9S250A User Manual

Page 568

Advertising
background image

568

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

35.7.6

USART Channel Status Register

Name:

US_CSR

Access Type:

Read-only

• RXRDY: Receiver Ready

0: No complete character has been received since the last read of US_RHR or the receiver is disabled. If characters were
being received when the receiver was disabled, RXRDY changes to 1 when the receiver is enabled.

1: At least one complete character has been received and US_RHR has not yet been read.

• TXRDY: Transmitter Ready

0: A character is in the US_THR waiting to be transferred to the Transmit Shift Register, or an STTBRK command has been
requested, or the transmitter is disabled. As soon as the transmitter is enabled, TXRDY becomes 1.

1: There is no character in the US_THR.

• RXBRK: Break Received/End of Break

0: No Break received or End of Break detected since the last RSTSTA.

1: Break Received or End of Break detected since the last RSTSTA.

• ENDRX: End of Receiver Transfer

0: The End of Transfer signal from the Receive PDC channel is inactive.

1: The End of Transfer signal from the Receive PDC channel is active.

• ENDTX: End of Transmitter Transfer

0: The End of Transfer signal from the Transmit PDC channel is inactive.

1: The End of Transfer signal from the Transmit PDC channel is active.

• OVRE: Overrun Error

0: No overrun error has occurred since the last RSTSTA.

1: At least one overrun error has occurred since the last RSTSTA.

• FRAME: Framing Error

0: No stop bit has been detected low since the last RSTSTA.

1: At least one stop bit has been detected low since the last RSTSTA.

31

30

29

28

27

26

25

24

MANERR

23

22

21

20

19

18

17

16

CTS

CTSIC

15

14

13

12

11

10

9

8

NACK

RXBUFF

TXBUFE

ITERATION

TXEMPTY

TIMEOUT

7

6

5

4

3

2

1

0

PARE

FRAME

OVRE

ENDTX

ENDRX

RXBRK

TXRDY

RXRDY

Advertising