G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
DAC Exported Init functions

Functions

ErrorStatus DDL_DAC_DeInit (DAC_TypeDef *DACx)
 Initialization and de-initialization functions.
ErrorStatus DDL_DAC_Init (DAC_TypeDef *DACx, DDL_DAC_InitTypeDef *DAC_InitStruct)
 Initialize some features of DAC channel. or one of the supported autogenerated wave.
void DDL_DAC_StructInit (DDL_DAC_InitTypeDef *DAC_InitStruct)
 Set each DDL_DAC_InitTypeDef field to default value.

Detailed Description

Function Documentation

◆ DDL_DAC_DeInit()

ErrorStatus DDL_DAC_DeInit ( DAC_TypeDef * DACx)

Initialization and de-initialization functions.

De-initialize registers of the selected DAC instance to their default reset values.

Parameters
DACxDAC instance
Return values
AnErrorStatus enumeration value:

Definition at line 149 of file g32r4xx_ddl_dac.c.

◆ DDL_DAC_Init()

ErrorStatus DDL_DAC_Init ( DAC_TypeDef * DACx,
DDL_DAC_InitTypeDef * DAC_InitStruct )

Initialize some features of DAC channel. or one of the supported autogenerated wave.

Note
This function allows configuration of:
  • Output mode
  • Trigger
  • Wave generation
The setting of these parameters by function DDL_DAC_Init() is conditioned to DAC state: DAC channel must be disabled.
Parameters
DACxDAC instance
DAC_ChannelThis parameter can be one of the following values:
  • DDL_DAC_CHANNEL_1
DAC_InitStructPointer to a DDL_DAC_InitTypeDef structure
Return values
AnErrorStatus enumeration value:

Definition at line 196 of file g32r4xx_ddl_dac.c.

◆ DDL_DAC_StructInit()

void DDL_DAC_StructInit ( DDL_DAC_InitTypeDef * DAC_InitStruct)

Set each DDL_DAC_InitTypeDef field to default value.

Parameters
DAC_InitStructpointer to a DDL_DAC_InitTypeDef structure whose fields will be set to default values.
Return values
None

Definition at line 265 of file g32r4xx_ddl_dac.c.