G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
wave operation generates correlation functions.

Functions

__STATIC_INLINE void DDL_DAC_EnableSawtoothSoftwareTriggerB (DAC_TypeDef *DACx)
 Enable channel software trigger to generate sawtooth wave incrementally.
__STATIC_INLINE void DDL_DAC_SetSawtoothResetValue (DAC_TypeDef *DACx, uint32_t value)
 Set channel sawtooth reset value.
__STATIC_INLINE uint32_t DDL_DAC_GetSawtoothResetValue (DAC_TypeDef *DACx)
 Get channel sawtooth reset value.
__STATIC_INLINE void DDL_DAC_SetSawtoothDirection (DAC_TypeDef *DACx, uint32_t Direction)
 Set DAC channel sawtooth wave direction.
__STATIC_INLINE uint32_t DDL_DAC_GetSawtoothDirection (DAC_TypeDef *DACx)
 Get DAC channel sawtooth wave direction.
__STATIC_INLINE void DDL_DAC_SetSawtoothIncrementValue (DAC_TypeDef *DACx, uint32_t value)
 Set the increment value of the DAC channel sawtooth wave.
__STATIC_INLINE uint32_t DDL_DAC_GetSawtoothIncrementValue (DAC_TypeDef *DACx)
 Get the increment value of the DAC channel sawtooth wave.
__STATIC_INLINE void DDL_DAC_SetSawtoothResetTriggerSource (DAC_TypeDef *DACx, uint32_t source)
 Set the sawtooth wave reset trigger source.
__STATIC_INLINE uint32_t DDL_DAC_GetSawtoothResetTriggerSource (DAC_TypeDef *DACx)
 Get the sawtooth wave reset trigger source.
__STATIC_INLINE void DDL_DAC_SetSawtoothIncrementTriggerSource (DAC_TypeDef *DACx, uint32_t source)
 Set the sawtooth wave increment trigger source.
__STATIC_INLINE uint32_t DDL_DAC_GetSawtoothIncrementTriggerSource (DAC_TypeDef *DACx)
 Get the sawtooth wave increment trigger source.
__STATIC_INLINE uint32_t DDL_DAC_GetDORDataOverFlowStatus (DAC_TypeDef *DACx)
 Get DOR data overflow status.
__STATIC_INLINE void DDL_DAC_ClearDORDataOverFlowStatus (DAC_TypeDef *DACx)
 Clear DOR data overflow status.
__STATIC_INLINE uint32_t DDL_DAC_GetDORDataUnderFlowStatus (DAC_TypeDef *DACx)
 Get DOR data underflow status.
__STATIC_INLINE void DDL_DAC_ClearDORDataUnderFlowStatus (DAC_TypeDef *DACx)
 Clear DOR data underflow status.

Detailed Description

Function Documentation

◆ DDL_DAC_ClearDORDataOverFlowStatus()

__STATIC_INLINE void DDL_DAC_ClearDORDataOverFlowStatus ( DAC_TypeDef * DACx)

Clear DOR data overflow status.

Parameters
DACInstance
Return values
None

Definition at line 781 of file g32r4xx_ddl_dac.h.

◆ DDL_DAC_ClearDORDataUnderFlowStatus()

__STATIC_INLINE void DDL_DAC_ClearDORDataUnderFlowStatus ( DAC_TypeDef * DACx)

Clear DOR data underflow status.

Parameters
DACInstance
Return values
None

Definition at line 803 of file g32r4xx_ddl_dac.h.

◆ DDL_DAC_EnableSawtoothSoftwareTriggerB()

__STATIC_INLINE void DDL_DAC_EnableSawtoothSoftwareTriggerB ( DAC_TypeDef * DACx)

Enable channel software trigger to generate sawtooth wave incrementally.

Parameters
DACInstance
Return values
None.

Definition at line 618 of file g32r4xx_ddl_dac.h.

◆ DDL_DAC_GetDORDataOverFlowStatus()

__STATIC_INLINE uint32_t DDL_DAC_GetDORDataOverFlowStatus ( DAC_TypeDef * DACx)

Get DOR data overflow status.

Parameters
DACInstance
Return values
DORdata overflow status.

Definition at line 771 of file g32r4xx_ddl_dac.h.

◆ DDL_DAC_GetDORDataUnderFlowStatus()

__STATIC_INLINE uint32_t DDL_DAC_GetDORDataUnderFlowStatus ( DAC_TypeDef * DACx)

Get DOR data underflow status.

Parameters
DACInstance
Return values
DORdata underflow status.

Definition at line 793 of file g32r4xx_ddl_dac.h.

◆ DDL_DAC_GetSawtoothDirection()

__STATIC_INLINE uint32_t DDL_DAC_GetSawtoothDirection ( DAC_TypeDef * DACx)

Get DAC channel sawtooth wave direction.

Parameters
DACInstance
Return values
Direction

Definition at line 664 of file g32r4xx_ddl_dac.h.

◆ DDL_DAC_GetSawtoothIncrementTriggerSource()

◆ DDL_DAC_GetSawtoothIncrementValue()

__STATIC_INLINE uint32_t DDL_DAC_GetSawtoothIncrementValue ( DAC_TypeDef * DACx)

Get the increment value of the DAC channel sawtooth wave.

Parameters
DACInstance
Return values
0x0000~ 0x3FF

Definition at line 685 of file g32r4xx_ddl_dac.h.

◆ DDL_DAC_GetSawtoothResetTriggerSource()

◆ DDL_DAC_GetSawtoothResetValue()

__STATIC_INLINE uint32_t DDL_DAC_GetSawtoothResetValue ( DAC_TypeDef * DACx)

Get channel sawtooth reset value.

Parameters
DACInstance
Return values
0x000~ 0x3FF

Definition at line 639 of file g32r4xx_ddl_dac.h.

◆ DDL_DAC_SetSawtoothDirection()

__STATIC_INLINE void DDL_DAC_SetSawtoothDirection ( DAC_TypeDef * DACx,
uint32_t Direction )

Set DAC channel sawtooth wave direction.

Parameters
DACInstance
Direction
Return values
None.

Definition at line 652 of file g32r4xx_ddl_dac.h.

◆ DDL_DAC_SetSawtoothIncrementTriggerSource()

◆ DDL_DAC_SetSawtoothIncrementValue()

__STATIC_INLINE void DDL_DAC_SetSawtoothIncrementValue ( DAC_TypeDef * DACx,
uint32_t value )

Set the increment value of the DAC channel sawtooth wave.

Parameters
DACInstance
value0x0000 ~ 0x3FF
Return values
None.

Definition at line 675 of file g32r4xx_ddl_dac.h.

◆ DDL_DAC_SetSawtoothResetTriggerSource()

◆ DDL_DAC_SetSawtoothResetValue()

__STATIC_INLINE void DDL_DAC_SetSawtoothResetValue ( DAC_TypeDef * DACx,
uint32_t value )

Set channel sawtooth reset value.

Parameters
DACInstance
value0x000 ~ 0x3FF
Return values
None.

Definition at line 629 of file g32r4xx_ddl_dac.h.