#include <rtl.h>
void isr_evt_set (
U16 event_flags, /* Bit pattern of event flags to set */
OS_TID task ); /* The task that the events apply to */
Description
The isr_evt_set function sets the event flags for the
task identified by the function argument. The function only
sets the event flags whose corresponding bit is set to 1 in the
event_flags argument.
The isr_evt_set function is in the RL-RTX library. The
prototype is defined in rtl.h.
Note
You can call the isr_evt_set function only from the IRQ
interrupt service routine. You cannot call it from the FIQ
interrupt service routine.
When the isr_evt_set function is called too frequently,
it forces too many tick timer interrupts and the task
manager task scheduler is executed most of the time. It might
happen that two isr_evt_set functions for the same task are
called before the task gets a chance to run from one of the event
waiting functions (os_evt_wait_). Of course one event is lost
because event flags are not counting objects.
Return Value
The isr_evt_set function does not return any value.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.