Searched refs:rd_data (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/drivers/sensor/a01nyub/ |
D | a01nyub.c | 38 uint8_t rd_data[A01NYUB_BUF_LEN]; member 71 checksum = a01nyub_checksum(data->rd_data); in a01nyub_poll_data() 72 if (checksum != data->rd_data[A01NYUB_CHECKSUM_IDX]) { in a01nyub_poll_data() 75 data->rd_data[A01NYUB_CHECKSUM_IDX]); in a01nyub_poll_data() 77 data->rd_data[0], in a01nyub_poll_data() 78 data->rd_data[1], in a01nyub_poll_data() 79 data->rd_data[2], in a01nyub_poll_data() 80 data->rd_data[3]); in a01nyub_poll_data() 85 data->data = (data->rd_data[1]<<8) + data->rd_data[2]; in a01nyub_poll_data() 138 data->xfer_bytes += uart_fifo_read(uart_dev, &data->rd_data[data->xfer_bytes], in a01nyub_uart_isr() [all …]
|
/Zephyr-latest/drivers/input/ |
D | input_sbus.c | 69 uint8_t rd_data[SBUS_FRAME_LEN]; member 203 uint8_t *rd_data = data->rd_data; in sbus_resync() local 206 data->xfer_bytes += uart_fifo_read(uart_dev, &rd_data[data->xfer_bytes], in sbus_resync() 213 } else if (rd_data[0] == SBUS_HEADER && in sbus_resync() 214 rd_data[SBUS_FRAME_LEN - 1] == SBUS_FOOTER) { in sbus_resync() 218 uart_fifo_read(uart_dev, &rd_data[0], 1); in sbus_resync() 224 if (uart_fifo_read(uart_dev, &rd_data[0], 1) == 1) { in sbus_resync() 225 if (rd_data[0] == SBUS_HEADER) { in sbus_resync() 238 uint8_t *rd_data = data->rd_data; in sbus_uart_isr() local 255 data->xfer_bytes += uart_fifo_read(uart_dev, &rd_data[data->xfer_bytes], in sbus_uart_isr() [all …]
|
/Zephyr-latest/drivers/sensor/mhz19b/ |
D | mhz19b.c | 110 if (data->rd_data[MHZ19B_RX_CMD_IDX] != mhz19b_cmds[data->cmd_idx][MHZ19B_TX_CMD_IDX]) { in mhz19b_send_config() 128 checksum = mhz19b_checksum(data->rd_data); in mhz19b_poll_data() 129 if (checksum != data->rd_data[MHZ19B_CHECKSUM_IDX]) { in mhz19b_poll_data() 131 data->rd_data[MHZ19B_CHECKSUM_IDX]); in mhz19b_poll_data() 137 data->data = sys_get_be16(&data->rd_data[2]); in mhz19b_poll_data() 140 data->data = sys_get_be16(&data->rd_data[4]); in mhz19b_poll_data() 143 data->data = data->rd_data[7]; in mhz19b_poll_data() 273 data->xfer_bytes += uart_fifo_read(uart_dev, &data->rd_data[data->xfer_bytes], in mhz19b_uart_isr()
|
D | mhz19b.h | 51 uint8_t rd_data[MHZ19B_BUF_LEN]; member
|