TMF882X.Measure (tmf882x v0.1.1)
Manages the starting and stopping of the measurement process.
Link to this section Summary
Functions
Clears the interrupt register
Enables the interrupt register
Reads the data in the measurement registry and returns the decoded TMF882X.Result
struct.
Starts a measurement
Stops a measurement in progress
Waits for interrupt bit to be set. Useful when the interrupt pin is not used.
Link to this section Functions
Link to this function
clear_interrupts(pid)
Clears the interrupt register
Link to this function
enable_interrupt(pid)
Enables the interrupt register
Link to this function
read_data(pid)
Reads the data in the measurement registry and returns the decoded TMF882X.Result
struct.
Link to this function
start(pid)
Starts a measurement
Link to this function
stop(pid)
Stops a measurement in progress
Link to this function
wait_for_interrupt(pid, timeout)
Waits for interrupt bit to be set. Useful when the interrupt pin is not used.