modm API documentation
|
#include <modm/driver/encoder/as5047.hpp>
Public Typedefs | |
using | Data = (Diaagc) enum class Register modm::IntegerAngle< 14 > |
using | Data = as5047::Data |
Public Types | |
enum | Errorfl : uint16_t { Parerr = Bit2, Invcomm = Bit1, Frerr = Bit0 } |
Public Member Functions | |
As5047 (Data &data) | |
void | read () |
Read the raw data from the sensor. | |
Data & | getData () |
Get the data object for this sensor. | |
void | attachConfigurationHandler (Spi::ConfigurationHandler handler) |
Protected Member Functions | |
bool | acquireMaster () |
bool | releaseMaster () |
data | pointer to buffer of the internal data of type Data |