10#define MYUBRR (FOSC / 16 / BAUD - 1)
15uint8_t rawBuffer[bufCap];
22 Catch(e) {
return e; }
31 Catch(e) {
return e; }
#define uart_rx_to_circ_buf(uart_no, circ_buf_ptr)
Receive a byte from UART into circular buffer.
#define uart_tx_from_circ_buf(uart_no, circ_buf_ptr)
Transmit a byte from the circular buffer.
#define UART_Init(uart_no, ubrr, rxIntEnable)
Initialize USART.
void circular_buffer_init_uint8(circular_buffer_uint8 *circ_buf, const size_t capacity, uint8_t *buffer)
circular buffer init method