Home
last modified time | relevance | path

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

/hal_stm32-3.6.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_gtzc.c888 uint32_t size_mask; in HAL_GTZC_MPCBB_ConfigMem() local
904 size_mask = 0xFFFFFFFFU; in HAL_GTZC_MPCBB_ConfigMem()
908 size_mask = (1UL << size_in_superblocks) - 1U; in HAL_GTZC_MPCBB_ConfigMem()
911 …MODIFY_REG(mpcbb_ptr->CFGLOCKR1, size_mask, pMPCBB_desc->AttributeConfig.MPCBB_LockConfig_array[0]… in HAL_GTZC_MPCBB_ConfigMem()
981 uint32_t size_mask; in HAL_GTZC_MPCBB_GetConfigMem() local
989 size_mask = 0xFFFFFFFFU; in HAL_GTZC_MPCBB_GetConfigMem()
993 size_mask = (1UL << size_in_superblocks) - 1U; in HAL_GTZC_MPCBB_GetConfigMem()
997 & size_mask; in HAL_GTZC_MPCBB_GetConfigMem()
/hal_stm32-3.6.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_gtzc.c530 uint32_t size_mask; in HAL_GTZC_MPCBB_ConfigMem() local
591 size_mask = (1UL << size_in_superblocks) - 1U; in HAL_GTZC_MPCBB_ConfigMem()
593 MODIFY_REG(mpcbb_ptr->CFGLOCK, size_mask, pMPCBB_desc->AttributeConfig.MPCBB_LockConfig_array[0]); in HAL_GTZC_MPCBB_ConfigMem()
645 uint32_t size_mask; in HAL_GTZC_MPCBB_GetConfigMem() local
651 size_mask = (1UL << size_in_superblocks) - 1U; in HAL_GTZC_MPCBB_GetConfigMem()
654 & size_mask; in HAL_GTZC_MPCBB_GetConfigMem()
/hal_stm32-3.6.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_gtzc.c716 uint32_t size_mask; in HAL_GTZC_MPCBB_ConfigMem() local
759 size_mask = (1UL << (mem_size / GTZC_MPCBB_SUPERBLOCK_SIZE)) - 1U; in HAL_GTZC_MPCBB_ConfigMem()
761 MODIFY_REG(mpcbb_ptr->LCKVTR1, size_mask, pMPCBB_desc->AttributeConfig.MPCBB_LockConfig_array[0]); in HAL_GTZC_MPCBB_ConfigMem()
779 uint32_t size_mask; in HAL_GTZC_MPCBB_GetConfigMem() local
807 size_mask = (1UL << (mem_size / GTZC_MPCBB_SUPERBLOCK_SIZE)) - 1U; in HAL_GTZC_MPCBB_GetConfigMem()
809 pMPCBB_desc->AttributeConfig.MPCBB_LockConfig_array[0] = READ_REG(mpcbb_ptr->LCKVTR1)& size_mask; in HAL_GTZC_MPCBB_GetConfigMem()
/hal_stm32-3.6.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_gtzc.c946 uint32_t size_mask; in HAL_GTZC_MPCBB_ConfigMem() local
959 size_mask = 0xFFFFFFFFU; in HAL_GTZC_MPCBB_ConfigMem()
965 size_mask = (1UL << (size_in_superblocks & 0x1FU)) - 1U; in HAL_GTZC_MPCBB_ConfigMem()
968 …MODIFY_REG(mpcbb_ptr->CFGLOCKR1, size_mask, pMPCBB_desc->AttributeConfig.MPCBB_LockConfig_array[0]… in HAL_GTZC_MPCBB_ConfigMem()