15#define TIMER_HANDLE INTEGER16
16#define TASK_HANDLE INTEGER16
24#define TIMER_TRIG_PERIOD 3
45extern unsigned char osc_value;
49TIMER_HANDLE
DelAlarm(TIMER_HANDLE handle);
#define UNS8
Unsigned int8 representation in CANFest.
#define UNS32
Unsigned int32 representation in CANFest.
TIMER_HANDLE SetAlarm(CO_Data *d, UNS32 id, TimerCallback_t callback, TIMEVAL value, TIMEVAL period)
Set an alarm to execute a callback function when expired.
TIMER_HANDLE DelAlarm(TIMER_HANDLE handle)
Delete an alarm before expiring.
void TimeDispatch(void)
TimeDispatch is called on each timer expiration -—.
This structure contains all necessary informations to define a CANOpen node.
UNS8 isTimedOut(UNS32 *tRef, UNS32 tAlarm)
Checks if a timer has timed out.
TIMEVAL getElapsedTime(void)
Return the elapsed time to tell the Stack how much time is spent since last call.
void resetTimeOut(UNS32 *tRef)
Resets a timed out timer.
void setTimer(TIMEVAL value)
Set the timer peripheral for the next interrupt.