Searched refs:reg_value (Results 1 – 9 of 9) sorted by relevance
1019 uint32_t reg_value; in FLASH_OB_PCROPConfig() local1062 reg_value = ((PCROPStartAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig()1063 MODIFY_REG(FLASH->PCROP1SR, FLASH_PCROP1SR_PCROP1_STRT, reg_value); in FLASH_OB_PCROPConfig()1065 reg_value = ((PCROPEndAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig()1066 MODIFY_REG(FLASH->PCROP1ER, FLASH_PCROP1ER_PCROP1_END, reg_value); in FLASH_OB_PCROPConfig()1070 reg_value = ((PCROPStartAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig()1071 MODIFY_REG(FLASH->PCROP2SR, FLASH_PCROP2SR_PCROP2_STRT, reg_value); in FLASH_OB_PCROPConfig()1073 reg_value = ((PCROPEndAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig()1074 MODIFY_REG(FLASH->PCROP2ER, FLASH_PCROP2ER_PCROP2_END, reg_value); in FLASH_OB_PCROPConfig()1087 reg_value = ((PCROPStartAddr - bank1_addr) >> 3); in FLASH_OB_PCROPConfig()[all …]
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()
1424 uint32_t reg_value; in NVIC_SetPriorityGrouping() local1427 …reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()1428 …reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chang… in NVIC_SetPriorityGrouping()1429 reg_value = (reg_value | in NVIC_SetPriorityGrouping()1432 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
1406 uint32_t reg_value; in NVIC_SetPriorityGrouping() local1409 …reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()1410 …reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chang… in NVIC_SetPriorityGrouping()1411 reg_value = (reg_value | in NVIC_SetPriorityGrouping()1414 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
1598 uint32_t reg_value; in NVIC_SetPriorityGrouping() local1601 …reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()1602 …reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chang… in NVIC_SetPriorityGrouping()1603 reg_value = (reg_value | in NVIC_SetPriorityGrouping()1606 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
1806 uint32_t reg_value; in NVIC_SetPriorityGrouping() local1809 …reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()1810 …reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chang… in NVIC_SetPriorityGrouping()1811 reg_value = (reg_value | in NVIC_SetPriorityGrouping()1814 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()