RTEMS 6.1-rc1
|
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_ENABLE_IT_BANK1(__INTERRUPT__) (FLASH->CR1 |= (__INTERRUPT__)) |
Enable the specified FLASH interrupt. More... | |
#define | __HAL_FLASH_ENABLE_IT_BANK2(__INTERRUPT__) (FLASH->CR2 |= ((__INTERRUPT__) & 0x7FFFFFFFU)) |
#define | __HAL_FLASH_ENABLE_IT(__INTERRUPT__) __HAL_FLASH_ENABLE_IT_BANK1(__INTERRUPT__) |
#define | __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__) (FLASH->CR1 &= ~(uint32_t)(__INTERRUPT__)) |
Disable the specified FLASH interrupt. More... | |
#define | __HAL_FLASH_DISABLE_IT_BANK2(__INTERRUPT__) (FLASH->CR2 &= ~(uint32_t)((__INTERRUPT__) & 0x7FFFFFFFU)) |
#define | __HAL_FLASH_DISABLE_IT(__INTERRUPT__) __HAL_FLASH_DISABLE_IT_BANK1(__INTERRUPT__) |
#define | __HAL_FLASH_GET_FLAG_BANK1(__FLAG__) (READ_BIT(FLASH->SR1, (__FLAG__)) == (__FLAG__)) |
Checks whether the specified FLASH flag is set or not. More... | |
#define | __HAL_FLASH_GET_FLAG_BANK2(__FLAG__) (READ_BIT(FLASH->SR2, ((__FLAG__) & 0x7FFFFFFFU)) == (((__FLAG__) & 0x7FFFFFFFU))) |
#define | __HAL_FLASH_GET_FLAG(__FLAG__) __HAL_FLASH_GET_FLAG_BANK1(__FLAG__) |
#define | __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__) WRITE_REG(FLASH->CCR1, (__FLAG__)) |
Clear the specified FLASH flag. More... | |
#define | __HAL_FLASH_CLEAR_FLAG_BANK2(__FLAG__) WRITE_REG(FLASH->CCR2, ((__FLAG__) & 0x7FFFFFFFU)) |
#define | __HAL_FLASH_CLEAR_FLAG(__FLAG__) __HAL_FLASH_CLEAR_FLAG_BANK1(__FLAG__) |
#define __HAL_FLASH_CLEAR_FLAG_BANK1 | ( | __FLAG__ | ) | WRITE_REG(FLASH->CCR1, (__FLAG__)) |
Clear the specified FLASH flag.
__FLAG__ | specifies the FLASH flags to clear. In case of Bank 1, this parameter can be any combination of the following values:
|
none |
#define __HAL_FLASH_DISABLE_IT_BANK1 | ( | __INTERRUPT__ | ) | (FLASH->CR1 &= ~(uint32_t)(__INTERRUPT__)) |
Disable the specified FLASH interrupt.
__INTERRUPT__ | : FLASH interrupt In case of Bank 1 This parameter can be any combination of the following values:
|
none |
#define __HAL_FLASH_ENABLE_IT_BANK1 | ( | __INTERRUPT__ | ) | (FLASH->CR1 |= (__INTERRUPT__)) |
Enable the specified FLASH interrupt.
__INTERRUPT__ | : FLASH interrupt In case of Bank 1 This parameter can be any combination of the following values:
|
none |
#define __HAL_FLASH_GET_FLAG_BANK1 | ( | __FLAG__ | ) | (READ_BIT(FLASH->SR1, (__FLAG__)) == (__FLAG__)) |
Checks whether the specified FLASH flag is set or not.
__FLAG__ | specifies the FLASH flag to check. In case of Bank 1 This parameter can be one of the following values :
|
The | new state of FLASH_FLAG (SET or RESET). |
#define __HAL_FLASH_GET_LATENCY | ( | ) | (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY)) |
Get the FLASH Latency.
FLASH | Latency The value of this parameter depend on device used within the same series |
#define __HAL_FLASH_SET_LATENCY | ( | __LATENCY__ | ) | MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__)) |
Set the FLASH Latency.
__LATENCY__ | FLASH Latency The value of this parameter depend on device used within the same series |
none |