#include <registers.h>
Public Member Functions | |
Accessor (Registers *registers, uint8_t register_index, uint8_t array_length=0, double scale_factor=1.0) | |
RegT | get (uint8_t field) const |
double | get_scaled (uint16_t field) const |
void | set (uint8_t field, RegT value) const |
void | set_scaled (uint16_t field, double value) const |
Public Member Functions inherited from um6::Accessor_ | |
Accessor_ (Registers *registers, uint8_t register_index, uint8_t register_width, uint8_t array_length) | |
void * | raw () const |
Private Attributes | |
const double | scale_ |
Additional Inherited Members | |
Public Attributes inherited from um6::Accessor_ | |
const uint8_t | index |
const uint16_t | length |
const uint8_t | width |
Definition at line 123 of file registers.h.
|
inline |
Definition at line 126 of file registers.h.
|
inline |
Definition at line 130 of file registers.h.
|
inline |
Definition at line 138 of file registers.h.
|
inline |
Definition at line 143 of file registers.h.
|
inline |
Definition at line 149 of file registers.h.
|
private |
Definition at line 155 of file registers.h.