Files | |
file | fip_timer.c |
FIP Timer Functions. | |
file | fip_timer.h |
FIP Timer Functions Header. | |
Defines | |
#define | fip_timer_isExpired32(expireTime, currentTime) (((expireTime) & 0x01) && ((currentTime) > (expireTime))) |
#define | TIMER_EXPIRED (1) |
Typedefs | |
typedef uint16_t | fip_timer16S_t |
FIP's timer type holds the expiration time of a timer. | |
Functions | |
fip_timer32mS_t | fip_timer_getExpireTime32miliS (uint32_t time) |
Get. |
#define fip_timer_isExpired32 | ( | expireTime, | |||
currentTime | ) | (((expireTime) & 0x01) && ((currentTime) > (expireTime))) |
Referenced by fip_if6_periodic(), fip_nd6_periodicIf(), fip_nd6_periodicUnicast(), and fip_sixlowpan_process().
#define TIMER_EXPIRED (1) |
typedef uint16_t fip_timer16S_t |
FIP's timer type holds the expiration time of a timer.
Can be checked with fip_timer_isExpired32 to discover if the timer has expired or not. The expiration values have several special types. All zeros indicates an infinite time-out. The lowest bit is used as part of the roll-over detection.
fip_timer32mS_t fip_timer_getExpireTime32miliS | ( | uint32_t | time | ) |
Get.
time |
References fip_hostInterface_getMiliSeconds32().
Referenced by fip_if_init(), fip_ip_send(), fip_nd6_periodicIf(), fip_nd6_periodicUnicast(), fip_nd6_processNA(), and fip_sixlowpan_llInput().