19.9 Eventflag Information (flag[])
flag[ <1. ID number> ] { name = <2. ID name (name)>; initial_pattern = <3. Initial bit pattern (initial_pattern)>; wait_multi = <4. Multiple wait permission attribute (wait_multi)>; clear_attribute = <5. Clear attribute (clear_attribute)>; wait_queue = <6. Wait queue attribute (wait_queue)>; }; |
- Note
The ID numbers must be assigned without an omission beginning with 1. Therefore, when specifying an ID number, be sure that the specified value is equal to or less than the number of objects defined.
The ID numbers must be assigned without an omission beginning with 1. Therefore, when specifying an ID number, be sure that the specified value is equal to or less than the number of objects defined.
- Description
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
#define <ID name> <ID number>
- Description
Define the attribute regarding whether multiple tasks are permitted to wait for the eventflag.
Define the attribute regarding whether multiple tasks are permitted to wait for the eventflag.
- When omitting
The set value in the default system configuration file (factory setting: "TA_WSGL") applied.
The set value in the default system configuration file (factory setting: "TA_WSGL") applied.
- When omitting
The set value in the default system configuration file (factory setting: NO) applied.
The set value in the default system configuration file (factory setting: NO) applied.