EFM32 Zero Gecko Software Documentation  efm32zg-doc-5.1.2
IDAC_Init_TypeDef Struct Reference

Detailed Description

IDAC init structure, common for both channels.

Definition at line 172 of file em_idac.h.

#include <em_idac.h>

Data Fields

bool enable
 
IDAC_OutMode_TypeDef outMode
 
bool prsEnable
 
IDAC_PRSSEL_TypeDef prsSel
 
bool sinkEnable
 

Field Documentation

bool IDAC_Init_TypeDef::enable

Enable IDAC.

Definition at line 175 of file em_idac.h.

Referenced by IDAC_Init().

IDAC_OutMode_TypeDef IDAC_Init_TypeDef::outMode

Output mode

Definition at line 178 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 185 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 191 of file em_idac.h.

Referenced by IDAC_Init().

bool IDAC_Init_TypeDef::sinkEnable

Enable/disable current sink mode.

Definition at line 194 of file em_idac.h.

Referenced by IDAC_Init().


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