Home
last modified time | relevance | path

Searched refs:thresholdBits (Results 1 – 1 of 1) sorted by relevance

/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_PADS_2511020213301_hal/
DWSEN_PADS_2511020213301_hal.c679 uint32_t thresholdBits = (thresholdPa * 16) / 100; in PADS_setPressureThreshold() local
680 if (WE_FAIL == PADS_setPressureThresholdLSB(sensorInterface, (uint8_t) (thresholdBits & 0xFF))) in PADS_setPressureThreshold()
684 return PADS_setPressureThresholdMSB(sensorInterface, (uint8_t) ((thresholdBits >> 8) & 0xFF)); in PADS_setPressureThreshold()