FreeRTOS port on GAP8/RISC-V
|
Functions | |
void | pi_uart_conf_init (struct pi_uart_conf *conf) |
int | pi_uart_open (struct pi_device *device) |
void | pi_uart_close (struct pi_device *device) |
int | pi_uart_ioctl (struct pi_device *device, uint32_t cmd, void *arg) |
int | pi_uart_write (struct pi_device *device, void *buffer, uint32_t size) |
int | pi_uart_write_byte (struct pi_device *device, uint8_t *byte) |
int | pi_uart_write_byte_async (struct pi_device *device, uint8_t *byte, pi_task_t *callback) |
int | pi_uart_write_async (struct pi_device *device, void *buffer, uint32_t size, pi_task_t *callback) |
int | pi_uart_read (struct pi_device *device, void *buffer, uint32_t size) |
int | pi_uart_read_byte (struct pi_device *device, uint8_t *byte) |
int | pi_uart_read_async (struct pi_device *device, void *buffer, uint32_t size, pi_task_t *callback) |
int | pi_uart_write_timeout (struct pi_device *device, void *buffer, uint32_t size, uint32_t timeout_us) |
int | pi_uart_read_timeout (struct pi_device *device, void *buffer, uint32_t size, uint32_t timeout_us) |
void pi_uart_close | ( | struct pi_device * | device | ) |
References __pi_uart_close(), uart_itf_data_s::device_id, and UART_TRACE.
void pi_uart_conf_init | ( | struct pi_uart_conf * | conf | ) |
References __pi_uart_conf_init().
int pi_uart_ioctl | ( | struct pi_device * | device, |
uint32_t | cmd, | ||
void * | arg | ||
) |
References __pi_uart_ioctl(), uart_itf_data_s::device_id, and UART_TRACE.
int pi_uart_open | ( | struct pi_device * | device | ) |
References __pi_uart_open(), and UART_TRACE.
int pi_uart_read | ( | struct pi_device * | device, |
void * | buffer, | ||
uint32_t | size | ||
) |
References pi_task_block(), pi_task_destroy(), pi_task_wait_on(), and pi_uart_read_async().
int pi_uart_read_async | ( | struct pi_device * | device, |
void * | buffer, | ||
uint32_t | size, | ||
pi_task_t * | callback | ||
) |
References __pi_uart_copy(), uart_itf_data_s::device_id, RX_CHANNEL, and UART_TRACE.
int pi_uart_read_byte | ( | struct pi_device * | device, |
uint8_t * | byte | ||
) |
References pi_task_block(), pi_task_destroy(), pi_task_wait_on(), and pi_uart_read_async().
int pi_uart_read_timeout | ( | struct pi_device * | device, |
void * | buffer, | ||
uint32_t | size, | ||
uint32_t | timeout_us | ||
) |
int pi_uart_write | ( | struct pi_device * | device, |
void * | buffer, | ||
uint32_t | size | ||
) |
References pi_task_block(), pi_task_destroy(), pi_task_wait_on(), and pi_uart_write_async().
int pi_uart_write_async | ( | struct pi_device * | device, |
void * | buffer, | ||
uint32_t | size, | ||
pi_task_t * | callback | ||
) |
References __pi_uart_copy(), uart_itf_data_s::device_id, TX_CHANNEL, and UART_TRACE.
int pi_uart_write_byte | ( | struct pi_device * | device, |
uint8_t * | byte | ||
) |
References pi_task_block(), pi_task_destroy(), pi_task_wait_on(), and pi_uart_write_async().
int pi_uart_write_byte_async | ( | struct pi_device * | device, |
uint8_t * | byte, | ||
pi_task_t * | callback | ||
) |
References pi_uart_write_async().
int pi_uart_write_timeout | ( | struct pi_device * | device, |
void * | buffer, | ||
uint32_t | size, | ||
uint32_t | timeout_us | ||
) |