Capture hall sensor data
Description
Start sending hall sensor data (work in progress; don't send this command)
Inputs
u8 captureType: Indicates the type of data to capture. Currently 1 to 3 are valid.
u32 nPointsToRead: Number of points to read back from the device
u8 channelsToCaptureBitmask: Channels to capture bitmask. The first three bits are valid, which will turn on (0) or turn off (0) that hall sensor channel
u16 timeStepsPerSample: Aquire a sample every this number of time steps. Time steps happen at the update frequency, which can be read with the Get product specs command
u16 nSamplesToSum: Number of samples to sum together to make one point to transmit back
u16 divisionFactor: Division factor to apply to the sum of the samples to scale it down before transmitting it so that it fits into the returned data type, which is a 16-bit number per each hall sensor
Outputs
general_data data: The data of the hall sensors after suming and averaging
Log window