ChibiOS/HAL
6.1.0
|
PLATFORM DAC subsystem low level driver header. More...
Go to the source code of this file.
Data Structures | |
struct | DACConversionGroup |
DAC Conversion group structure. More... | |
struct | DACConfig |
Driver configuration structure. More... | |
struct | DACDriver |
Structure representing a DAC driver. More... | |
Macros | |
#define | DAC_MAX_CHANNELS 2 |
Maximum number of DAC channels per unit. More... | |
Configuration options | |
#define | PLATFORM_DAC_USE_DAC1 FALSE |
DAC1 CH1 driver enable switch. More... | |
Typedefs | |
typedef uint32_t | dacchannel_t |
Type of a DAC channel index. More... | |
typedef struct DACDriver | DACDriver |
Type of a structure representing an DAC driver. More... | |
typedef uint16_t | dacsample_t |
Type representing a DAC sample. More... | |
typedef void(* | daccallback_t) (DACDriver *dacp, dacsample_t *buffer, size_t n) |
DAC notification callback type. More... | |
typedef void(* | dacerrorcallback_t) (DACDriver *dacp, dacerror_t err) |
DAC error callback type. More... | |
Enumerations |
Functions | |
void | dac_lld_init (void) |
Low level DAC driver initialization. More... | |
void | dac_lld_start (DACDriver *dacp) |
Configures and activates the DAC peripheral. More... | |
void | dac_lld_stop (DACDriver *dacp) |
Deactivates the DAC peripheral. More... | |
void | dac_lld_put_channel (DACDriver *dacp, dacchannel_t channel, dacsample_t sample) |
Outputs a value directly on a DAC channel. More... | |
void | dac_lld_start_conversion (DACDriver *dacp) |
Starts a DAC conversion. More... | |
void | dac_lld_stop_conversion (DACDriver *dacp) |
Stops an ongoing conversion. More... | |
PLATFORM DAC subsystem low level driver header.
Definition in file hal_dac_lld.h.