Searched refs:rx_buffer (Results 1 – 2 of 2) sorted by relevance
54 ring_buffer rx_buffer = { { 0 }, 0, 0 }; variable66 inline void store_char(unsigned char c, ring_buffer *rx_buffer) in store_char() argument68 int i = (unsigned int)(rx_buffer->head + 1) % RX_BUFFER_SIZE; in store_char()74 if (i != rx_buffer->tail) { in store_char()75 rx_buffer->buffer[rx_buffer->head] = c; in store_char()76 rx_buffer->head = i; in store_char()90 store_char(c, &rx_buffer); in SIGNAL()96 store_char(c, &rx_buffer); in SIGNAL()102 store_char(c, &rx_buffer); in SIGNAL()117 store_char(c, &rx_buffer); in SIGNAL()[all …]
46 HardwareSerial(ring_buffer *rx_buffer,