EFM32 Giant Gecko Software Documentation  efm32gg-doc-5.1.2
em_usbtimer.c File Reference

Detailed Description

USB protocol stack library, timer API.

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 em_usbtimer.c.

#include "em_device.h"
#include "em_usb.h"
#include "em_cmu.h"
#include "em_core.h"
#include "em_timer.h"
#include "em_usbtypes.h"
#include "em_usbhal.h"

Go to the source code of this file.

Functions

void USBTIMER_DelayMs (uint32_t msec)
 Active wait millisecond delay function. Can also be used inside interrupt handlers. More...
 
void USBTIMER_DelayUs (uint32_t usec)
 Active wait microsecond delay function. Can also be used inside interrupt handlers. More...
 
void USBTIMER_Init (void)
 Activate the hardware timer used to pace the 1 millisecond timer system. More...
 
void USBTIMER_Start (uint32_t id, uint32_t timeout, USBTIMER_Callback_TypeDef callback)
 Start a timer. More...
 
void USBTIMER_Stop (uint32_t id)
 Stop a timer. More...