Get hall sensor statistics
Description
Read back the statistics gathered from the hall sensors. Useful for checking the hall sensor health and noise in the system.
Inputs
None
Outputs
u16 maxHall1: The maximum value of hall sensor 1 encoutered since the last statistics reset.
u16 maxHall2: The maximum value of hall sensor 2 encoutered since the last statistics reset.
u16 maxHall3: The maximum value of hall sensor 3 encoutered since the last statistics reset.
u16 minHall1: The minimum value of hall sensor 1 encoutered since the last statistics reset.
u16 minHall2: The minimum value of hall sensor 2 encoutered since the last statistics reset.
u16 minHall3: The minimum value of hall sensor 3 encoutered since the last statistics reset.
u64 sumHall1: The sum of hall sensor 1 values collected since the last statistics reset.
u64 sumHall2: The sum of hall sensor 2 values collected since the last statistics reset.
u64 sumHall3: The sum of hall sensor 3 values collected since the last statistics reset.
u32 measurementCount: The number of times the hall sensors were measured since the last statistics reset.
Code examples
Log window