Digital to Analog Conversion (DAC) support.
Contents
DAC device type.
Public Members
- dac_reg_map * regs
Register map.
Warning
doxygenstruct: Cannot find struct “dac_reg_map” in doxygen xml output for project “project0” from directory: /home/mbolivar/leaf/libmaple/doxygen/xml
Warning
doxygenvariable: Cannot find variable “DAC” in doxygen xml output for project “project0” from directory: /home/mbolivar/leaf/libmaple/doxygen/xml
Initialize the digital to analog converter.
Parameters: |
|
---|---|
Side Effects:: | May set PA4 or PA5 to INPUT_ANALOG |
Write a 12-bit value to the DAC to output.
Parameters: |
|
---|
Enable a DAC channel.
Parameters: |
|
---|---|
Side Effects:: | May change pin mode of PA4 or PA5 |
Disable a DAC channel.
Parameters: |
|
---|
Channel 1:
Channel 2: