Home
last modified time | relevance | path

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

/AliOS-Things-master/components/drivers/peripheral/uart/include/aos/
A Dtty_core.h13 #ifndef AOS_TTY_RX_BUF_SIZE
14 #define AOS_TTY_RX_BUF_SIZE 1024 macro
35 uint8_t rx_buf[AOS_TTY_RX_BUF_SIZE];
/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))
24 #define rx_buf_space(tty) (AOS_TTY_RX_BUF_SIZE - 1 - rx_buf_count(tty))
200 tty->rx_buf_tail &= AOS_TTY_RX_BUF_SIZE - 1; in rx_buffer_consume()
703 tty->rx_buf_head &= AOS_TTY_RX_BUF_SIZE - 1; in aos_tty_rx_buffer_produce()

Completed in 4 milliseconds