Home
last modified time | relevance | path

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

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_ll_system.h933 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency()
945 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency()
955 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch()
965 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch()
975 return (READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)); in LL_FLASH_IsPrefetchEnabled()
997 SET_BIT(FLASH->ACR, FLASH_ACR_RUN_PD); in LL_FLASH_EnableRunPowerDown()
1013 CLEAR_BIT(FLASH->ACR, FLASH_ACR_RUN_PD); in LL_FLASH_DisableRunPowerDown()
1025 SET_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD); in LL_FLASH_EnableSleepPowerDown()
1035 CLEAR_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD); in LL_FLASH_DisableSleepPowerDown()
1045 CLEAR_BIT(FLASH->ACR, FLASH_ACR_DISAB_BUF); in LL_FLASH_EnableBuffers()
[all …]
Dstm32l0xx_hal_flash_ex.h668 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))
677 #define __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
683 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() SET_BIT((FLASH->ACR), FLASH_ACR_PRFTEN)
689 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() CLEAR_BIT((FLASH->ACR), FLASH_ACR_PRFTEN)
695 #define __HAL_FLASH_BUFFER_CACHE_ENABLE() SET_BIT((FLASH->ACR), FLASH_ACR_DISAB_BUF)
701 #define __HAL_FLASH_BUFFER_CACHE_DISABLE() CLEAR_BIT((FLASH->ACR), FLASH_ACR_DISAB_BUF)
707 #define __HAL_FLASH_PREREAD_BUFFER_ENABLE() SET_BIT((FLASH->ACR), FLASH_ACR_PRE_READ)
713 #define __HAL_FLASH_PREREAD_BUFFER_DISABLE() CLEAR_BIT((FLASH->ACR), FLASH_ACR_PRE_READ)
719 #define __HAL_FLASH_SLEEP_POWERDOWN_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD)
725 #define __HAL_FLASH_SLEEP_POWERDOWN_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD)
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_system.h1418 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency()
1446 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency()
1456 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch()
1466 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch()
1476 return (READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)); in LL_FLASH_IsPrefetchEnabled()
1486 SET_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_EnableInstCache()
1496 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_DisableInstCache()
1506 SET_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_EnableDataCache()
1516 CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_DisableDataCache()
1527 SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); in LL_FLASH_EnableInstCacheReset()
[all …]
Dstm32l4xx_hal_flash.h588 #define __HAL_FLASH_SET_LATENCY(__LATENCY__) (MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (__LATEN…
600 #define __HAL_FLASH_GET_LATENCY() READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)
606 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN)
612 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN)
618 #define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_ICEN)
624 #define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN)
630 #define __HAL_FLASH_DATA_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_DCEN)
636 #define __HAL_FLASH_DATA_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN)
643 #define __HAL_FLASH_INSTRUCTION_CACHE_RESET() do { SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); \
644 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICRST); \
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_ll_system.h1809 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency()
1821 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency()
1832 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch()
1843 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch()
1853 return (READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)); in LL_FLASH_IsPrefetchEnabled()
1863 SET_BIT(FLASH->ACR, FLASH_ACR_ACC64); in LL_FLASH_Enable64bitAccess()
1873 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ACC64); in LL_FLASH_Disable64bitAccess()
1883 return (READ_BIT(FLASH->ACR, FLASH_ACR_ACC64) == (FLASH_ACR_ACC64)); in LL_FLASH_Is64bitAccessEnabled()
1905 SET_BIT(FLASH->ACR, FLASH_ACR_RUN_PD); in LL_FLASH_EnableRunPowerDown()
1921 CLEAR_BIT(FLASH->ACR, FLASH_ACR_RUN_PD); in LL_FLASH_DisableRunPowerDown()
[all …]
Dstm32l1xx_hal_flash_ex.h828 … MODIFY_REG((FLASH->ACR), FLASH_ACR_LATENCY, (__LATENCY__)); \
838 #define __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
847 #define __HAL_FLASH_ACC64_ENABLE() (SET_BIT((FLASH->ACR), FLASH_ACR_ACC64))
856 #define __HAL_FLASH_ACC64_DISABLE() (CLEAR_BIT((FLASH->ACR), FLASH_ACR_ACC64))
863 SET_BIT((FLASH->ACR), FLASH_ACR_PRFTEN); \
870 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() CLEAR_BIT((FLASH->ACR), FLASH_ACR_PRFTEN)
876 #define __HAL_FLASH_SLEEP_POWERDOWN_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD)
882 #define __HAL_FLASH_SLEEP_POWERDOWN_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD)
891 SET_BIT((FLASH->ACR), FLASH_ACR_RUN_PD); \
901 CLEAR_BIT((FLASH->ACR), FLASH_ACR_RUN_PD); \
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_rcc.c761 if(FLatency > (FLASH->ACR & FLASH_ACR_LATENCY)) in HAL_RCC_ClockConfig()
768 if((FLASH->ACR & FLASH_ACR_LATENCY) != FLatency) in HAL_RCC_ClockConfig()
869 if(FLatency < (FLASH->ACR & FLASH_ACR_LATENCY)) in HAL_RCC_ClockConfig()
876 if((FLASH->ACR & FLASH_ACR_LATENCY) != FLatency) in HAL_RCC_ClockConfig()
1238 *pFLatency = (uint32_t)(FLASH->ACR & FLASH_ACR_LATENCY); in HAL_RCC_GetClockConfig()
1318 if((FLASH->ACR & FLASH_ACR_LATENCY) != latency) in RCC_SetFlashLatencyFromMSIRange()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_flash_ramfunc.c167 if (READ_BIT(FLASH->ACR, FLASH_ACR_ICEN) != 0U) in HAL_FLASHEx_OB_DBankConfig()
176 if (READ_BIT(FLASH->ACR, FLASH_ACR_DCEN) != 0U) in HAL_FLASHEx_OB_DBankConfig()
Dstm32l4xx_hal_flash_ex.c173 if(READ_BIT(FLASH->ACR, FLASH_ACR_ICEN) != 0U) in HAL_FLASHEx_Erase()
178 if(READ_BIT(FLASH->ACR, FLASH_ACR_DCEN) != 0U) in HAL_FLASHEx_Erase()
189 else if(READ_BIT(FLASH->ACR, FLASH_ACR_DCEN) != 0U) in HAL_FLASHEx_Erase()
272 if(READ_BIT(FLASH->ACR, FLASH_ACR_ICEN) != 0U) in HAL_FLASHEx_Erase_IT()
277 if(READ_BIT(FLASH->ACR, FLASH_ACR_DCEN) != 0U) in HAL_FLASHEx_Erase_IT()
288 else if(READ_BIT(FLASH->ACR, FLASH_ACR_DCEN) != 0U) in HAL_FLASHEx_Erase_IT()
Dstm32l4xx_hal_flash.c210 if(READ_BIT(FLASH->ACR, FLASH_ACR_DCEN) != 0U) in HAL_FLASH_Program()
286 if(READ_BIT(FLASH->ACR, FLASH_ACR_DCEN) != 0U) in HAL_FLASH_Program_IT()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_rcc.c837 if(FLatency > (FLASH->ACR & FLASH_ACR_LATENCY)) in HAL_RCC_ClockConfig()
844 if((FLASH->ACR & FLASH_ACR_LATENCY) != FLatency) in HAL_RCC_ClockConfig()
945 if(FLatency < (FLASH->ACR & FLASH_ACR_LATENCY)) in HAL_RCC_ClockConfig()
952 if((FLASH->ACR & FLASH_ACR_LATENCY) != FLatency) in HAL_RCC_ClockConfig()
1385 *pFLatency = (uint32_t)(FLASH->ACR & FLASH_ACR_LATENCY); in HAL_RCC_GetClockConfig()
1467 if((FLASH->ACR & FLASH_ACR_LATENCY) != latency) in RCC_SetFlashLatencyFromMSIRange()
/loramac-node-2.7.6/src/boards/mcu/stm32/EEPROM_Emul/Porting/STM32L4/
Dflash_interface.c179 if(READ_BIT(FLASH->ACR, FLASH_ACR_DCEN) != RESET) in DeleteCorruptedFlashAddress()
/loramac-node-2.7.6/src/boards/NucleoL152/cmsis/
Dsystem_stm32l1xx.c293 FLASH->ACR |= FLASH_ACR_LATENCY; in SystemInit_ExtMemCtl()
Dstm32l152xe.h304 …__IO uint32_t ACR; /*!< Access control register, Address offset: 0x00… member
/loramac-node-2.7.6/src/boards/SKiM980A/cmsis/
Dsystem_stm32l1xx.c293 FLASH->ACR |= FLASH_ACR_LATENCY; in SystemInit_ExtMemCtl()
Dstm32l151xba.h293 …__IO uint32_t ACR; /*!< Access control register, Address offset: 0x00… member
/loramac-node-2.7.6/src/boards/NAMote72/cmsis/
Dsystem_stm32l1xx.c293 FLASH->ACR |= FLASH_ACR_LATENCY; in SystemInit_ExtMemCtl()
Dstm32l152xc.h302 …__IO uint32_t ACR; /*!< Access control register, Address offset: 0x00… member
/loramac-node-2.7.6/src/boards/SKiM880B/cmsis/
Dsystem_stm32l1xx.c293 FLASH->ACR |= FLASH_ACR_LATENCY; in SystemInit_ExtMemCtl()
Dstm32l151xba.h293 …__IO uint32_t ACR; /*!< Access control register, Address offset: 0x00… member
/loramac-node-2.7.6/src/boards/SKiM881AXL/cmsis/
Dstm32l081xx.h271 …__IO uint32_t ACR; /*!< Access control register, Address offset: 0x0… member
/loramac-node-2.7.6/src/boards/B-L072Z-LRWAN1/cmsis/
Dstm32l072xx.h288 …__IO uint32_t ACR; /*!< Access control register, Address offset: 0x0… member
/loramac-node-2.7.6/src/boards/NucleoL073/cmsis/
Dstm32l073xx.h289 …__IO uint32_t ACR; /*!< Access control register, Address offset: 0x0… member
/loramac-node-2.7.6/src/boards/NucleoL476/cmsis/
Dstm32l476xx.h491 …__IO uint32_t ACR; /*!< FLASH access control register, Address offset: 0x0… member