STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros

Macros

#define __HAL_FLASH_SET_LATENCY(__LATENCY__)   MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))
 Set the FLASH Latency. More...
 
#define __HAL_FLASH_GET_LATENCY()    (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
 Get the FLASH Latency. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE()   (FLASH->ACR |= FLASH_ACR_PRFTEN)
 Enable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE()    (FLASH->ACR &= (~FLASH_ACR_PRFTEN))
 Disable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_ART_ENABLE()   SET_BIT(FLASH->ACR, FLASH_ACR_ARTEN)
 Enable the FLASH Adaptive Real-Time memory accelerator. More...
 
#define __HAL_FLASH_ART_DISABLE()    CLEAR_BIT(FLASH->ACR, FLASH_ACR_ARTEN)
 Disable the FLASH Adaptive Real-Time memory accelerator. More...
 
#define __HAL_FLASH_ART_RESET()   (FLASH->ACR |= FLASH_ACR_ARTRST)
 Resets the FLASH Adaptive Real-Time memory accelerator. More...
 
#define __HAL_FLASH_ENABLE_IT(__INTERRUPT__)   (FLASH->CR |= (__INTERRUPT__))
 Enable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_DISABLE_IT(__INTERRUPT__)   (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))
 Disable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_GET_FLAG(__FLAG__)    ((FLASH->SR & (__FLAG__)))
 Get the specified FLASH flag status. More...
 
#define __HAL_FLASH_CLEAR_FLAG(__FLAG__)    (FLASH->SR = (__FLAG__))
 Clear the specified FLASH flag. More...
 
#define __HAL_FLASH_CALC_BOOT_BASE_ADR(__ADDRESS__)   ((__ADDRESS__) >> 14)
 Calculate the FLASH Boot Base Adress (BOOT_ADD0 or BOOT_ADD1) More...
 

Detailed Description

Macro Definition Documentation

#define __HAL_FLASH_ART_DISABLE ( )    CLEAR_BIT(FLASH->ACR, FLASH_ACR_ARTEN)

Disable the FLASH Adaptive Real-Time memory accelerator.

Return values
none

Definition at line 239 of file stm32f7xx_hal_flash.h.

#define __HAL_FLASH_ART_ENABLE ( )    SET_BIT(FLASH->ACR, FLASH_ACR_ARTEN)

Enable the FLASH Adaptive Real-Time memory accelerator.

Note
The ART accelerator is available only for flash access on ITCM interface.
Return values
none

Definition at line 233 of file stm32f7xx_hal_flash.h.

#define __HAL_FLASH_ART_RESET ( )    (FLASH->ACR |= FLASH_ACR_ARTRST)

Resets the FLASH Adaptive Real-Time memory accelerator.

Note
This function must be used only when the Adaptive Real-Time memory accelerator is disabled.
Return values
None

Definition at line 247 of file stm32f7xx_hal_flash.h.

#define __HAL_FLASH_CALC_BOOT_BASE_ADR (   __ADDRESS__)    ((__ADDRESS__) >> 14)

Calculate the FLASH Boot Base Adress (BOOT_ADD0 or BOOT_ADD1)

Note
Returned value BOOT_ADDx[15:0] corresponds to boot address [29:14].
Parameters
<strong>ADDRESS</strong>FLASH Boot Address (in the range 0x0000 0000 to 0x2004 FFFF with a granularity of 16KB)
Return values
TheFLASH Boot Base Adress

Definition at line 444 of file stm32f7xx_hal_flash_ex.h.

#define __HAL_FLASH_CLEAR_FLAG (   __FLAG__)    (FLASH->SR = (__FLAG__))

Clear the specified FLASH flag.

Parameters
<strong>FLAG</strong>specifies the FLASH flags to clear. This parameter can be any combination of the following values:
  • FLASH_FLAG_EOP : FLASH End of Operation flag
  • FLASH_FLAG_OPERR : FLASH operation Error flag
  • FLASH_FLAG_WRPERR: FLASH Write protected error flag
  • FLASH_FLAG_PGAERR: FLASH Programming Alignment error flag
  • FLASH_FLAG_PGPERR: FLASH Programming Parallelism error flag
  • FLASH_FLAG_ERSERR : FLASH Erasing Sequence error flag
Return values
none

Definition at line 296 of file stm32f7xx_hal_flash.h.

#define __HAL_FLASH_DISABLE_IT (   __INTERRUPT__)    (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))

Disable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>: FLASH interrupt This parameter can be any combination of the following values:
  • FLASH_IT_EOP: End of FLASH Operation Interrupt
  • FLASH_IT_ERR: Error Interrupt
Return values
none

Definition at line 267 of file stm32f7xx_hal_flash.h.

#define __HAL_FLASH_ENABLE_IT (   __INTERRUPT__)    (FLASH->CR |= (__INTERRUPT__))

Enable the specified FLASH interrupt.

Parameters
<strong>INTERRUPT</strong>: FLASH interrupt This parameter can be any combination of the following values:
  • FLASH_IT_EOP: End of FLASH Operation Interrupt
  • FLASH_IT_ERR: Error Interrupt
Return values
none

Definition at line 257 of file stm32f7xx_hal_flash.h.

#define __HAL_FLASH_GET_FLAG (   __FLAG__)    ((FLASH->SR & (__FLAG__)))

Get the specified FLASH flag status.

Parameters
<strong>FLAG</strong>specifies the FLASH flag to check. This parameter can be one of the following values:
  • FLASH_FLAG_EOP : FLASH End of Operation flag
  • FLASH_FLAG_OPERR : FLASH operation Error flag
  • FLASH_FLAG_WRPERR: FLASH Write protected error flag
  • FLASH_FLAG_PGAERR: FLASH Programming Alignment error flag
  • FLASH_FLAG_PGPERR: FLASH Programming Parallelism error flag
  • FLASH_FLAG_ERSERR : FLASH Erasing Sequence error flag
  • FLASH_FLAG_BSY : FLASH Busy flag
Return values
Thenew state of FLAG (SET or RESET).

Definition at line 282 of file stm32f7xx_hal_flash.h.

#define __HAL_FLASH_GET_LATENCY ( )    (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))

Get the FLASH Latency.

Return values
FLASHLatency The value of this parameter depend on device used within the same series

Definition at line 214 of file stm32f7xx_hal_flash.h.

#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE ( )    (FLASH->ACR &= (~FLASH_ACR_PRFTEN))

Disable the FLASH prefetch buffer.

Return values
none

Definition at line 226 of file stm32f7xx_hal_flash.h.

#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE ( )    (FLASH->ACR |= FLASH_ACR_PRFTEN)

Enable the FLASH prefetch buffer.

Return values
none

Definition at line 220 of file stm32f7xx_hal_flash.h.

#define __HAL_FLASH_SET_LATENCY (   __LATENCY__)    MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))

Set the FLASH Latency.

Parameters
<strong>LATENCY</strong>FLASH Latency The value of this parameter depend on device used within the same series
Return values
none

Definition at line 206 of file stm32f7xx_hal_flash.h.