Events

Built-on events

User-defined events

If you prepare user-defined event names, assign values after ToCoNet_EVENT_APP_BASE.

typedef enum
{
	E_EVENT_APP_BASE = ToCoNet_EVENT_APP_BASE,
    E_EVENT_TICK_A,
    E_EVENT_SCAN_FINISH,
    E_EVENT_SLAVE_CONF_FAIL,
    E_EVENT_SLEEP_REQUEST
} teEventApp;

Do not apply the compile option to reduce the enum to 16 or 8 bits.

最終更新