result_t usb_serial_read(void *data, size_t size, size_t *bytes_read)
Read data from the USB serial console.
result_t usb_serial_init()
Initialize USB serial console.
void usb_serial_finalize()
Finalize USB serial console.
uint32_t result_t
Function result.
Definition: types.h:51
result_t usb_serial_write(const void *data, size_t size, size_t *bytes_written)
Write data over the USB serial console.
int usb_serial_open_fd()
Create a file descriptor for the USB serial console Does not require usb_serial_init to have been cal...