![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_DAC_Enable (DAC_TypeDef *DACx) |
| Enable DAC. | |
| __STATIC_INLINE void | DDL_DAC_Disable (DAC_TypeDef *DACx) |
| Disable DAC. | |
| __STATIC_INLINE uint32_t | DDL_DAC_IsEnabled (DAC_TypeDef *DACx) |
| Get the status of whether DAC is enabled. | |
| __STATIC_INLINE void | DDL_DAC_SetChannelTriggerSource (DAC_TypeDef *DACx, uint32_t Source) |
| Set the trigger source for the channel. | |
| __STATIC_INLINE uint32_t | DDL_DAC_GetChannelTriggerSource (DAC_TypeDef *DACx) |
| Get the trigger source for the channel. | |
| __STATIC_INLINE void | DDL_DAC_LFSR_SetNoneMask (DAC_TypeDef *DACx, uint32_t mask) |
| Set the masking bits of the LFSR channel. | |
| __STATIC_INLINE uint32_t | DDL_DAC_LFSR_GetNoneMask (DAC_TypeDef *DACx) |
| Get the masking bits of the LFSR channel. | |
| __STATIC_INLINE void | DDL_DAC_SetTriangleWaveAmplitude (DAC_TypeDef *DACx, uint32_t waveAmp) |
| Set the triangle wave amplitude selector. | |
| __STATIC_INLINE uint32_t | DDL_DAC_GetTriangleWaveAmplitude (DAC_TypeDef *DACx) |
| Get the triangle wave amplitude selector. | |
| __STATIC_INLINE void | DDL_DAC_SetWaveGenerateType (DAC_TypeDef *DACx, uint32_t type) |
| Set the type of waveform generated. | |
| __STATIC_INLINE uint32_t | DDL_DAC_GetWaveGenerateType (DAC_TypeDef *DACx) |
| Get the type of waveform generated. | |
| __STATIC_INLINE void | DDL_DAC_EnableSoftwareTrigger (DAC_TypeDef *DACx) |
| Enable the channel software triggers the generation of waveforms. | |
| __STATIC_INLINE void | DDL_DAC_EnableResistorStringOutputToOpAmplifier (DAC_TypeDef *DACx) |
| Enable DAC resistor string output signal to operational amplifier input. | |
| __STATIC_INLINE void | DDL_DAC_DisableResistorStringOutputToOpAmplifier (DAC_TypeDef *DACx) |
| Disable DAC resistor string output signal to operational amplifier input. | |
| __STATIC_INLINE void | DDL_DAC_SetBufferOutputSource (DAC_TypeDef *DACx, uint32_t outputBufferSource) |
| Set whether the BUFFER output is connected to the PAD. | |
| __STATIC_INLINE uint32_t | DDL_DAC_GetBufferOutputSource (DAC_TypeDef *DACx) |
| Get whether the BUFFER output is connected to the PAD. | |
| __STATIC_INLINE void | DDL_DAC_SetRightAlignmentData (DAC_TypeDef *DACx, uint32_t data) |
| Set right-aligned data register. | |
| __STATIC_INLINE uint32_t | DDL_DAC_GetRightAlignmentData (DAC_TypeDef *DACx) |
| Get right-aligned data register. | |
| __STATIC_INLINE void | DDL_DAC_SetLeftAlignmentData (DAC_TypeDef *DACx, uint32_t data) |
| Set left-aligned data register. | |
| __STATIC_INLINE uint32_t | DDL_DAC_GetLeftAlignmentData (DAC_TypeDef *DACx) |
| Get left-aligned data register. | |
| __STATIC_INLINE uint32_t | DDL_DAC_GetOutputData (DAC_TypeDef *DACx) |
| Get data output data register. | |
| __STATIC_INLINE void DDL_DAC_Disable | ( | DAC_TypeDef * | DACx | ) |
Disable DAC.
| DAC | Instance |
| None |
Definition at line 322 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_DisableResistorStringOutputToOpAmplifier | ( | DAC_TypeDef * | DACx | ) |
Disable DAC resistor string output signal to operational amplifier input.
| DAC | Instance |
| None |
Definition at line 524 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_Enable | ( | DAC_TypeDef * | DACx | ) |
Enable DAC.
| DAC | Instance |
| None |
Definition at line 312 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_EnableResistorStringOutputToOpAmplifier | ( | DAC_TypeDef * | DACx | ) |
Enable DAC resistor string output signal to operational amplifier input.
| DAC | Instance |
| None |
Definition at line 514 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_EnableSoftwareTrigger | ( | DAC_TypeDef * | DACx | ) |
Enable the channel software triggers the generation of waveforms.
| DAC | Instance |
| None |
Definition at line 497 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE uint32_t DDL_DAC_GetBufferOutputSource | ( | DAC_TypeDef * | DACx | ) |
Get whether the BUFFER output is connected to the PAD.
| DAC | Instance |
| Wave | type |
Definition at line 549 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE uint32_t DDL_DAC_GetChannelTriggerSource | ( | DAC_TypeDef * | DACx | ) |
Get the trigger source for the channel.
| DAC | Instance |
| Trigger | source |
Definition at line 376 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE uint32_t DDL_DAC_GetLeftAlignmentData | ( | DAC_TypeDef * | DACx | ) |
Get left-aligned data register.
| DAC | Instance |
| data | 0x000 ~ 0x3FF |
Definition at line 591 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE uint32_t DDL_DAC_GetOutputData | ( | DAC_TypeDef * | DACx | ) |
Get data output data register.
| DAC | Instance |
| data | 0x000 ~ 0x3FF |
Definition at line 601 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE uint32_t DDL_DAC_GetRightAlignmentData | ( | DAC_TypeDef * | DACx | ) |
Get right-aligned data register.
| DAC | Instance |
| data | 0x000 ~ 0x3FF |
Definition at line 570 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE uint32_t DDL_DAC_GetTriangleWaveAmplitude | ( | DAC_TypeDef * | DACx | ) |
Get the triangle wave amplitude selector.
| DAC | Instance |
Definition at line 458 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE uint32_t DDL_DAC_GetWaveGenerateType | ( | DAC_TypeDef * | DACx | ) |
Get the type of waveform generated.
| DAC | Instance |
| Wave | type |
Definition at line 487 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE uint32_t DDL_DAC_IsEnabled | ( | DAC_TypeDef * | DACx | ) |
Get the status of whether DAC is enabled.
| DAC | Instance |
| 0 | or 1. |
Definition at line 332 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE uint32_t DDL_DAC_LFSR_GetNoneMask | ( | DAC_TypeDef * | DACx | ) |
Get the masking bits of the LFSR channel.
| DAC | Instance |
| Do | not mask LSFR bit. |
Definition at line 417 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_LFSR_SetNoneMask | ( | DAC_TypeDef * | DACx, |
| uint32_t | mask ) |
Set the masking bits of the LFSR channel.
| DAC | Instance |
| Do | not mask LSFR bit. |
| None |
Definition at line 397 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_SetBufferOutputSource | ( | DAC_TypeDef * | DACx, |
| uint32_t | outputBufferSource ) |
Set whether the BUFFER output is connected to the PAD.
| DAC | Instance |
| Wave | type |
| None |
Definition at line 537 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_SetChannelTriggerSource | ( | DAC_TypeDef * | DACx, |
| uint32_t | Source ) |
Set the trigger source for the channel.
| DAC | Instance |
| Trigger | source |
| None |
Definition at line 358 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_SetLeftAlignmentData | ( | DAC_TypeDef * | DACx, |
| uint32_t | data ) |
Set left-aligned data register.
| DAC | Instance |
| data | 0x000 ~ 0x3FF |
| None |
Definition at line 581 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_SetRightAlignmentData | ( | DAC_TypeDef * | DACx, |
| uint32_t | data ) |
Set right-aligned data register.
| DAC | Instance |
| data | 0x000 ~ 0x3FF |
| None |
Definition at line 560 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_SetTriangleWaveAmplitude | ( | DAC_TypeDef * | DACx, |
| uint32_t | waveAmp ) |
Set the triangle wave amplitude selector.
| None |
Definition at line 438 of file g32r4xx_ddl_dac.h.
| __STATIC_INLINE void DDL_DAC_SetWaveGenerateType | ( | DAC_TypeDef * | DACx, |
| uint32_t | type ) |
Set the type of waveform generated.
| DAC | Instance |
| Wave | type |
| None |
Definition at line 473 of file g32r4xx_ddl_dac.h.