EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
vddcheck.c File Reference

Detailed Description

VDD Voltage Check, using Voltage Comparator API.

Version
5.1.1

License

Copyright 2015 Silicon Labs, Inc. 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 vddcheck.c.

#include <stdint.h>
#include <stdbool.h>
#include "em_cmu.h"
#include "em_vcmp.h"
#include "vddcheck.h"

Go to the source code of this file.

Functions

void VDDCHECK_Disable (void)
 VCMP deinitialization routine.
 
void VDDCHECK_Init (void)
 VCMP initialization routine.
 
bool VDDCHECK_LowVoltage (float vdd)
 Check if voltage is higher than indicated. More...