Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Initialization and de-initialization functions
[DAC Exported Functions]
Functions | |
ErrorStatus | LL_DAC_DeInit (DAC_TypeDef *DACx) |
De-initialize registers of the selected DAC instance to their default reset values. | |
ErrorStatus | LL_DAC_Init (DAC_TypeDef *DACx, uint32_t DAC_Channel, LL_DAC_InitTypeDef *DAC_InitStruct) |
Initialize some features of DAC instance. | |
void | LL_DAC_StructInit (LL_DAC_InitTypeDef *DAC_InitStruct) |
Set each LL_DAC_InitTypeDef field to default value. |
Function Documentation
ErrorStatus LL_DAC_DeInit | ( | DAC_TypeDef * | DACx ) |
De-initialize registers of the selected DAC instance to their default reset values.
- Parameters:
-
DACx DAC instance
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: DAC registers are de-initialized
- ERROR: not applicable
Definition at line 157 of file stm32l4xx_ll_dac.c.
ErrorStatus LL_DAC_Init | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel, | ||
LL_DAC_InitTypeDef * | DAC_InitStruct | ||
) |
Initialize some features of DAC instance.
- Note:
- The setting of these parameters by function LL_DAC_Init() is conditioned to DAC state: DAC instance must be disabled.
- Parameters:
-
DACx DAC instance DAC_Channel This parameter can be one of the following values: - LL_DAC_CHANNEL_1
- LL_DAC_CHANNEL_2
DAC_InitStruct Pointer to a LL_DAC_InitTypeDef structure
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: DAC registers are initialized
- ERROR: DAC registers are not initialized
Definition at line 185 of file stm32l4xx_ll_dac.c.
void LL_DAC_StructInit | ( | LL_DAC_InitTypeDef * | DAC_InitStruct ) |
Set each LL_DAC_InitTypeDef field to default value.
- Parameters:
-
DAC_InitStruct pointer to a LL_DAC_InitTypeDef structure whose fields will be set to default values.
- Return values:
-
None
Definition at line 265 of file stm32l4xx_ll_dac.c.
Generated on Tue Jul 12 2022 17:38:56 by
