DAC_InitChannel_TypeDef Struct Reference

DAC channel initialization structure.

#include <em_dac.h>

Data Fields

bool enable
Enable channel.
bool prsEnable
Peripheral reflex system trigger enable.
bool refreshEnable
Enable/disable automatic refresh of channel.
DAC_PRSSEL_TypeDef prsSel
Peripheral reflex system trigger selection.

DAC channel initialization structure.

Field Documentation

enable

bool DAC_InitChannel_TypeDef::enable

Enable channel.

prsEnable

bool DAC_InitChannel_TypeDef::prsEnable

Peripheral reflex system trigger enable.

If false, channel is triggered by writing to CHnDATA.

refreshEnable

bool DAC_InitChannel_TypeDef::refreshEnable

Enable/disable automatic refresh of channel.

Refresh interval must be defined in common control initialization, see DAC_Init() for more information.

prsSel

DAC_PRSSEL_TypeDef DAC_InitChannel_TypeDef::prsSel

Peripheral reflex system trigger selection.

Only applicable if prsEnable is enabled.