Macros

macros to handle FMC interrupts More...

Collaboration diagram for FMC Interrupt:

Macros

#define __FMC_NAND_CLEAR_FLAG(__INSTANCE__, __FLAG__)   ((__INSTANCE__)->SR &= ~(__FLAG__))
 Clear flag status of the NAND device. More...
 
#define __FMC_NAND_DISABLE_IT(__INSTANCE__, __INTERRUPT__)   ((__INSTANCE__)->SR &= ~(__INTERRUPT__))
 Disable the NAND device interrupt. More...
 
#define __FMC_NAND_ENABLE_IT(__INSTANCE__, __INTERRUPT__)   ((__INSTANCE__)->SR |= (__INTERRUPT__))
 Enable the NAND device interrupt. More...
 
#define __FMC_NAND_GET_FLAG(__INSTANCE__, __BANK__, __FLAG__)   (((__INSTANCE__)->SR &(__FLAG__)) == (__FLAG__))
 Get flag status of the NAND device. More...
 
#define __FMC_SDRAM_CLEAR_FLAG(__INSTANCE__, __FLAG__)   ((__INSTANCE__)->SDRTR |= (__FLAG__))
 Clear flag status of the SDRAM device. More...
 
#define __FMC_SDRAM_DISABLE_IT(__INSTANCE__, __INTERRUPT__)   ((__INSTANCE__)->SDRTR &= ~(__INTERRUPT__))
 Disable the SDRAM device interrupt. More...
 
#define __FMC_SDRAM_ENABLE_IT(__INSTANCE__, __INTERRUPT__)   ((__INSTANCE__)->SDRTR |= (__INTERRUPT__))
 Enable the SDRAM device interrupt. More...
 
#define __FMC_SDRAM_GET_FLAG(__INSTANCE__, __FLAG__)   (((__INSTANCE__)->SDSR &(__FLAG__)) == (__FLAG__))
 Get flag status of the SDRAM device. More...
 

Detailed Description

macros to handle FMC interrupts

Macro Definition Documentation

◆ __FMC_NAND_CLEAR_FLAG

#define __FMC_NAND_CLEAR_FLAG (   __INSTANCE__,
  __FLAG__ 
)    ((__INSTANCE__)->SR &= ~(__FLAG__))

Clear flag status of the NAND device.

Parameters
<strong>INSTANCE</strong>FMC_NAND Instance
<strong>FLAG</strong>FMC_NAND flag This parameter can be any combination of the following values:
  • FMC_FLAG_RISING_EDGE: Interrupt rising edge flag.
  • FMC_FLAG_LEVEL: Interrupt level edge flag.
  • FMC_FLAG_FALLING_EDGE: Interrupt falling edge flag.
  • FMC_FLAG_FEMPT: FIFO empty flag.
Return values
None

Definition at line 1167 of file stm32f7xx_ll_fmc.h.

◆ __FMC_NAND_DISABLE_IT

#define __FMC_NAND_DISABLE_IT (   __INSTANCE__,
  __INTERRUPT__ 
)    ((__INSTANCE__)->SR &= ~(__INTERRUPT__))

Disable the NAND device interrupt.

Parameters
<strong>INSTANCE</strong>FMC_NAND Instance
<strong>INTERRUPT</strong>FMC_NAND interrupt This parameter can be any combination of the following values:
  • FMC_IT_RISING_EDGE: Interrupt rising edge.
  • FMC_IT_LEVEL: Interrupt level.
  • FMC_IT_FALLING_EDGE: Interrupt falling edge.
Return values
None

Definition at line 1140 of file stm32f7xx_ll_fmc.h.

◆ __FMC_NAND_ENABLE_IT

#define __FMC_NAND_ENABLE_IT (   __INSTANCE__,
  __INTERRUPT__ 
)    ((__INSTANCE__)->SR |= (__INTERRUPT__))

Enable the NAND device interrupt.

