EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
ustimer.h File Reference

Detailed Description

Microsecond delay function API definition.

Version
5.1.2

License

(C) Copyright 2014 Silicon Labs, http://www.silabs.com

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file ustimer.h.

#include <stdint.h>
#include "ecode.h"
#include "ustimer_config.h"

Go to the source code of this file.

Macros

#define ECODE_EMDRV_USTIMER_OK   ( ECODE_OK )
 Success return value.
 

Functions

Ecode_t USTIMER_DeInit (void)
 Deinitialize USTIMER driver. More...
 
Ecode_t USTIMER_Delay (uint32_t usec)
 Delay a given number of microseconds. More...
 
Ecode_t USTIMER_DelayIntSafe (uint32_t usec)
 Delay a given number of microseconds. More...
 
Ecode_t USTIMER_Init (void)
 Activate and initialize the hardware timer used to pace the 1 microsecond delay functions. More...