G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
DDL_DAC_InitTypeDef Struct Reference

Structure definition of some features of DAC instance. More...

#include <g32r4xx_ddl_dac.h>

Data Fields

uint32_t TriggerSource
uint32_t WaveAutoGeneration
uint32_t WaveAutoGenerationConfig
uint32_t OutputBuffer

Detailed Description

Structure definition of some features of DAC instance.

Definition at line 258 of file g32r4xx_ddl_dac.h.

Field Documentation

◆ OutputBuffer

uint32_t DDL_DAC_InitTypeDef::OutputBuffer

Set the output buffer for the selected DAC channel. This parameter can be a value of DDL_DAC_EC_OUTPUT_BUFFER

This feature can be modified afterwards using unitary function DDL_DAC_SetOutputBuffer().

Definition at line 287 of file g32r4xx_ddl_dac.h.

◆ TriggerSource

uint32_t DDL_DAC_InitTypeDef::TriggerSource

Set the conversion trigger source for the selected DAC channel: internal (SW start) or from external peripheral (timer event, external interrupt line). This parameter can be a value of DAC channel trigger source

This feature can be modified afterwards using unitary function DDL_DAC_SetChannelTriggerSource().

Definition at line 260 of file g32r4xx_ddl_dac.h.

◆ WaveAutoGeneration

uint32_t DDL_DAC_InitTypeDef::WaveAutoGeneration

Set the waveform automatic generation mode for the selected DAC channel. This parameter can be a value of DDL_DAC_EC_WAVE_AUTO_GENERATION_MODE

This feature can be modified afterwards using unitary function DDL_DAC_SetWaveAutoGeneration().

Definition at line 268 of file g32r4xx_ddl_dac.h.

◆ WaveAutoGenerationConfig

uint32_t DDL_DAC_InitTypeDef::WaveAutoGenerationConfig

Set the waveform automatic generation mode for the selected DAC channel. If waveform automatic generation mode is set to noise, this parameter can be a value of DDL_DAC_EC_WAVE_NOISE_LFSR_UNMASK_BITS If waveform automatic generation mode is set to triangle, this parameter can be a value of DDL_DAC_EC_WAVE_TRIANGLE_AMPLITUDE

Note
If waveform automatic generation mode is disabled, this parameter is discarded.

This feature can be modified afterwards using unitary function DDL_DAC_SetWaveNoiseLFSR(), DDL_DAC_SetWaveTriangleAmplitude() depending on the wave automatic generation selected.

Definition at line 274 of file g32r4xx_ddl_dac.h.


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