Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
Interrupts and flags management functions
[FMC_Private_Functions]
Interrupts and flags management functions. More...
Functions | |
void | FMC_ITConfig (uint32_t FMC_Bank, uint32_t FMC_IT, FunctionalState NewState) |
Enables or disables the specified FMC interrupts. | |
FlagStatus | FMC_GetFlagStatus (uint32_t FMC_Bank, uint32_t FMC_FLAG) |
Checks whether the specified FMC flag is set or not. | |
void | FMC_ClearFlag (uint32_t FMC_Bank, uint32_t FMC_FLAG) |
Clears the FMC's pending flags. | |
ITStatus | FMC_GetITStatus (uint32_t FMC_Bank, uint32_t FMC_IT) |
Checks whether the specified FMC interrupt has occurred or not. | |
void | FMC_ClearITPendingBit (uint32_t FMC_Bank, uint32_t FMC_IT) |
Clears the FMC's interrupt pending bits. |
Detailed Description
Interrupts and flags management functions.
=============================================================================== ##### Interrupts and flags management functions ##### ===============================================================================
Function Documentation
void FMC_ClearFlag | ( | uint32_t | FMC_Bank, |
uint32_t | FMC_FLAG | ||
) |
Clears the FMC's pending flags.
- Parameters:
-
FMC_Bank,: specifies the FMC Bank to be used This parameter can be one of the following values: - FMC_Bank2_NAND: FMC Bank2 NAND
- FMC_Bank3_NAND: FMC Bank3 NAND
- FMC_Bank4_PCCARD: FMC Bank4 PCCARD
FMC_FLAG,: specifies the flag to clear. This parameter can be any combination of the following values: - FMC_FLAG_RisingEdge: Rising edge detection Flag.
- FMC_FLAG_Level: Level detection Flag.
- FMC_FLAG_FallingEdge: Falling edge detection Flag.
- Return values:
-
None
Definition at line 872 of file stm32f30x_fmc.c.
void FMC_ClearITPendingBit | ( | uint32_t | FMC_Bank, |
uint32_t | FMC_IT | ||
) |
Clears the FMC's interrupt pending bits.
- Parameters:
-
FMC_Bank,: specifies the FMC Bank to be used This parameter can be one of the following values: - FMC_Bank2_NAND: FMC Bank2 NAND
- FMC_Bank3_NAND: FMC Bank3 NAND
- FMC_Bank4_PCCARD: FMC Bank4 PCCARD
FMC_IT,: specifies the interrupt pending bit to clear. This parameter can be any combination of the following values: - FMC_IT_RisingEdge: Rising edge detection interrupt.
- FMC_IT_Level: Level edge detection interrupt.
- FMC_IT_FallingEdge: Falling edge detection interrupt.
- Return values:
-
None
Definition at line 964 of file stm32f30x_fmc.c.
FlagStatus FMC_GetFlagStatus | ( | uint32_t | FMC_Bank, |
uint32_t | FMC_FLAG | ||
) |
Checks whether the specified FMC flag is set or not.
- Parameters:
-
FMC_Bank,: specifies the FMC Bank to be used This parameter can be one of the following values: - FMC_Bank2_NAND: FMC Bank2 NAND
- FMC_Bank3_NAND: FMC Bank3 NAND
- FMC_Bank4_PCCARD: FMC Bank4 PCCARD
FMC_FLAG,: specifies the flag to check. This parameter can be one of the following values: - FMC_FLAG_RisingEdge: Rising edge detection Flag.
- FMC_FLAG_Level: Level detection Flag.
- FMC_FLAG_FallingEdge: Falling edge detection Flag.
- FMC_FLAG_FEMPT: Fifo empty Flag.
- Return values:
-
The new state of FMC_FLAG (SET or RESET).
Definition at line 823 of file stm32f30x_fmc.c.
ITStatus FMC_GetITStatus | ( | uint32_t | FMC_Bank, |
uint32_t | FMC_IT | ||
) |
Checks whether the specified FMC interrupt has occurred or not.
- Parameters:
-
FMC_Bank,: specifies the FMC Bank to be used This parameter can be one of the following values: - FMC_Bank2_NAND: FMC Bank2 NAND
- FMC_Bank3_NAND: FMC Bank3 NAND
- FMC_Bank4_PCCARD: FMC Bank4 PCCARD
FMC_IT,: specifies the FMC interrupt source to check. This parameter can be one of the following values: - FMC_IT_RisingEdge: Rising edge detection interrupt.
- FMC_IT_Level: Level edge detection interrupt.
- FMC_IT_FallingEdge: Falling edge detection interrupt.
- Return values:
-
The new state of FMC_IT (SET or RESET).
Definition at line 908 of file stm32f30x_fmc.c.
void FMC_ITConfig | ( | uint32_t | FMC_Bank, |
uint32_t | FMC_IT, | ||
FunctionalState | NewState | ||
) |
Enables or disables the specified FMC interrupts.
- Parameters:
-
FMC_Bank,: specifies the FMC Bank to be used This parameter can be one of the following values: - FMC_Bank2_NAND: FMC Bank2 NAND
- FMC_Bank3_NAND: FMC Bank3 NAND
- FMC_Bank4_PCCARD: FMC Bank4 PCCARD
- FMC_Bank1_SDRAM: FMC Bank1 SDRAM
- FMC_Bank2_SDRAM: FMC Bank2 SDRAM
FMC_IT,: specifies the FMC interrupt sources to be enabled or disabled. This parameter can be any combination of the following values: - FMC_IT_RisingEdge: Rising edge detection interrupt.
- FMC_IT_Level: Level edge detection interrupt.
- FMC_IT_FallingEdge: Falling edge detection interrupt.
NewState,: new state of the specified FMC interrupts. This parameter can be: ENABLE or DISABLE.
- Return values:
-
None
Definition at line 764 of file stm32f30x_fmc.c.
Generated on Tue Jul 12 2022 17:34:45 by
