FreeRTOS port on GAP8/RISC-V
|
Functions | |
void | pi_hyper_conf_init (struct pi_hyper_conf *conf) |
int32_t | pi_hyper_open (struct pi_device *device) |
void | pi_hyper_close (struct pi_device *device) |
void | pi_hyper_read (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size) |
void | pi_hyper_read_async (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, struct pi_task *callback) |
void | pi_hyper_write (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size) |
void | pi_hyper_write_async (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, struct pi_task *callback) |
void | pi_hyper_read_2d (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, uint32_t stride, uint32_t length) |
void | pi_hyper_read_2d_async (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, uint32_t stride, uint32_t length, struct pi_task *callback) |
void | pi_hyper_write_2d (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, uint32_t stride, uint32_t length) |
void | pi_hyper_write_2d_async (struct pi_device *device, uint32_t hyper_addr, void *buffer, uint32_t size, uint32_t stride, uint32_t length, struct pi_task *callback) |
Variables | |
static uint8_t | __hyper_periph_open |
struct hyper_driver_fifo * | __global_hyper_driver_fifo [] |
static uint32_t | read_val |
static uint32_t | write_val |
void pi_hyper_close | ( | struct pi_device * | device | ) |
void pi_hyper_conf_init | ( | struct pi_hyper_conf * | conf | ) |
References memset().
int32_t pi_hyper_open | ( | struct pi_device * | device | ) |
References __hyper_periph_open, __pi_hyper_pin_settings(), __pi_hyper_settings(), hyper_driver_fifo::device_id, hyper_driver_fifo::fifo_head, hyper_driver_fifo::fifo_tail, hal_soc_eu_set_fc_mask(), hyper_handler(), hyper_driver_fifo::pending_emu_size_2d, pi_fc_event_handler_set(), pi_malloc(), SOC_EVENT_UDMA_HYPER_RX, SOC_EVENT_UDMA_HYPER_TX, UDMA_HYPER_ID, and udma_init_device().
void pi_hyper_read | ( | struct pi_device * | device, |
uint32_t | hyper_addr, | ||
void * | buffer, | ||
uint32_t | size | ||
) |
References pi_hyper_read_async(), pi_task_block(), pi_task_destroy(), and pi_task_wait_on().
void pi_hyper_read_2d | ( | struct pi_device * | device, |
uint32_t | hyper_addr, | ||
void * | buffer, | ||
uint32_t | size, | ||
uint32_t | stride, | ||
uint32_t | length | ||
) |
References pi_hyper_read_2d_async(), pi_task_block(), pi_task_destroy(), and pi_task_wait_on().
void pi_hyper_read_2d_async | ( | struct pi_device * | device, |
uint32_t | hyper_addr, | ||
void * | buffer, | ||
uint32_t | size, | ||
uint32_t | stride, | ||
uint32_t | length, | ||
struct pi_task * | callback | ||
) |
void pi_hyper_read_async | ( | struct pi_device * | device, |
uint32_t | hyper_addr, | ||
void * | buffer, | ||
uint32_t | size, | ||
struct pi_task * | callback | ||
) |
void pi_hyper_write | ( | struct pi_device * | device, |
uint32_t | hyper_addr, | ||
void * | buffer, | ||
uint32_t | size | ||
) |
References pi_hyper_write_async(), pi_task_block(), pi_task_destroy(), and pi_task_wait_on().
void pi_hyper_write_2d | ( | struct pi_device * | device, |
uint32_t | hyper_addr, | ||
void * | buffer, | ||
uint32_t | size, | ||
uint32_t | stride, | ||
uint32_t | length | ||
) |
References pi_hyper_write_2d_async(), pi_task_block(), pi_task_destroy(), and pi_task_wait_on().
void pi_hyper_write_2d_async | ( | struct pi_device * | device, |
uint32_t | hyper_addr, | ||
void * | buffer, | ||
uint32_t | size, | ||
uint32_t | stride, | ||
uint32_t | length, | ||
struct pi_task * | callback | ||
) |
void pi_hyper_write_async | ( | struct pi_device * | device, |
uint32_t | hyper_addr, | ||
void * | buffer, | ||
uint32_t | size, | ||
struct pi_task * | callback | ||
) |
struct hyper_driver_fifo* __global_hyper_driver_fifo[] |
|
static |
Referenced by pi_hyper_close(), and pi_hyper_open().
|
static |
|
static |