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

Functions

int __os_native_kickoff (void *arg)
 
void pi_time_wait_us (int time_us)
 
void pi_task_delayed_fifo_enqueue (struct pi_task *task, uint32_t delay_us)
 Enqueue a delayed task. More...
 
int pi_task_delayed_increment_push (void)
 

Variables

PI_FC_L1 struct pi_task_delayed_s delayed_task
 

Function Documentation

void pi_task_delayed_fifo_enqueue ( struct pi_task *  task,
uint32_t  delay_us 
)

This function is used to pushed a delayed event task to event kernel.

Parameters
taskPointer to event task.
delay_usDelay to wait for execution of the event task.
Note
This function is OS dependant.

References pi_task_delayed_s::fifo_head, pi_task_delayed_s::fifo_tail, and portTICK_PERIOD_MS.

Referenced by pi_task_push_delayed_us().

int pi_task_delayed_increment_push ( void  )

Variable Documentation

PI_FC_L1 struct pi_task_delayed_s delayed_task