Class hal::current_sensor
ClassList > hal > current_sensor
current sensor hardware abstraction interface
#include <current_sensor.hpp>
Inherited by the following classes: hal::rmd::mc_x_current_sensor
Classes
Type | Name |
---|---|
struct | read_t current reading from the sensor |
Public Functions
Type | Name |
---|---|
result< read_t > | read () Reads the most up to date current from the sensor. |
virtual | ~current_sensor () = default |
Public Functions Documentation
function read
Reads the most up to date current from the sensor.
inline result< read_t > hal::current_sensor::read ()
Returns:
result<read_t> - current data
function ~current_sensor
virtual hal::current_sensor::~current_sensor () = default
The documentation for this class was generated from the following file libraries/include/libhal/current_sensor.hpp