PMSIS API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
task.h File Reference

Functions

static pi_task_t * pi_task_block (pi_task_t *task)
 Prepare a notification event. More...
 
static pi_task_t * pi_task_callback (pi_task_t *task, pi_callback_func_t function, void *arg)
 Prepare a notification callback. More...
 
static void pi_task_wait_on (pi_task_t *task)
 Wait until a notification event is triggered. More...
 
static void pi_task_push (pi_task_t *task)
 Trigger a notification. More...
 
void pi_task_push_delayed_us (pi_task_t *task, uint32_t delay)
 Trigger a notification. More...
 
static pi_callback_t * pi_callback_init (pi_callback_t *callback, pi_callback_func_t function, void *arg)
 Init callback. More...
 
static void pi_task_timeout_set (pi_task_t *task, uint32_t timeout_us)
 Init timeout feature for transfers. More...
 
static int32_t pi_task_transfer_end_result_get (pi_task_t *task)
 Query result end of transfer. More...