semf
|
Interface for using DAC (Digital to Analog Converter) hardware module in interrupt mode. More...
#include <analogout.h>
Public Member Functions | |
virtual void | start () const =0 |
Starts the hardware module (DAC) for writing DAC values to the output. Call setValue before. More... | |
virtual void | stop () const =0 |
virtual void | setValue (uint32_t value)=0 |
Writes value into hardware register. Call start to output the value. More... | |
Public Attributes | |
Signal< Error > | error |
Interface for using DAC (Digital to Analog Converter) hardware module in interrupt mode.
Definition at line 22 of file analogout.h.
|
pure virtual |
Writes value
into hardware register. Call start
to output the value.
value | Digital to analog value. |
Implemented in semf::Stm32AnalogOut.
|
pure virtual |
Starts the hardware module (DAC) for writing DAC values to the output. Call setValue
before.
Implemented in semf::Stm32AnalogOut.
|
pure virtual |
Stops the DAC hardware.
Implemented in semf::Stm32AnalogOut.
Signal is emitted after an hardware error occurred.
Definition at line 43 of file analogout.h.