17.5.3 Eventflag information
The eventflag information defines ID number: flgid, Attribute: flgatr, Initial bit pattern: iflgptn for an eventflag.
The number of items that can be defined as eventflag information is limited to one for each ID number.
Specifies the ID number for an eventflag.
A value from 0x1 to 0xff, or a name, can be specified for flgid.
A value from 0x1 to 0xff, or a name, can be specified for flgid.
Note When a name is specified, the CF850V4 automatically assigns an ID number.
The CF850V4 outputs the relationship between a name and an ID number to the system information header file in the following format:
The CF850V4 outputs the relationship between a name and an ID number to the system information header file in the following format:
#define flgid value
Specifies the attribute for an eventflag.
The keyword that can be specified for flgatr is TA_TFIFO, TA_TPRI, TA_WSGL, TA_WMUL and TA_CLR.
The keyword that can be specified for flgatr is TA_TFIFO, TA_TPRI, TA_WSGL, TA_WMUL and TA_CLR.
Note 1 If specification of TA_TFIFO and TA_TPRI is omitted, tasks are queued in the order of bit pattern checking.