Why on STM32CUBEF1 code version 1.8.1 bit FLASH_ACR_PRFTBE is not define? while on previous version on 3.5.0 it was defined.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-14 4:09 AM
STM32F1_3.5.0 has bit description of FLASH_ACR_PRFTBE
STM32CUBEF1_1.8.1 has no bit description of FLASH_ACR_PRFTBE
Labels:
- Labels:
-
STM32Cube MCU Packages
-
STM32F1 Series
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-14 6:03 AM
It's still "used" in stm32f1xx_hal_flash.h, so probably a bug if not defined:
/**
* @brief Enable the FLASH prefetch buffer.
* @retval None
*/
#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE() (FLASH->ACR |= FLASH_ACR_PRFTBE)
/**
* @brief Disable the FLASH prefetch buffer.
* @retval None
*/
#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE() (FLASH->ACR &= (~FLASH_ACR_PRFTBE))
If you feel a post has answered your question, please click "Accept as Solution".
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-14 10:16 PM
Thanks.
I read manual and got to know only flash half cycle access can be control rest bits are reserved.
