EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
ustimer.h
Go to the documentation of this file.
1 /**************************************************************************/
15 #ifndef __SILICON_LABS_USTIMER_H
16 #define __SILICON_LABS_USTIMER_H
17 
18 #include <stdint.h>
19 #include "ecode.h"
20 #include "ustimer_config.h"
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 /***************************************************************************/
31 /***************************************************************************/
36 #define ECODE_EMDRV_USTIMER_OK ( ECODE_OK )
37 
38 Ecode_t USTIMER_Init( void );
39 Ecode_t USTIMER_DeInit( void );
40 Ecode_t USTIMER_Delay( uint32_t usec );
41 Ecode_t USTIMER_DelayIntSafe( uint32_t usec );
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
50 #endif
Energy Aware drivers error code definitions.
Ecode_t USTIMER_Init(void)
Activate and initialize the hardware timer used to pace the 1 microsecond delay functions.
Definition: ustimer.c:139
uint32_t Ecode_t
Typedef for API function error code return values.
Definition: ecode.h:51
Ecode_t USTIMER_DeInit(void)
Deinitialize USTIMER driver.
Definition: ustimer.c:190
Ecode_t USTIMER_DelayIntSafe(uint32_t usec)
Delay a given number of microseconds.
Definition: ustimer.c:256
Ecode_t USTIMER_Delay(uint32_t usec)
Delay a given number of microseconds.
Definition: ustimer.c:221