this is fork and i will modify for STM32
Fork of AWS-test by
Timer interface definition for MQTT client. More...
Go to the source code of this file.
Typedefs | |
typedef TimerExt | TimerAWS |
The platform specific timer header that defines the Timer struct. | |
Functions | |
bool | has_timer_expired (TimerAWS *) |
Check if a timer is expired. | |
void | countdown_ms (TimerAWS *, uint32_t) |
Create a timer (milliseconds) | |
void | countdown_sec (TimerAWS *, uint32_t) |
Create a timer (seconds) | |
uint32_t | left_ms (TimerAWS *) |
Check the time remaining on a given timer. | |
void | init_timer (TimerAWS *) |
Initialize a timer. |
Detailed Description
Timer interface definition for MQTT client.
Defines an interface to timers that can be used by other system components. MQTT client requires timers to handle timeouts and MQTT keep alive. Starting point for porting the SDK to the timer hardware layer of a new platform.
Definition in file timer_interface.h.
Typedef Documentation
The platform specific timer header that defines the Timer struct.
Timer Type
Forward declaration of a timer struct. The definition of this struct is platform dependent. When porting to a new platform add this definition in "timer_<platform>.h" and include that file above.
Definition at line 51 of file timer_interface.h.
Function Documentation
void countdown_ms | ( | TimerAWS * | , |
uint32_t | |||
) |
void countdown_sec | ( | TimerAWS * | , |
uint32_t | |||
) |
bool has_timer_expired | ( | TimerAWS * | ) |
void init_timer | ( | TimerAWS * | ) |
uint32_t left_ms | ( | TimerAWS * | ) |
Generated on Tue Jul 12 2022 11:16:39 by 1.7.2