Return to previous page | Return to menu | Go to next page
EVENT *
Event management function
Register event
EVENT *slSetEvent(func)
void (*func)() ;
func Function pointer to register as event
Get the event area and add it to the end of the event list.
The “func” specified as the execution function for this event is registered.
If the event is acquired successfully, the function returns the start address of the registered event area.
If no event area remains, the function returns a null code.
The event area is reserved as a 128-byte area, but the first 16 bytes are used by the system.
Reference: Chapter 10 Event Control
slSetEvent