/hal_stm32-2.7.6/stm32cube/stm32f2xx/drivers/include/ |
D | stm32f2xx_hal_flash.h | 181 #define __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) 187 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() (FLASH->ACR |= FLASH_ACR_PRFTEN) 193 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() (FLASH->ACR &= (~FLASH_ACR_PRFTEN)) 199 #define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE() (FLASH->ACR |= FLASH_ACR_ICEN) 205 #define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE() (FLASH->ACR &= (~FLASH_ACR_ICEN)) 211 #define __HAL_FLASH_DATA_CACHE_ENABLE() (FLASH->ACR |= FLASH_ACR_DCEN) 217 #define __HAL_FLASH_DATA_CACHE_DISABLE() (FLASH->ACR &= (~FLASH_ACR_DCEN)) 224 #define __HAL_FLASH_INSTRUCTION_CACHE_RESET() do {FLASH->ACR |= FLASH_ACR_ICRST; \ 225 FLASH->ACR &= ~FLASH_ACR_ICRST; \ 233 #define __HAL_FLASH_DATA_CACHE_RESET() do {FLASH->ACR |= FLASH_ACR_DCRST; \ [all …]
|
D | stm32f2xx_ll_system.h | 688 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 706 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 716 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch() 726 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch() 736 return (READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)); in LL_FLASH_IsPrefetchEnabled() 746 SET_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_EnableInstCache() 756 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_DisableInstCache() 766 SET_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_EnableDataCache() 776 CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_DisableDataCache() 787 SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); in LL_FLASH_EnableInstCacheReset() [all …]
|
/hal_stm32-2.7.6/stm32cube/stm32f4xx/drivers/include/ |
D | stm32f4xx_hal_flash.h | 185 #define __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) 191 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() (FLASH->ACR |= FLASH_ACR_PRFTEN) 197 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() (FLASH->ACR &= (~FLASH_ACR_PRFTEN)) 203 #define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE() (FLASH->ACR |= FLASH_ACR_ICEN) 209 #define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE() (FLASH->ACR &= (~FLASH_ACR_ICEN)) 215 #define __HAL_FLASH_DATA_CACHE_ENABLE() (FLASH->ACR |= FLASH_ACR_DCEN) 221 #define __HAL_FLASH_DATA_CACHE_DISABLE() (FLASH->ACR &= (~FLASH_ACR_DCEN)) 228 #define __HAL_FLASH_INSTRUCTION_CACHE_RESET() do {FLASH->ACR |= FLASH_ACR_ICRST; \ 229 FLASH->ACR &= ~FLASH_ACR_ICRST; \ 237 #define __HAL_FLASH_DATA_CACHE_RESET() do {FLASH->ACR |= FLASH_ACR_DCRST; \ [all …]
|
D | stm32f4xx_ll_system.h | 1544 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 1570 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 1580 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch() 1590 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch() 1600 return (READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)); in LL_FLASH_IsPrefetchEnabled() 1610 SET_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_EnableInstCache() 1620 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_DisableInstCache() 1630 SET_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_EnableDataCache() 1640 CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_DisableDataCache() 1651 SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); in LL_FLASH_EnableInstCacheReset() [all …]
|
/hal_stm32-2.7.6/stm32cube/stm32g4xx/drivers/include/ |
D | stm32g4xx_ll_system.h | 1291 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 1319 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 1329 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch() 1339 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch() 1349 return ((READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)) ? 1UL : 0UL); in LL_FLASH_IsPrefetchEnabled() 1359 SET_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_EnableInstCache() 1369 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_DisableInstCache() 1379 SET_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_EnableDataCache() 1389 CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_DisableDataCache() 1400 SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); in LL_FLASH_EnableInstCacheReset() [all …]
|
D | stm32g4xx_hal_flash.h | 593 #define __HAL_FLASH_SET_LATENCY(__LATENCY__) MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (__LATENC… 616 #define __HAL_FLASH_GET_LATENCY() READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY) 622 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) 628 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) 634 #define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_ICEN) 640 #define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN) 646 #define __HAL_FLASH_DATA_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_DCEN) 652 #define __HAL_FLASH_DATA_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN) 659 #define __HAL_FLASH_INSTRUCTION_CACHE_RESET() do { SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); \ 660 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICRST); \ [all …]
|
/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/include/ |
D | stm32l4xx_ll_system.h | 1402 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 1430 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 1440 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch() 1450 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch() 1460 return (READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)); in LL_FLASH_IsPrefetchEnabled() 1470 SET_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_EnableInstCache() 1480 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_DisableInstCache() 1490 SET_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_EnableDataCache() 1500 CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_DisableDataCache() 1511 SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); in LL_FLASH_EnableInstCacheReset() [all …]
|
D | stm32l4xx_hal_flash.h | 582 #define __HAL_FLASH_SET_LATENCY(__LATENCY__) (MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (__LATEN… 594 #define __HAL_FLASH_GET_LATENCY() READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY) 600 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) 606 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) 612 #define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_ICEN) 618 #define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN) 624 #define __HAL_FLASH_DATA_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_DCEN) 630 #define __HAL_FLASH_DATA_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN) 637 #define __HAL_FLASH_INSTRUCTION_CACHE_RESET() do { SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); \ 638 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICRST); \ [all …]
|
/hal_stm32-2.7.6/stm32cube/stm32wlxx/drivers/include/ |
D | stm32wlxx_ll_system.h | 1583 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 1596 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 1609 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch() 1624 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch() 1639 return ((READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)) ? 1UL : 0UL); in LL_FLASH_IsPrefetchEnabled() 1654 SET_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_EnableInstCache() 1669 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_DisableInstCache() 1682 SET_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_EnableDataCache() 1692 CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_DisableDataCache() 1708 SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); in LL_FLASH_EnableInstCacheReset() [all …]
|
D | stm32wlxx_hal_flash.h | 596 #define __HAL_FLASH_SET_LATENCY(__LATENCY__) MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (__LATENC… 606 #define __HAL_FLASH_GET_LATENCY() READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY) 615 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) 625 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) 635 #define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_ICEN) 645 #define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN) 654 #define __HAL_FLASH_DATA_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_DCEN) 663 #define __HAL_FLASH_DATA_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN) 676 #define __HAL_FLASH_INSTRUCTION_CACHE_RESET() do { SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); \ 677 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICRST); \ [all …]
|
/hal_stm32-2.7.6/stm32cube/stm32l0xx/drivers/include/ |
D | stm32l0xx_ll_system.h | 914 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 926 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 936 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch() 946 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch() 956 return (READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)); in LL_FLASH_IsPrefetchEnabled() 978 SET_BIT(FLASH->ACR, FLASH_ACR_RUN_PD); in LL_FLASH_EnableRunPowerDown() 994 CLEAR_BIT(FLASH->ACR, FLASH_ACR_RUN_PD); in LL_FLASH_DisableRunPowerDown() 1006 SET_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD); in LL_FLASH_EnableSleepPowerDown() 1016 CLEAR_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD); in LL_FLASH_DisableSleepPowerDown() 1026 CLEAR_BIT(FLASH->ACR, FLASH_ACR_DISAB_BUF); in LL_FLASH_EnableBuffers() [all …]
|
D | stm32l0xx_hal_flash_ex.h | 652 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__)) 661 #define __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) 667 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() SET_BIT((FLASH->ACR), FLASH_ACR_PRFTEN) 673 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() CLEAR_BIT((FLASH->ACR), FLASH_ACR_PRFTEN) 679 #define __HAL_FLASH_BUFFER_CACHE_ENABLE() CLEAR_BIT((FLASH->ACR), FLASH_ACR_DISAB_BUF) 685 #define __HAL_FLASH_BUFFER_CACHE_DISABLE() SET_BIT((FLASH->ACR), FLASH_ACR_DISAB_BUF) 691 #define __HAL_FLASH_PREREAD_BUFFER_ENABLE() SET_BIT((FLASH->ACR), FLASH_ACR_PRE_READ) 697 #define __HAL_FLASH_PREREAD_BUFFER_DISABLE() CLEAR_BIT((FLASH->ACR), FLASH_ACR_PRE_READ) 703 #define __HAL_FLASH_SLEEP_POWERDOWN_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD) 709 #define __HAL_FLASH_SLEEP_POWERDOWN_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD) [all …]
|
/hal_stm32-2.7.6/stm32cube/stm32wbxx/drivers/include/ |
D | stm32wbxx_ll_system.h | 1976 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 1990 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 2000 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch() 2011 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch() 2022 return ((READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)) ? 1UL : 0UL); in LL_FLASH_IsPrefetchEnabled() 2033 SET_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_EnableInstCache() 2044 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_DisableInstCache() 2054 SET_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_EnableDataCache() 2064 CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN); in LL_FLASH_DisableDataCache() 2076 SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); in LL_FLASH_EnableInstCacheReset() [all …]
|
D | stm32wbxx_hal_flash.h | 626 #define __HAL_FLASH_SET_LATENCY(__LATENCY__) MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (__LATENC… 637 #define __HAL_FLASH_GET_LATENCY() READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY) 643 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) 649 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) 655 #define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_ICEN) 661 #define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN) 667 #define __HAL_FLASH_DATA_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_DCEN) 673 #define __HAL_FLASH_DATA_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_DCEN) 680 #define __HAL_FLASH_INSTRUCTION_CACHE_RESET() do { SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); \ 681 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICRST); \ [all …]
|
/hal_stm32-2.7.6/stm32cube/stm32f1xx/drivers/include/ |
D | stm32f1xx_ll_system.h | 472 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 485 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 495 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTBE); in LL_FLASH_EnablePrefetch() 505 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTBE); in LL_FLASH_DisablePrefetch() 515 return (READ_BIT(FLASH->ACR, FLASH_ACR_PRFTBS) == (FLASH_ACR_PRFTBS)); in LL_FLASH_IsPrefetchEnabled() 526 SET_BIT(FLASH->ACR, FLASH_ACR_HLFCYA); in LL_FLASH_EnableHalfCycleAccess() 536 CLEAR_BIT(FLASH->ACR, FLASH_ACR_HLFCYA); in LL_FLASH_DisableHalfCycleAccess() 546 return (READ_BIT(FLASH->ACR, FLASH_ACR_HLFCYA) == (FLASH_ACR_HLFCYA)); in LL_FLASH_IsHalfCycleAccessEnabled()
|
D | stm32f1xx_hal_flash.h | 182 #define __HAL_FLASH_HALF_CYCLE_ACCESS_ENABLE() (FLASH->ACR |= FLASH_ACR_HLFCYA) 190 #define __HAL_FLASH_HALF_CYCLE_ACCESS_DISABLE() (FLASH->ACR &= (~FLASH_ACR_HLFCYA)) 208 #define __HAL_FLASH_SET_LATENCY(__LATENCY__) (FLASH->ACR = (FLASH->ACR&(~FLASH_ACR_LATENCY)) | (… 216 #define __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) 231 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() (FLASH->ACR |= FLASH_ACR_PRFTBE) 237 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() (FLASH->ACR &= (~FLASH_ACR_PRFTBE))
|
/hal_stm32-2.7.6/stm32cube/stm32l1xx/drivers/include/ |
D | stm32l1xx_ll_system.h | 1845 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 1857 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 1868 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch() 1879 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch() 1889 return ((READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == FLASH_ACR_PRFTEN) ? 1UL : 0UL); in LL_FLASH_IsPrefetchEnabled() 1899 SET_BIT(FLASH->ACR, FLASH_ACR_ACC64); in LL_FLASH_Enable64bitAccess() 1909 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ACC64); in LL_FLASH_Disable64bitAccess() 1919 return ((READ_BIT(FLASH->ACR, FLASH_ACR_ACC64) == FLASH_ACR_ACC64) ? 1UL : 0UL); in LL_FLASH_Is64bitAccessEnabled() 1941 SET_BIT(FLASH->ACR, FLASH_ACR_RUN_PD); in LL_FLASH_EnableRunPowerDown() 1957 CLEAR_BIT(FLASH->ACR, FLASH_ACR_RUN_PD); in LL_FLASH_DisableRunPowerDown() [all …]
|
D | stm32l1xx_hal_flash_ex.h | 812 … MODIFY_REG((FLASH->ACR), FLASH_ACR_LATENCY, (__LATENCY__)); \ 822 #define __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) 831 #define __HAL_FLASH_ACC64_ENABLE() (SET_BIT((FLASH->ACR), FLASH_ACR_ACC64)) 840 #define __HAL_FLASH_ACC64_DISABLE() (CLEAR_BIT((FLASH->ACR), FLASH_ACR_ACC64)) 847 SET_BIT((FLASH->ACR), FLASH_ACR_PRFTEN); \ 854 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() CLEAR_BIT((FLASH->ACR), FLASH_ACR_PRFTEN) 860 #define __HAL_FLASH_SLEEP_POWERDOWN_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD) 866 #define __HAL_FLASH_SLEEP_POWERDOWN_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_SLEEP_PD) 875 SET_BIT((FLASH->ACR), FLASH_ACR_RUN_PD); \ 885 CLEAR_BIT((FLASH->ACR), FLASH_ACR_RUN_PD); \
|
/hal_stm32-2.7.6/stm32cube/stm32f3xx/drivers/include/ |
D | stm32f3xx_hal_flash.h | 184 #define __HAL_FLASH_HALF_CYCLE_ACCESS_ENABLE() (FLASH->ACR |= FLASH_ACR_HLFCYA) 190 #define __HAL_FLASH_HALF_CYCLE_ACCESS_DISABLE() (FLASH->ACR &= (~FLASH_ACR_HLFCYA)) 210 #define __HAL_FLASH_SET_LATENCY(__LATENCY__) (FLASH->ACR = (FLASH->ACR&(~FLASH_ACR_LATENCY)) | (… 221 #define __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) 235 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() (FLASH->ACR |= FLASH_ACR_PRFTBE) 241 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() (FLASH->ACR &= (~FLASH_ACR_PRFTBE))
|
D | stm32f3xx_ll_system.h | 1620 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 1633 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 1643 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTBE ); in LL_FLASH_EnablePrefetch() 1653 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTBE ); in LL_FLASH_DisablePrefetch() 1663 return (READ_BIT(FLASH->ACR, FLASH_ACR_PRFTBS) == (FLASH_ACR_PRFTBS)); in LL_FLASH_IsPrefetchEnabled() 1674 SET_BIT(FLASH->ACR, FLASH_ACR_HLFCYA); in LL_FLASH_EnableHalfCycleAccess() 1684 CLEAR_BIT(FLASH->ACR, FLASH_ACR_HLFCYA); in LL_FLASH_DisableHalfCycleAccess() 1694 return (READ_BIT(FLASH->ACR, FLASH_ACR_HLFCYA) == (FLASH_ACR_HLFCYA)); in LL_FLASH_IsHalfCycleAccessEnabled()
|
/hal_stm32-2.7.6/stm32cube/stm32f7xx/drivers/include/ |
D | stm32f7xx_ll_system.h | 893 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 919 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 929 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch() 939 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch() 949 return (READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)); in LL_FLASH_IsPrefetchEnabled() 961 SET_BIT(FLASH->ACR, FLASH_ACR_ARTEN); in LL_FLASH_EnableART() 971 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ARTEN); in LL_FLASH_DisableART() 981 SET_BIT(FLASH->ACR, FLASH_ACR_ARTRST); in LL_FLASH_EnableARTReset() 991 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ARTRST); in LL_FLASH_DisableARTReset()
|
D | stm32f7xx_hal_flash.h | 209 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__)) 216 #define __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) 222 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() (FLASH->ACR |= FLASH_ACR_PRFTEN) 228 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() (FLASH->ACR &= (~FLASH_ACR_PRFTEN)) 235 #define __HAL_FLASH_ART_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_ARTEN) 241 #define __HAL_FLASH_ART_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_ARTEN) 249 #define __HAL_FLASH_ART_RESET() (FLASH->ACR |= FLASH_ACR_ARTRST)
|
/hal_stm32-2.7.6/stm32cube/stm32f0xx/drivers/include/ |
D | stm32f0xx_hal_flash.h | 185 #define __HAL_FLASH_SET_LATENCY(__LATENCY__) (FLASH->ACR = (FLASH->ACR&(~FLASH_ACR_LATENCY)) | (… 193 #define __HAL_FLASH_GET_LATENCY() (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) 207 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() (FLASH->ACR |= FLASH_ACR_PRFTBE) 213 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() (FLASH->ACR &= (~FLASH_ACR_PRFTBE))
|
/hal_stm32-2.7.6/stm32cube/stm32g0xx/drivers/include/ |
D | stm32g0xx_hal_flash.h | 626 #define __HAL_FLASH_SET_LATENCY(__LATENCY__) MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (__LATENC… 636 #define __HAL_FLASH_GET_LATENCY() READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY) 642 #define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) 648 #define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) 654 #define __HAL_FLASH_INSTRUCTION_CACHE_ENABLE() SET_BIT(FLASH->ACR, FLASH_ACR_ICEN) 660 #define __HAL_FLASH_INSTRUCTION_CACHE_DISABLE() CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN) 667 #define __HAL_FLASH_INSTRUCTION_CACHE_RESET() do { SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); \ 668 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICRST); \
|
D | stm32g0xx_ll_system.h | 1973 MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); in LL_FLASH_SetLatency() 1986 return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); in LL_FLASH_GetLatency() 1996 SET_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_EnablePrefetch() 2006 CLEAR_BIT(FLASH->ACR, FLASH_ACR_PRFTEN); in LL_FLASH_DisablePrefetch() 2016 return ((READ_BIT(FLASH->ACR, FLASH_ACR_PRFTEN) == (FLASH_ACR_PRFTEN)) ? 1UL : 0UL); in LL_FLASH_IsPrefetchEnabled() 2026 SET_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_EnableInstCache() 2036 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICEN); in LL_FLASH_DisableInstCache() 2047 SET_BIT(FLASH->ACR, FLASH_ACR_ICRST); in LL_FLASH_EnableInstCacheReset() 2057 CLEAR_BIT(FLASH->ACR, FLASH_ACR_ICRST); in LL_FLASH_DisableInstCacheReset()
|