AS5047U Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
as5047u::Diagnostics Struct Reference

DIA, decoded: the state of the chip's internal loops. More...

#include <as5047u_types.hpp>

Public Attributes

bool vdd_5v {false}
 VDD_mode: the chip runs from 5 V (else 3.3 V).
 
bool loops_finished {false}
 Every magnetic loop has settled.
 
bool cordic_overflow {false}
 CORDIC overflow.
 
bool agc_low {false}
 AGC at its low limit (field too strong).
 
bool agc_high {false}
 AGC at its high limit (field too weak).
 
bool mag_half {false}
 Field at half the regulated value.
 
bool offset_comp_done {false}
 Offset compensation finished.
 
bool agc_done {false}
 AGC loop finished.
 
uint8_t spi_frame_count {0}
 SPI_cnt: frames since the last read of DIA, modulo 4.
 
uint16_t raw {0}
 The register value.
 

Detailed Description

DIA, decoded: the state of the chip's internal loops.


The documentation for this struct was generated from the following file: