Feedback

Capture hall sensor data

Description

Start sending hall sensor data (work in progress; don't send this command)

Inputs

  1. u8 captureType: Indicates the type of data to capture. Currently 1 to 3 are valid.

  2. u32 nPointsToRead: Number of points to read back from the device

  3. 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

  4. 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

  5. u16 nSamplesToSum: Number of samples to sum together to make one point to transmit back

  6. 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

  1. general_data data: The data of the hall sensors after suming and averaging

Log window

Choose a theme
Choose a theme