Home
last modified time | relevance | path

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

/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_PADS_2511020213301_hal/
DWSEN_PADS_2511020213301_hal.c1095 PADS_ctrl2_t ctrl2; in PADS_reboot() local
1097 if (WE_FAIL == PADS_ReadReg(sensorInterface, PADS_CTRL_2_REG, 1, (uint8_t *) &ctrl2)) in PADS_reboot()
1102 ctrl2.boot = reboot; in PADS_reboot()
1104 return PADS_WriteReg(sensorInterface, PADS_CTRL_2_REG, 1, (uint8_t *) &ctrl2); in PADS_reboot()
1115 PADS_ctrl2_t ctrl2; in PADS_isRebooting() local
1117 if (WE_FAIL == PADS_ReadReg(sensorInterface, PADS_CTRL_2_REG, 1, (uint8_t *) &ctrl2)) in PADS_isRebooting()
1121 *reboot = (PADS_state_t) ctrl2.boot; in PADS_isRebooting()
1154 PADS_ctrl2_t ctrl2; in PADS_setInterruptActiveLevel() local
1156 if (WE_FAIL == PADS_ReadReg(sensorInterface, PADS_CTRL_2_REG, 1, (uint8_t *) &ctrl2)) in PADS_setInterruptActiveLevel()
1161 ctrl2.intActiveLevel = level; in PADS_setInterruptActiveLevel()
[all …]
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_ITDS_2533020201601_hal/
DWSEN_ITDS_2533020201601_hal.c234 ITDS_ctrl2_t ctrl2; in ITDS_reboot() local
236 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_2_REG, 1, (uint8_t *) &ctrl2)) in ITDS_reboot()
241 ctrl2.boot = reboot; in ITDS_reboot()
243 return ITDS_WriteReg(sensorInterface, ITDS_CTRL_2_REG, 1, (uint8_t *) &ctrl2); in ITDS_reboot()
254 ITDS_ctrl2_t ctrl2; in ITDS_isRebooting() local
256 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_2_REG, 1, (uint8_t *) &ctrl2)) in ITDS_isRebooting()
261 *rebooting = (ITDS_state_t) ctrl2.boot; in ITDS_isRebooting()
274 ITDS_ctrl2_t ctrl2; in ITDS_softReset() local
276 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_2_REG, 1, (uint8_t *) &ctrl2)) in ITDS_softReset()
281 ctrl2.softReset = swReset; in ITDS_softReset()
[all …]
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_ISDS_2536030320001_hal/
DWSEN_ISDS_2536030320001_hal.c1250 ISDS_ctrl2_t ctrl2; in ISDS_setGyroFullScale() local
1252 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_CTRL_2_REG, 1, (uint8_t *) &ctrl2)) in ISDS_setGyroFullScale()
1257 ctrl2.gyroFullScale = fullScale; in ISDS_setGyroFullScale()
1259 int8_t errCode = ISDS_WriteReg(sensorInterface, ISDS_CTRL_2_REG, 1, (uint8_t *) &ctrl2); in ISDS_setGyroFullScale()
1278 ISDS_ctrl2_t ctrl2; in ISDS_getGyroFullScale() local
1280 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_CTRL_2_REG, 1, (uint8_t *) &ctrl2)) in ISDS_getGyroFullScale()
1285 *fullScale = (ISDS_gyroFullScale_t) ctrl2.gyroFullScale; in ISDS_getGyroFullScale()
1301 ISDS_ctrl2_t ctrl2; in ISDS_setGyroOutputDataRate() local
1303 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_CTRL_2_REG, 1, (uint8_t *) &ctrl2)) in ISDS_setGyroOutputDataRate()
1308 ctrl2.gyroOutputDataRate = odr; in ISDS_setGyroOutputDataRate()
[all …]