Parameters
<strong>INSTANCE</strong>FMC_NAND instance
<strong>INTERRUPT</strong>FMC_NAND interrupt This parameter can be any combination of the following values:
  • FMC_IT_RISING_EDGE: Interrupt rising edge.
  • FMC_IT_LEVEL: Interrupt level.
  • FMC_IT_FALLING_EDGE: Interrupt falling edge.
Return values
None

Definition at line 1128 of file stm32f7xx_ll_fmc.h.

◆ __FMC_NAND_GET_FLAG

#define __FMC_NAND_GET_FLAG (   __INSTANCE__,
  __BANK__,
  __FLAG__ 
)    (((__INSTANCE__)->SR &(__FLAG__)) == (__FLAG__))

Get flag status of the NAND device.

Parameters
<strong>INSTANCE</strong>FMC_NAND Instance
<strong>BANK</strong>FMC_NAND Bank
<strong>FLAG</strong>FMC_NAND flag This parameter can be any combination of the following values:
  • FMC_FLAG_RISING_EDGE: Interrupt rising edge flag.
  • FMC_FLAG_LEVEL: Interrupt level edge flag.
  • FMC_FLAG_FALLING_EDGE: Interrupt falling edge flag.
  • FMC_FLAG_FEMPT: FIFO empty flag.
Return values
Thestate of FLAG (SET or RESET).

Definition at line 1154 of file stm32f7xx_ll_fmc.h.

◆ __FMC_SDRAM_CLEAR_FLAG

#define __FMC_SDRAM_CLEAR_FLAG (   __INSTANCE__,
  __FLAG__ 
)    ((__INSTANCE__)->SDRTR |= (__FLAG__))

Clear flag status of the SDRAM device.

Parameters
<strong>INSTANCE</strong>FMC_SDRAM instance
<strong>FLAG</strong>FMC_SDRAM flag This parameter can be any combination of the following values:
  • FMC_SDRAM_FLAG_REFRESH_ERROR
Return values
None

Definition at line 1209 of file stm32f7xx_ll_fmc.h.

◆ __FMC_SDRAM_DISABLE_IT

#define __FMC_SDRAM_DISABLE_IT (   __INSTANCE__,
  __INTERRUPT__ 
)    ((__INSTANCE__)->SDRTR &= ~(__INTERRUPT__))

Disable the SDRAM device interrupt.

Parameters
<strong>INSTANCE</strong>FMC_SDRAM instance
<strong>INTERRUPT</strong>FMC_SDRAM interrupt This parameter can be any combination of the following values:
  • FMC_IT_REFRESH_ERROR: Interrupt refresh error
Return values
None

Definition at line 1187 of file stm32f7xx_ll_fmc.h.

◆ __FMC_SDRAM_ENABLE_IT

#define __FMC_SDRAM_ENABLE_IT (   __INSTANCE__,
  __INTERRUPT__ 
)    ((__INSTANCE__)->SDRTR |= (__INTERRUPT__))

Enable the SDRAM device interrupt.

Parameters
<strong>INSTANCE</strong>FMC_SDRAM instance
<strong>INTERRUPT</strong>FMC_SDRAM interrupt This parameter can be any combination of the following values:
  • FMC_IT_REFRESH_ERROR: Interrupt refresh error
Return values
None

Definition at line 1177 of file stm32f7xx_ll_fmc.h.

◆ __FMC_SDRAM_GET_FLAG

#define __FMC_SDRAM_GET_FLAG (   __INSTANCE__,
  __FLAG__ 
)    (((__INSTANCE__)->SDSR &(__FLAG__)) == (__FLAG__))

Get flag status of the SDRAM device.

Parameters
<strong>INSTANCE</strong>FMC_SDRAM instance
<strong>FLAG</strong>FMC_SDRAM flag This parameter can be any combination of the following values:
  • FMC_SDRAM_FLAG_REFRESH_IT: Interrupt refresh error.
  • FMC_SDRAM_FLAG_BUSY: SDRAM busy flag.
  • FMC_SDRAM_FLAG_REFRESH_ERROR: Refresh error flag.
Return values
Thestate of FLAG (SET or RESET).

Definition at line 1199 of file stm32f7xx_ll_fmc.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08