libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/stm32/dac.h>
Go to the source code of this file.
Functions | |
void | dac_enable (uint32_t dac, int channel) |
DAC Channel Enable. More... | |
void | dac_disable (uint32_t dac, int channel) |
DAC Channel Disable. More... | |
void | dac_dma_enable (uint32_t dac, int channel) |
DAC Channel DMA Enable. More... | |
void | dac_dma_disable (uint32_t dac, int channel) |
DAC Channel DMA Disable. More... | |
void | dac_trigger_enable (uint32_t dac, int channel) |
DAC Channel Trigger Enable. More... | |
void | dac_trigger_disable (uint32_t dac, int channel) |
DAC Channel Trigger Disable. More... | |
void | dac_set_trigger_source (uint32_t dac, uint32_t source) |
Set DAC Channel Trigger Source. More... | |
void | dac_set_waveform_generation (uint32_t dac, int channel, enum dac_wave wave) |
Set DAC Channel Waveform Generation mode for one or both channels. More... | |
void | dac_disable_waveform_generation (uint32_t dac, int channel) |
Disable DAC Channel Waveform Generation. More... | |
void | dac_set_waveform_characteristics (uint32_t dac, int channel, int mamp) |
Set DAC Channel LFSR Mask or Triangle Wave Amplitude. More... | |
void | dac_load_data_buffer_single (uint32_t dac, uint16_t data, enum dac_align align, int channel) |
Load DAC Data Register. More... | |
void | dac_load_data_buffer_dual (uint32_t dac, uint16_t data1, uint16_t data2, enum dac_align align) |
Load DAC Dual Data Register. More... | |
void | dac_software_trigger (uint32_t dac, int channel) |
Trigger the DAC by a Software Trigger. More... | |