EFM32 Happy Gecko Software Documentation  efm32hg-doc-4.2.1
IDAC_Init_TypeDef Struct Reference

#include <em_idac.h>

Data Fields

bool enable
 
IDAC_OutMode_TypeDef outMode
 
bool prsEnable
 
IDAC_PRSSEL_TypeDef prsSel
 
bool sinkEnable
 

Detailed Description

IDAC init structure, common for both channels.

Definition at line 146 of file em_idac.h.

Field Documentation

bool IDAC_Init_TypeDef::enable

Enable IDAC.

Definition at line 149 of file em_idac.h.

Referenced by IDAC_Init().

IDAC_OutMode_TypeDef IDAC_Init_TypeDef::outMode

Output mode

Definition at line 152 of file em_idac.h.

Referenced by IDAC_Init().

bool IDAC_Init_TypeDef::prsEnable

Enable Peripheral reflex system (PRS) to control IDAC output. If false, the IDAC output is controlled by writing to IDAC_OUTEN in IDAC_CTRL or by calling IDAC_OutEnable().

Definition at line 159 of file em_idac.h.

Referenced by IDAC_Init().

IDAC_PRSSEL_TypeDef IDAC_Init_TypeDef::prsSel

Peripheral reflex system channel selection. Only applicable if prsEnable is enabled.

Definition at line 165 of file em_idac.h.

Referenced by IDAC_Init().

bool IDAC_Init_TypeDef::sinkEnable

Enable/disable current sink mode.

Definition at line 168 of file em_idac.h.

Referenced by IDAC_Init().


The documentation for this struct was generated from the following file: