GeMRTOS
|
Related Functions | |
(Note that these are not member functions.) |
|
related |
Initializes the ISRs according the ISRs set by Nios HAL. It creates a TCB for each ISR and link it to the g_kcb.KCB_ExtISR[i].G_TCB_ISR accordingly.
gk_INIT_IRQ
It is called from gk_INIT_KERNEL()
Include Disabled but ready interrupt Type
Utilize the gk_SetTaskISR in order to be coherent if the user define a ISR in the main function
Create ISR TCB if IRQ is enabled
< Pointer to the beginning of isr
< Pointer to the argument of the first call
< Botton of the Stack of the Task
< Size of the stack in words
< Type of the Task
< Initial Priority of the task
< Priority of the task when it is executing
< Deadline of the task
< Period of the task
< pointer of the ready list that should be inserted
< True when task is aborted when deadline
Definition at line 399 of file gemrtos_core.c.
Executed when Task finishes as ISR. If remains ready, then it will be not released next Interrupt event.
gk_ISR_COMPLETE
[in] | ptcb | Pointer to the TCB of the ISR task |
Definition at line 447 of file gemrtos_core.c.
|
related |
Executed when an interrupt is triggered. It is called from gk_ENTRY_IRQ_HANDLER()
gk_ISR_RELEASE
[in] | irq_nbr | Number index of the interrupt |
Definition at line 470 of file gemrtos_core.c.
Convert a task to a ISR associated to a Interrupt Number in Kernal mode.
gk_SetTaskISR
[in] | ptcb | Pointer to the TCB of the task to be ISR |
[in] | irq_nbr | Number of the IRQ to be associated to. |
Check if IRQ number or TCB pointer al valid.
Implement the reverse function to convert a ISR into a task
Definition at line 522 of file gemrtos_core.c.
Convert a task to a ISR associated to a Interrupt Number.
gu_SetTaskISR
[in] | ptcb | Pointer to the TCB of the task to be ISR |
[in] | irq_nbr | Number of the IRQ to be associated to. |
Check if IRQ number or TCB pointer al valid.
Implement the reverse function to convert a ISR into a task
Definition at line 504 of file gemrtos_core.c.