Searched refs:reg_value (Results 1 – 5 of 5) sorted by relevance
1313 uint32_t reg_value; in NVIC_SetPriorityGrouping() local1316 …reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()1317 …reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk); /* clear bits to chang… in NVIC_SetPriorityGrouping()1318 reg_value = (reg_value | in NVIC_SetPriorityGrouping()1321 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
1293 uint32_t reg_value; in NVIC_SetPriorityGrouping() local1296 …reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()1297 …reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk); /* clear bits to chang… in NVIC_SetPriorityGrouping()1298 reg_value = (reg_value | in NVIC_SetPriorityGrouping()1301 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
1464 uint32_t reg_value; in NVIC_SetPriorityGrouping() local1467 …reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()1468 …reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk); /* clear bits to chang… in NVIC_SetPriorityGrouping()1469 reg_value = (reg_value | in NVIC_SetPriorityGrouping()1472 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
1651 uint32_t reg_value; in NVIC_SetPriorityGrouping() local1654 …reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()1655 …reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk); /* clear bits to chang… in NVIC_SetPriorityGrouping()1656 reg_value = (reg_value | in NVIC_SetPriorityGrouping()1659 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
2702 uint8_t i, reg_value = LSM6DSM_SENSOR_SLAVE_BARO_POWER_BASE; in lsm6dsm_setPressPower() local2708 reg_value |= LSM6DSM_SENSOR_SLAVE_BARO_RATES_REG_VALUE(i); in lsm6dsm_setPressPower()2710 reg_value |= LSM6DSM_SENSOR_SLAVE_BARO_POWER_OFF_VALUE; in lsm6dsm_setPressPower()2712 SPI_WRITE_SLAVE_SENSOR_REGISTER(LSM6DSM_SENSOR_SLAVE_BARO_POWER_ADDR, reg_value, in lsm6dsm_setPressPower()2779 uint8_t i, reg_value = LSM6DSM_SENSOR_SLAVE_BARO_POWER_BASE; in lsm6dsm_setTempPower() local2785 reg_value |= LSM6DSM_SENSOR_SLAVE_BARO_RATES_REG_VALUE(i); in lsm6dsm_setTempPower()2787 reg_value |= LSM6DSM_SENSOR_SLAVE_BARO_POWER_OFF_VALUE; in lsm6dsm_setTempPower()2789 SPI_WRITE_SLAVE_SENSOR_REGISTER(LSM6DSM_SENSOR_SLAVE_BARO_POWER_ADDR, reg_value, in lsm6dsm_setTempPower()