EFR32 Blue Gecko 12 Software Documentation
efr32bg12-doc-5.1.2
|
Digital to Analog Converter (VDAC) Peripheral API.
Copyright 2016 Silicon Laboratories, Inc. http://www.silabs.com
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no obligation to support this Software. Silicon Labs is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.
Silicon Labs will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.
Definition in file em_vdac.c.
Go to the source code of this file.
Functions | |
void | VDAC_ChannelOutputSet (VDAC_TypeDef *vdac, unsigned int channel, uint32_t value) |
Set the output signal of a VDAC channel to a given value. More... | |
void | VDAC_Enable (VDAC_TypeDef *vdac, unsigned int ch, bool enable) |
Enable/disable VDAC channel. More... | |
void | VDAC_Init (VDAC_TypeDef *vdac, const VDAC_Init_TypeDef *init) |
Initialize VDAC. More... | |
void | VDAC_InitChannel (VDAC_TypeDef *vdac, const VDAC_InitChannel_TypeDef *init, unsigned int ch) |
Initialize a VDAC channel. More... | |
uint32_t | VDAC_PrescaleCalc (uint32_t vdacFreq, bool syncMode, uint32_t hfperFreq) |
Calculate prescaler value used to determine VDAC clock. More... | |
void | VDAC_Reset (VDAC_TypeDef *vdac) |
Reset VDAC to same state as after a HW reset. More... | |