Home
last modified time | relevance | path

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

/AliOS-Things-master/components/drivers/peripheral/uart/include/aos/
A Dtty_core.h33 size_t rx_buf_head; member
/AliOS-Things-master/components/drivers/peripheral/uart/src/
A Dtty.c23 ((AOS_TTY_RX_BUF_SIZE + (tty)->rx_buf_head - (tty)->rx_buf_tail) & (AOS_TTY_RX_BUF_SIZE - 1))
80 tty->rx_buf_head = 0; in set_attr_nonblock()
625 tty->rx_buf_head = 0; in dev_tty_put()
662 tty->rx_buf_head = 0; in aos_tty_register()
702 tty->rx_buf[tty->rx_buf_head++] = ((const uint8_t *)buf)[c++]; in aos_tty_rx_buffer_produce()
703 tty->rx_buf_head &= AOS_TTY_RX_BUF_SIZE - 1; in aos_tty_rx_buffer_produce()

Completed in 4 milliseconds