|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| __STATIC_INLINE void | LL_DAC_SetHighFrequencyMode (DAC_TypeDef *DACx, uint32_t HighFreqMode) |
| Set the high frequency interface mode for the selected DAC instance CR HFSEL LL_DAC_SetHighFrequencyMode. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetHighFrequencyMode (DAC_TypeDef *DACx) |
| Get the high frequency interface mode for the selected DAC instance CR HFSEL LL_DAC_GetHighFrequencyMode. More... | |
| __STATIC_INLINE void | LL_DAC_SetMode (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t ChannelMode) |
| Set the operating mode for the selected DAC channel: calibration or normal operating mode. CR CEN1 LL_DAC_SetMode CR CEN2 LL_DAC_SetMode. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetMode (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the operating mode for the selected DAC channel: calibration or normal operating mode. CR CEN1 LL_DAC_GetMode CR CEN2 LL_DAC_GetMode. More... | |
| __STATIC_INLINE void | LL_DAC_SetTrimmingValue (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t TrimmingValue) |
| Set the offset trimming value for the selected DAC channel. Trimming has an impact when output buffer is enabled and is intended to replace factory calibration default values. CCR OTRIM1 LL_DAC_SetTrimmingValue CCR OTRIM2 LL_DAC_SetTrimmingValue. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetTrimmingValue (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the offset trimming value for the selected DAC channel. Trimming has an impact when output buffer is enabled and is intended to replace factory calibration default values. CCR OTRIM1 LL_DAC_GetTrimmingValue CCR OTRIM2 LL_DAC_GetTrimmingValue. More... | |
| __STATIC_INLINE void | LL_DAC_SetTriggerSource (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t TriggerSource) |
| Set the conversion trigger source for the selected DAC channel. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetTriggerSource (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the conversion trigger source for the selected DAC channel. More... | |
| __STATIC_INLINE void | LL_DAC_SetWaveAutoGeneration (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t WaveAutoGeneration) |
| Set the waveform automatic generation mode for the selected DAC channel. CR WAVE1 LL_DAC_SetWaveAutoGeneration CR WAVE2 LL_DAC_SetWaveAutoGeneration. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetWaveAutoGeneration (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the waveform automatic generation mode for the selected DAC channel. CR WAVE1 LL_DAC_GetWaveAutoGeneration CR WAVE2 LL_DAC_GetWaveAutoGeneration. More... | |
| __STATIC_INLINE void | LL_DAC_SetWaveNoiseLFSR (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t NoiseLFSRMask) |
| Set the noise waveform generation for the selected DAC channel: Noise mode and parameters LFSR (linear feedback shift register). More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetWaveNoiseLFSR (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the noise waveform generation for the selected DAC channel: Noise mode and parameters LFSR (linear feedback shift register). CR MAMP1 LL_DAC_GetWaveNoiseLFSR CR MAMP2 LL_DAC_GetWaveNoiseLFSR. More... | |
| __STATIC_INLINE void | LL_DAC_SetWaveTriangleAmplitude (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t TriangleAmplitude) |
| Set the triangle waveform generation for the selected DAC channel: triangle mode and amplitude. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetWaveTriangleAmplitude (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the triangle waveform generation for the selected DAC channel: triangle mode and amplitude. CR MAMP1 LL_DAC_GetWaveTriangleAmplitude CR MAMP2 LL_DAC_GetWaveTriangleAmplitude. More... | |
| __STATIC_INLINE void | LL_DAC_ConfigOutput (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t OutputMode, uint32_t OutputBuffer, uint32_t OutputConnection) |
| Set the output for the selected DAC channel. More... | |
| __STATIC_INLINE void | LL_DAC_SetOutputMode (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t OutputMode) |
| Set the output mode normal or sample-and-hold for the selected DAC channel. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetOutputMode (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the output mode normal or sample-and-hold for the selected DAC channel. CR MODE1 LL_DAC_GetOutputMode CR MODE2 LL_DAC_GetOutputMode. More... | |
| __STATIC_INLINE void | LL_DAC_SetOutputBuffer (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t OutputBuffer) |
| Set the output buffer for the selected DAC channel. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetOutputBuffer (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the output buffer state for the selected DAC channel. CR MODE1 LL_DAC_GetOutputBuffer CR MODE2 LL_DAC_GetOutputBuffer. More... | |
| __STATIC_INLINE void | LL_DAC_SetOutputConnection (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t OutputConnection) |
| Set the output connection for the selected DAC channel. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetOutputConnection (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the output connection for the selected DAC channel. More... | |
| __STATIC_INLINE void | LL_DAC_SetSampleAndHoldSampleTime (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t SampleTime) |
| Set the sample-and-hold timing for the selected DAC channel: sample time. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetSampleAndHoldSampleTime (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the sample-and-hold timing for the selected DAC channel: sample time SHSR1 TSAMPLE1 LL_DAC_GetSampleAndHoldSampleTime SHSR2 TSAMPLE2 LL_DAC_GetSampleAndHoldSampleTime. More... | |
| __STATIC_INLINE void | LL_DAC_SetSampleAndHoldHoldTime (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t HoldTime) |
| Set the sample-and-hold timing for the selected DAC channel: hold time SHHR THOLD1 LL_DAC_SetSampleAndHoldHoldTime SHHR THOLD2 LL_DAC_SetSampleAndHoldHoldTime. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetSampleAndHoldHoldTime (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the sample-and-hold timing for the selected DAC channel: hold time SHHR THOLD1 LL_DAC_GetSampleAndHoldHoldTime SHHR THOLD2 LL_DAC_GetSampleAndHoldHoldTime. More... | |
| __STATIC_INLINE void | LL_DAC_SetSampleAndHoldRefreshTime (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t RefreshTime) |
| Set the sample-and-hold timing for the selected DAC channel: refresh time SHRR TREFRESH1 LL_DAC_SetSampleAndHoldRefreshTime SHRR TREFRESH2 LL_DAC_SetSampleAndHoldRefreshTime. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_GetSampleAndHoldRefreshTime (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Get the sample-and-hold timing for the selected DAC channel: refresh time SHRR TREFRESH1 LL_DAC_GetSampleAndHoldRefreshTime SHRR TREFRESH2 LL_DAC_GetSampleAndHoldRefreshTime. More... | |
| __STATIC_INLINE void LL_DAC_ConfigOutput | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | OutputMode, | ||
| uint32_t | OutputBuffer, | ||
| uint32_t | OutputConnection | ||
| ) |
Set the output for the selected DAC channel.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| OutputMode | This parameter can be one of the following values:
|
| OutputBuffer | This parameter can be one of the following values:
|
| OutputConnection | This parameter can be one of the following values:
|
| None |
Definition at line 1013 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetHighFrequencyMode | ( | DAC_TypeDef * | DACx | ) |
Get the high frequency interface mode for the selected DAC instance CR HFSEL LL_DAC_GetHighFrequencyMode.
| DACx | DAC instance |
| Returned | value can be one of the following values:
|
Definition at line 606 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetMode | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the operating mode for the selected DAC channel: calibration or normal operating mode. CR CEN1 LL_DAC_GetMode
CR CEN2 LL_DAC_GetMode.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 654 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetOutputBuffer | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the output buffer state for the selected DAC channel. CR MODE1 LL_DAC_GetOutputBuffer
CR MODE2 LL_DAC_GetOutputBuffer.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 1115 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetOutputConnection | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the output connection for the selected DAC channel.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 1180 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetOutputMode | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the output mode normal or sample-and-hold for the selected DAC channel. CR MODE1 LL_DAC_GetOutputMode
CR MODE2 LL_DAC_GetOutputMode.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 1066 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetSampleAndHoldHoldTime | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the sample-and-hold timing for the selected DAC channel: hold time SHHR THOLD1 LL_DAC_GetSampleAndHoldHoldTime
SHHR THOLD2 LL_DAC_GetSampleAndHoldHoldTime.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Value | between Min_Data=0x000 and Max_Data=0x3FF |
Definition at line 1272 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetSampleAndHoldRefreshTime | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the sample-and-hold timing for the selected DAC channel: refresh time SHRR TREFRESH1 LL_DAC_GetSampleAndHoldRefreshTime
SHRR TREFRESH2 LL_DAC_GetSampleAndHoldRefreshTime.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Value | between Min_Data=0x00 and Max_Data=0xFF |
Definition at line 1315 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetSampleAndHoldSampleTime | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the sample-and-hold timing for the selected DAC channel: sample time SHSR1 TSAMPLE1 LL_DAC_GetSampleAndHoldSampleTime
SHSR2 TSAMPLE2 LL_DAC_GetSampleAndHoldSampleTime.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Value | between Min_Data=0x000 and Max_Data=0x3FF |
Definition at line 1229 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetTriggerSource | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the conversion trigger source for the selected DAC channel.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 765 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetTrimmingValue | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the offset trimming value for the selected DAC channel. Trimming has an impact when output buffer is enabled and is intended to replace factory calibration default values. CCR OTRIM1 LL_DAC_GetTrimmingValue
CCR OTRIM2 LL_DAC_GetTrimmingValue.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| TrimmingValue | Value between Min_Data=0x00 and Max_Data=0x1F |
Definition at line 693 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetWaveAutoGeneration | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the waveform automatic generation mode for the selected DAC channel. CR WAVE1 LL_DAC_GetWaveAutoGeneration
CR WAVE2 LL_DAC_GetWaveAutoGeneration.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 814 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetWaveNoiseLFSR | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the noise waveform generation for the selected DAC channel: Noise mode and parameters LFSR (linear feedback shift register). CR MAMP1 LL_DAC_GetWaveNoiseLFSR
CR MAMP2 LL_DAC_GetWaveNoiseLFSR.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 886 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE uint32_t LL_DAC_GetWaveTriangleAmplitude | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Get the triangle waveform generation for the selected DAC channel: triangle mode and amplitude. CR MAMP1 LL_DAC_GetWaveTriangleAmplitude
CR MAMP2 LL_DAC_GetWaveTriangleAmplitude.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Returned | value can be one of the following values:
|
Definition at line 959 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetHighFrequencyMode | ( | DAC_TypeDef * | DACx, |
| uint32_t | HighFreqMode | ||
| ) |
Set the high frequency interface mode for the selected DAC instance CR HFSEL LL_DAC_SetHighFrequencyMode.
| DACx | DAC instance |
| HighFreqMode | This parameter can be one of the following values:
|
| None |
Definition at line 593 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetMode | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | ChannelMode | ||
| ) |
Set the operating mode for the selected DAC channel: calibration or normal operating mode. CR CEN1 LL_DAC_SetMode
CR CEN2 LL_DAC_SetMode.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| ChannelMode | This parameter can be one of the following values:
|
| None |
Definition at line 634 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetOutputBuffer | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | OutputBuffer | ||
| ) |
Set the output buffer for the selected DAC channel.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| OutputBuffer | This parameter can be one of the following values:
|
| None |
Definition at line 1093 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetOutputConnection | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | OutputConnection | ||
| ) |
Set the output connection for the selected DAC channel.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| OutputConnection | This parameter can be one of the following values:
|
| None |
Definition at line 1148 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetOutputMode | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | OutputMode | ||
| ) |
Set the output mode normal or sample-and-hold for the selected DAC channel.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| OutputMode | This parameter can be one of the following values:
|
| None |
Definition at line 1044 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetSampleAndHoldHoldTime | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | HoldTime | ||
| ) |
Set the sample-and-hold timing for the selected DAC channel: hold time SHHR THOLD1 LL_DAC_SetSampleAndHoldHoldTime
SHHR THOLD2 LL_DAC_SetSampleAndHoldHoldTime.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| HoldTime | Value between Min_Data=0x000 and Max_Data=0x3FF |
| None |
Definition at line 1251 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetSampleAndHoldRefreshTime | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | RefreshTime | ||
| ) |
Set the sample-and-hold timing for the selected DAC channel: refresh time SHRR TREFRESH1 LL_DAC_SetSampleAndHoldRefreshTime
SHRR TREFRESH2 LL_DAC_SetSampleAndHoldRefreshTime.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| RefreshTime | Value between Min_Data=0x00 and Max_Data=0xFF |
| None |
Definition at line 1294 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetSampleAndHoldSampleTime | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | SampleTime | ||
| ) |
Set the sample-and-hold timing for the selected DAC channel: sample time.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| SampleTime | Value between Min_Data=0x000 and Max_Data=0x3FF |
| None |
Definition at line 1206 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetTriggerSource | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | TriggerSource | ||
| ) |
Set the conversion trigger source for the selected DAC channel.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| TriggerSource | This parameter can be one of the following values:
|
| None |
Definition at line 729 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetTrimmingValue | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | TrimmingValue | ||
| ) |
Set the offset trimming value for the selected DAC channel. Trimming has an impact when output buffer is enabled and is intended to replace factory calibration default values. CCR OTRIM1 LL_DAC_SetTrimmingValue
CCR OTRIM2 LL_DAC_SetTrimmingValue.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| TrimmingValue | Value between Min_Data=0x00 and Max_Data=0x1F |
| None |
Definition at line 674 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetWaveAutoGeneration | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | WaveAutoGeneration | ||
| ) |
Set the waveform automatic generation mode for the selected DAC channel. CR WAVE1 LL_DAC_SetWaveAutoGeneration
CR WAVE2 LL_DAC_SetWaveAutoGeneration.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| WaveAutoGeneration | This parameter can be one of the following values:
|
| None |
Definition at line 790 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetWaveNoiseLFSR | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | NoiseLFSRMask | ||
| ) |
Set the noise waveform generation for the selected DAC channel: Noise mode and parameters LFSR (linear feedback shift register).
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| NoiseLFSRMask | This parameter can be one of the following values:
|
| None |
Definition at line 853 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_SetWaveTriangleAmplitude | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel, | ||
| uint32_t | TriangleAmplitude | ||
| ) |
Set the triangle waveform generation for the selected DAC channel: triangle mode and amplitude.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| TriangleAmplitude | This parameter can be one of the following values:
|
| None |
Definition at line 925 of file stm32l4xx_ll_dac.h.