Home
last modified time | relevance | path

Searched refs:csrb (Results 1 – 2 of 2) sorted by relevance

/qemu/hw/char/
H A Davr_usart.c33 if (usart->data_valid || !(usart->csrb & USART_CSRB_RXEN)) { in avr_usart_can_receive()
47 if (usart->csrb & USART_CSRB_RXCIE) { in avr_usart_receive()
56 ((usart->csrb & USART_CSRB_CSZ2) ? 4 : 0); in update_char_mask()
98 usart->csrb = 0b00000000; in avr_usart_reset()
120 if (!(usart->csrb & USART_CSRB_RXEN)) { in avr_usart_read()
137 return usart->csrb; in avr_usart_read()
169 if (!(usart->csrb & USART_CSRB_TXEN)) { in avr_usart_write()
175 if (usart->csrb & USART_CSRB_TXCIE) { in avr_usart_write()
179 if (usart->csrb & USART_CSRB_DREIE) { in avr_usart_write()
204 value = (value & mask) | (usart->csrb & (0xff ^ mask)); in avr_usart_write()
[all …]
/qemu/include/hw/char/
H A Davr_usart.h78 uint8_t csrb; member