Class hal::soft::inert_dac
ClassList > hal > soft > inert_dac
Inert implementation of Digital to Analog Converter (DAC) hardware.
#include <inert_dac.hpp>
Inherits the following classes: hal::dac
Public Functions inherited from hal::dac
See hal::dac
Type | Name |
---|---|
result< write_t > | write (float p_percentage) Set the output voltage of the DAC. |
virtual | ~dac () = default |
Public Static Functions
Type | Name |
---|---|
result< inert_dac > | create () Factory function to create inert_dac object. |
Public Static Functions Documentation
function create
Factory function to create inert_dac object.
static inline result< inert_dac > hal::soft::inert_dac::create ()
Returns:
result<inert_dac> - Constructed inert_dac object
The documentation for this class was generated from the following file libraries/include/libhal-soft/inert_drivers/inert_dac.hpp