EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
util.c File Reference

Detailed Description

Utility Functions for the Thunderboard Sense.

Version
5.1.1

License

Copyright 2016 Silicon Laboratories, Inc. http://www.silabs.com

This file is licensed under the Silicon Labs 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 util.c.

#include "thunderboard/board.h"
#include "thunderboard/util.h"
#include "em_cmu.h"
#include "em_emu.h"
#include "em_gpio.h"

Go to the source code of this file.

Functions

void SysTick_Handler (void)
 Interrupt Service Routine for system tick counter. More...
 
void UTIL_delay (uint32_t ms)
 Delays number of msTick Systicks (1 ms) More...
 
uint32_t UTIL_init (void)
 Sets up the SysTick timer for 1ms interrupts and initializes and starts the RTC timer. More...
 
void UTIL_shutdown (void)
 Enter lowest power shutdown mode, EM4S. More...