TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle

Library Functions. More...

Functions

void TM_DAC_Init (TM_DAC_Channel_t DACx)
 Initializes DAC channel and its GPIO pin. More...
 
void TM_DAC_SetValue (TM_DAC_Channel_t DACx, uint16_t value)
 Sets analog value to ADCx. More...
 

Detailed Description

Library Functions.

Function Documentation

void TM_DAC_Init ( TM_DAC_Channel_t  DACx)

Initializes DAC channel and its GPIO pin.

Parameters
DACxDAC Channel you will use. This parameter can be a value of TM_DAC_Channel_t enumeration
Return values
None
void TM_DAC_SetValue ( TM_DAC_Channel_t  DACx,
uint16_t  value 
)

Sets analog value to ADCx.

Parameters
DACxDAC Channel you will use. This parameter can be a value of TM_DAC_Channel_t enumeration
value12-bit unsigned value for 12-bit DAC
Return values
None