void(* serial_vnd_write_cb_t)(const struct device *dev, void *user_data)
Callback called after bytes written to the virtual serial port.
Definition serial_test.h:89
uint32_t serial_vnd_peek_out_data(const struct device *dev, unsigned char *data, uint32_t size)
Peek at data written to virtual serial port.
int serial_vnd_queue_in_data(const struct device *dev, const unsigned char *data, uint32_t size)
Queues data to be read by the virtual serial port.
void serial_vnd_set_callback(const struct device *dev, serial_vnd_write_cb_t callback, void *user_data)
Sets the write callback on a virtual serial port.
uint32_t serial_vnd_read_out_data(const struct device *dev, unsigned char *data, uint32_t size)
Read data written to virtual serial port.
static fdata_t data[2]
Definition test_fifo_contexts.c:15
static const intptr_t user_data[5]
Definition main.c:588