FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
udma_timeout.c File Reference

Functions

static void __pi_udma_timeout_event_handler (void *arg)
 
static void __pi_udma_timeout_task_push (struct pi_udma_timeout_s *driver_data, pi_task_t *task)
 
static pi_task_t__pi_udma_timeout_task_pop (struct pi_udma_timeout_s *driver_data)
 
static void __pi_udma_timeout_start (uint8_t timeout_id)
 
static void __pi_udma_timeout_stop (uint8_t timeout_id)
 
int32_t pi_udma_timeout_config_set (pi_task_t *task, uint8_t timeout_id, uint8_t udma_chan_id, uint32_t timeout_us)
 
int32_t pi_udma_timeout_alloc (pi_udma_timeout_mode_e mode)
 
void pi_udma_timeout_free (int32_t timeout_id)
 
int32_t pi_udma_timeout_ioctl (int32_t timeout_id, uint32_t cmd, void *arg)
 

Variables

static struct pi_udma_timeout_sg_udma_timeout [UDMA_NB_TIMEOUT]
 

Function Documentation

static void __pi_udma_timeout_event_handler ( void *  arg)
static
static void __pi_udma_timeout_start ( uint8_t  timeout_id)
static
static void __pi_udma_timeout_stop ( uint8_t  timeout_id)
static
static pi_task_t * __pi_udma_timeout_task_pop ( struct pi_udma_timeout_s driver_data)
inlinestatic
static void __pi_udma_timeout_task_push ( struct pi_udma_timeout_s driver_data,
pi_task_t task 
)
inlinestatic
int32_t pi_udma_timeout_ioctl ( int32_t  timeout_id,
uint32_t  cmd,
void *  arg 
)

Variable Documentation

struct pi_udma_timeout_s* g_udma_timeout[UDMA_NB_TIMEOUT]
static