MG32F157 Standard Peripherals Firmware Library
|
This file provides all the DAC firmware functions. More...
Functions | |
void | DAC_DeInit (void) |
Deinitializes the DAC peripheral registers to their default reset values. More... | |
void | DAC_Init (uint32_t DAC_Channel, DAC_InitTypeDef *DAC_InitStruct) |
Initializes the DAC peripheral according to the specified parameters in the DAC_InitStruct. More... | |
void | DAC_StructInit (DAC_InitTypeDef *DAC_InitStruct) |
Fills each DAC_InitStruct member with its default value. More... | |
void | DAC_Cmd (uint32_t DAC_Channel, FunctionalState NewState) |
Enables or disables the specified DAC channel. More... | |
void | DAC_DMACmd (uint32_t DAC_Channel, FunctionalState NewState) |
Enables or disables the specified DAC channel DMA request. More... | |
void | DAC_SoftwareTriggerCmd (uint32_t DAC_Channel, FunctionalState NewState) |
Enables or disables the selected DAC channel software trigger. More... | |
void | DAC_DualSoftwareTriggerCmd (FunctionalState NewState) |
Enables or disables simultaneously the two DAC channels software triggers. More... | |
void | DAC_WaveGenerationCmd (uint32_t DAC_Channel, uint32_t DAC_Wave, FunctionalState NewState) |
Enables or disables the selected DAC channel wave generation. More... | |
void | DAC_SetChannel1Data (uint32_t DAC_Align, uint16_t Data) |
Set the specified data holding register value for DAC channel1. More... | |
void | DAC_SetChannel2Data (uint32_t DAC_Align, uint16_t Data) |
Set the specified data holding register value for DAC channel2. More... | |
void | DAC_SetDualChannelData (uint32_t DAC_Align, uint16_t Data2, uint16_t Data1) |
Set the specified data holding register value for dual channel DAC. More... | |
uint16_t | DAC_GetDataOutputValue (uint32_t DAC_Channel) |
Returns the last data output value of the selected DAC channel. More... | |
This file provides all the DAC firmware functions.