|
BSP430
20141115
Board Support Package for MSP430 microcontrollers
|
#include <bsp430/sensors/hh10d.h>
Data Fields | |
| sBSP430halISRIndexedChainNode | cb |
| unsigned int | cal_offs |
| unsigned int | cal_sens |
| volatile sBSP430hplTIMER * | freq_timer |
| unsigned int | interval_tck |
| unsigned int | last_capture |
| unsigned int | last_period_count |
| unsigned int | flags |
State used to interact with the HH10D sensor.
| unsigned int sBSP430sensorsHH10Dstate::cal_offs |
Device-specific humidity calculation offset parameter by iBSP430sensorsHH10DgetCalibration().
| unsigned int sBSP430sensorsHH10Dstate::cal_sens |
Device-specific humidity calculation sensitivity parameter by iBSP430sensorsHH10DgetCalibration().
| sBSP430halISRIndexedChainNode sBSP430sensorsHH10Dstate::cb |
The callback node used for periodic sampling of the FOUT counter. The sBSP430halISRIndexedChainNode::callback_ni field should be set to
| unsigned int sBSP430sensorsHH10Dstate::flags |
Flags controlling behavior of the callback.
| volatile sBSP430hplTIMER* sBSP430sensorsHH10Dstate::freq_timer |
Reference to the timer that is counting device FOUT ticks.
| unsigned int sBSP430sensorsHH10Dstate::interval_tck |
The interval between periodic captures. Normal practice would be to set this to the frequency of the controlling alarm timer, so that captures are made at 1Hz. See BSP430_SENSORS_HH10D_FLAG_AUTOSAMPLE.
| unsigned int sBSP430sensorsHH10Dstate::last_capture |
The value from freq_timer at the last capture. Invalid unless BSP430_SENSORS_HH10D_FLAG_VALID_CAPTURE is set in flags.
| unsigned int sBSP430sensorsHH10Dstate::last_period_count |
The number of FOUT pulses within the last interval_tck period. Invalid unless BSP430_SENSORS_HH10D_FLAG_VALID_COUNT is set in flags.
1.8.8