|
ChibiOS
19.1.4
|
PLATFORM DAC subsystem low level driver header. More...
Go to the source code of this file.
Macros | |
| #define | DAC_MAX_CHANNELS 2 |
| Maximum number of DAC channels per unit. More... | |
| #define | dac_lld_driver_fields |
| Low level fields of the DAC driver structure. More... | |
| #define | dac_lld_config_fields |
| Low level fields of the DAC configuration structure. More... | |
| #define | dac_lld_conversion_group_fields |
| Low level fields of the DAC group configuration structure. 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 uint16_t | dacsample_t |
| Type representing a DAC sample. 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.