CARME-M4 BSP  V1.5
Interrupts and flags management functions

Interrupts and flags management functions. More...

+ Collaboration diagram for Interrupts and flags management functions:

Functions

void FSMC_ITConfig (uint32_t FSMC_Bank, uint32_t FSMC_IT, FunctionalState NewState)
 Enables or disables the specified FSMC interrupts. More...
 
FlagStatus FSMC_GetFlagStatus (uint32_t FSMC_Bank, uint32_t FSMC_FLAG)
 Checks whether the specified FSMC flag is set or not. More...
 
void FSMC_ClearFlag (uint32_t FSMC_Bank, uint32_t FSMC_FLAG)
 Clears the FSMC's pending flags. More...
 
ITStatus FSMC_GetITStatus (uint32_t FSMC_Bank, uint32_t FSMC_IT)
 Checks whether the specified FSMC interrupt has occurred or not. More...
 
void FSMC_ClearITPendingBit (uint32_t FSMC_Bank, uint32_t FSMC_IT)
 Clears the FSMC's interrupt pending bits. More...
 

Detailed Description

Interrupts and flags management functions.

 ===============================================================================
             ##### Interrupts and flags management functions #####
 ===============================================================================   

Function Documentation

void FSMC_ClearFlag ( uint32_t  FSMC_Bank,
uint32_t  FSMC_FLAG 
)

Clears the FSMC's pending flags.

Parameters
FSMC_Bankspecifies the FSMC Bank to be used This parameter can be one of the following values:
  • FSMC_Bank2_NAND: FSMC Bank2 NAND
  • FSMC_Bank3_NAND: FSMC Bank3 NAND
  • FSMC_Bank4_PCCARD: FSMC Bank4 PCCARD
FSMC_FLAGspecifies the flag to clear. This parameter can be any combination of the following values:
  • FSMC_FLAG_RisingEdge: Rising edge detection Flag.
  • FSMC_FLAG_Level: Level detection Flag.
  • FSMC_FLAG_FallingEdge: Falling edge detection Flag.
Return values
None

Definition at line 866 of file stm32f4xx_fsmc.c.

void FSMC_ClearITPendingBit ( uint32_t  FSMC_Bank,
uint32_t  FSMC_IT 
)

Clears the FSMC's interrupt pending bits.

Parameters
FSMC_Bankspecifies the FSMC Bank to be used This parameter can be one of the following values:
  • FSMC_Bank2_NAND: FSMC Bank2 NAND
  • FSMC_Bank3_NAND: FSMC Bank3 NAND
  • FSMC_Bank4_PCCARD: FSMC Bank4 PCCARD
FSMC_ITspecifies the interrupt pending bit to clear. This parameter can be any combination of the following values:
  • FSMC_IT_RisingEdge: Rising edge detection interrupt.
  • FSMC_IT_Level: Level edge detection interrupt.
  • FSMC_IT_FallingEdge: Falling edge detection interrupt.
Return values
None

Definition at line 952 of file stm32f4xx_fsmc.c.

FlagStatus FSMC_GetFlagStatus ( uint32_t  FSMC_Bank,
uint32_t  FSMC_FLAG 
)

Checks whether the specified FSMC flag is set or not.

Parameters
FSMC_Bankspecifies the FSMC Bank to be used This parameter can be one of the following values:
  • FSMC_Bank2_NAND: FSMC Bank2 NAND
  • FSMC_Bank3_NAND: FSMC Bank3 NAND
  • FSMC_Bank4_PCCARD: FSMC Bank4 PCCARD
FSMC_FLAGspecifies the flag to check. This parameter can be one of the following values:
  • FSMC_FLAG_RisingEdge: Rising edge detection Flag.
  • FSMC_FLAG_Level: Level detection Flag.
  • FSMC_FLAG_FallingEdge: Falling edge detection Flag.
  • FSMC_FLAG_FEMPT: Fifo empty Flag.
Return values
Thenew state of FSMC_FLAG (SET or RESET).

Definition at line 816 of file stm32f4xx_fsmc.c.

ITStatus FSMC_GetITStatus ( uint32_t  FSMC_Bank,
uint32_t  FSMC_IT 
)

Checks whether the specified FSMC interrupt has occurred or not.

Parameters
FSMC_Bankspecifies the FSMC Bank to be used This parameter can be one of the following values:
  • FSMC_Bank2_NAND: FSMC Bank2 NAND
  • FSMC_Bank3_NAND: FSMC Bank3 NAND
  • FSMC_Bank4_PCCARD: FSMC Bank4 PCCARD
FSMC_ITspecifies the FSMC interrupt source to check. This parameter can be one of the following values:
  • FSMC_IT_RisingEdge: Rising edge detection interrupt.
  • FSMC_IT_Level: Level edge detection interrupt.
  • FSMC_IT_FallingEdge: Falling edge detection interrupt.
Return values
Thenew state of FSMC_IT (SET or RESET).

Definition at line 901 of file stm32f4xx_fsmc.c.

void FSMC_ITConfig ( uint32_t  FSMC_Bank,
uint32_t  FSMC_IT,
FunctionalState  NewState 
)

Enables or disables the specified FSMC interrupts.

Parameters
FSMC_Bankspecifies the FSMC Bank to be used This parameter can be one of the following values:
  • FSMC_Bank2_NAND: FSMC Bank2 NAND
  • FSMC_Bank3_NAND: FSMC Bank3 NAND
  • FSMC_Bank4_PCCARD: FSMC Bank4 PCCARD
FSMC_ITspecifies the FSMC interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
  • FSMC_IT_RisingEdge: Rising edge detection interrupt.
  • FSMC_IT_Level: Level edge detection interrupt.
  • FSMC_IT_FallingEdge: Falling edge detection interrupt.
NewStatenew state of the specified FSMC interrupts. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 756 of file stm32f4xx_fsmc.c.