|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The output encoder as last read. More...
#include <sense_sched.h>
Data Fields | |
| as5600_t | dev |
| bool | have_angle |
| uint8_t | status |
| uint16_t | raw |
| uint16_t | samples |
| bool | have_mag |
| uint8_t | agc |
| uint16_t | magnitude |
| uint32_t | slots |
| uint16_t | anchor |
| uint64_t | anchor_ms |
| bool | anchored |
The output encoder as last read.
| uint8_t sense_enc_t::agc |
automatic gain control, as last read
| uint16_t sense_enc_t::anchor |
the count the still time is held to
| uint64_t sense_enc_t::anchor_ms |
when it was set
| bool sense_enc_t::anchored |
an anchor is set
| bool sense_enc_t::have_angle |
raw holds a reading of this set-up
| bool sense_enc_t::have_mag |
whether magnitude holds a reading
| uint16_t sense_enc_t::magnitude |
magnet magnitude, as last read
| uint16_t sense_enc_t::raw |
RAW ANGLE, 0 to 4095
| uint16_t sense_enc_t::samples |
angle reads taken, modulo 65536
| uint32_t sense_enc_t::slots |
encoder slots taken
| uint8_t sense_enc_t::status |
STATUS as last read