11 #if CONFIG_HAL_BOARD == HAL_BOARD_F4LIGHT 58 #endif // CONFIG_HAL_BOARD
uint32_t available() override
static uint16_t rb_full_count(ring_buffer *rb)
Return the number of elements stored in the ring buffer.
static uint8_t rb_remove(ring_buffer *rb)
Remove and return the first item from a ring buffer.
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
static void putch(uint8_t c, uint8_t n)
static uint8_t rx_buf[USB_RXFIFO_SIZE]
static void rb_init(ring_buffer *rb, uint16_t size, uint8_t *buf)
#define USART_PPM_BUF_SIZE
static int rb_safe_insert(ring_buffer *rb, uint8_t element)
Attempt to insert an element into a ring buffer.
ring_buffer UART_PPM::ppm_rxrb [2] IN_CCM