ustimer.c File Reference

Microsecond delay functions.

License

Copyright 2018 Silicon Laboratories Inc. www.silabs.com

The licensor of this software is Silicon Laboratories Inc. Your use of this software is governed by the terms of Silicon Labs Master Software License Agreement (MSLA) available at www.silabs.com/about-us/legal/master-software-license-agreement. This software is distributed to you in Source Code format and is governed by the sections of the MSLA applicable to Source Code.

Definition in file ustimer.c .

#include <stdbool.h>
#include " em_device.h "
#include " em_common.h "
#include " em_cmu.h "
#include " em_emu.h "
#include " em_core.h "
#include " em_timer.h "
#include " ustimer.h "

Functions

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