Home
last modified time | relevance | path

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

/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_gtzc.c334 uint32_t gran_offset; in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes() local
347 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_FLASH_OFFSET; in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
368 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_SRAM1_OFFSET; in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
380 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_SRAM2_OFFSET; in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
395 *pregister = (reg_value | ((pMPCWM_Desc->Length >> gran_offset) << length_pos)); in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
420 uint32_t gran_offset; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes() local
433 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_FLASH_OFFSET; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
453 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_SRAM1_OFFSET; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
465 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_SRAM2_OFFSET; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
480 pMPCWM_Desc->Length = (reg_value << gran_offset); in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()