示例#1
0
void OS::idle_process_user_hook()
{
    TCritSect cs;
    IDLE_HOOK.Cpl();
}
示例#2
0
void OS::system_timer_user_hook()
{
    TCritSect cs;    // STM8 can complement bit atomically (BCPL), but IAR/STM8 1.30 can't :-(
    TIMER_HOOK.Cpl();
}