|
TM STM32F4xx Libraries
v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
|
Library Functions. More...
Functions | |
| void | TM_DAC_Init (TM_DAC_Channel_t DACx) |
| Initializes DAC channel and it's pin. More... | |
| void | TM_DAC_SetValue (TM_DAC_Channel_t DACx, uint16_t value) |
| Sets analog value to ADCx. More... | |
Library Functions.
| void TM_DAC_Init | ( | TM_DAC_Channel_t | DACx | ) |
Initializes DAC channel and it's pin.
| DACx | DAC Channel you will use. This parameter can be a value of TM_DAC_Channel_t enumeration |
| None |
| void TM_DAC_SetValue | ( | TM_DAC_Channel_t | DACx, |
| uint16_t | value | ||
| ) |
Sets analog value to ADCx.
| DACx | DAC Channel you will use. This parameter can be a value of TM_DAC_Channel_t enumeration |
| value | 12-bit unsigned value for 12-bit DAC |
| None |