Infineon Logo AIROC BTSDK v4.7 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_timer.h File Reference

Data Structures

struct  wiced_timer_t
 

Macros

#define WICED_TIMER_INSTANCE_SIZE_IN_WORDS   12
 Defines the wiced timer instance size.
 

Typedefs

typedef void(* wiced_timer_callback_t )(uint32_t cb_params)
 

Enumerations

enum  wiced_timer_type_t { WICED_SECONDS_TIMER = 1, WICED_MILLI_SECONDS_TIMER, WICED_SECONDS_PERIODIC_TIMER, WICED_MILLI_SECONDS_PERIODIC_TIMER }
 

Functions

wiced_result_t wiced_init_timer (wiced_timer_t *p_timer, wiced_timer_callback_t p_cb, uint32_t cb_param, wiced_timer_type_t timer_type)
 Initializes the timer. More...
 
wiced_result_t wiced_start_timer (wiced_timer_t *p_timer, uint32_t timeout)
 Starts the timer Timer should be initialized before starting the timer. More...
 
wiced_result_t wiced_stop_timer (wiced_timer_t *p_timer)
 Stops the timer. More...
 
BOOL wiced_is_timer_in_use (wiced_timer_t *p_timer)
 Checks if the timer is in use. More...
 
wiced_result_t wiced_deinit_timer (wiced_timer_t *p_timer)
 Deinitialize the timer instance and stops the timer if it is running. More...