Modules | Functions
Collaboration diagram for FSMC_Private_Functions:

Modules

 NOR/SRAM Controller functions
 NOR/SRAM Controller functions.
 
 NAND Controller functions
 NAND Controller functions.
 
 PCCARD Controller functions
 PCCARD Controller functions.
 
 Interrupts and flags management functions
 Interrupts and flags management functions.
 

Functions

void FSMC_ClearFlag (uint32_t FSMC_Bank, uint32_t FSMC_FLAG)
 Clears the FSMC's pending flags. More...
 
void FSMC_ClearITPendingBit (uint32_t FSMC_Bank, uint32_t FSMC_IT)
 Clears the FSMC's interrupt pending bits. More...
 
uint32_t FSMC_GetECC (uint32_t FSMC_Bank)
 Returns the error correction code register value. More...
 
FlagStatus FSMC_GetFlagStatus (uint32_t FSMC_Bank, uint32_t FSMC_FLAG)
 Checks whether the specified FSMC flag is set or not. 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_ITConfig (uint32_t FSMC_Bank, uint32_t FSMC_IT, FunctionalState NewState)
 Enables or disables the specified FSMC interrupts. More...
 
void FSMC_NANDCmd (uint32_t FSMC_Bank, FunctionalState NewState)
 Enables or disables the specified NAND Memory Bank. More...
 
void FSMC_NANDDeInit (uint32_t FSMC_Bank)
 Deinitializes the FSMC NAND Banks registers to their default reset values. More...
 
void FSMC_NANDECCCmd (uint32_t FSMC_Bank, FunctionalState NewState)
 Enables or disables the FSMC NAND ECC feature. More...
 
void FSMC_NANDInit (FSMC_NANDInitTypeDef *FSMC_NANDInitStruct)
 Initializes the FSMC NAND Banks according to the specified parameters in the FSMC_NANDInitStruct. More...
 
void FSMC_NANDStructInit (FSMC_NANDInitTypeDef *FSMC_NANDInitStruct)
 Fills each FSMC_NANDInitStruct member with its default value. More...
 
void FSMC_NORSRAMCmd (uint32_t FSMC_Bank, FunctionalState NewState)
 Enables or disables the specified NOR/SRAM Memory Bank. More...
 
void FSMC_NORSRAMDeInit (uint32_t FSMC_Bank)
 Deinitializes the FSMC NOR/SRAM Banks registers to their default reset values. More...
 
void FSMC_NORSRAMInit (FSMC_NORSRAMInitTypeDef *FSMC_NORSRAMInitStruct)
 Initializes the FSMC NOR/SRAM Banks according to the specified parameters in the FSMC_NORSRAMInitStruct. More...
 
void FSMC_NORSRAMStructInit (FSMC_NORSRAMInitTypeDef *FSMC_NORSRAMInitStruct)
 Fills each FSMC_NORSRAMInitStruct member with its default value. More...
 
void FSMC_PCCARDCmd (FunctionalState NewState)
 Enables or disables the PCCARD Memory Bank. More...
 
void FSMC_PCCARDDeInit (void)
 Deinitializes the FSMC PCCARD Bank registers to their default reset values. More...
 
void FSMC_PCCARDInit (FSMC_PCCARDInitTypeDef *FSMC_PCCARDInitStruct)
 Initializes the FSMC PCCARD Bank according to the specified parameters in the FSMC_PCCARDInitStruct. More...
 
void FSMC_PCCARDStructInit (FSMC_PCCARDInitTypeDef *FSMC_PCCARDInitStruct)
 Fills each FSMC_PCCARDInitStruct member with its default value. More...
 

Detailed Description

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 egde detection Flag.
  • FSMC_FLAG_Level: Level detection Flag.
  • FSMC_FLAG_FallingEdge: Falling egde detection Flag.
Return values
None

Definition at line 747 of file stm32f10x_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 833 of file stm32f10x_fsmc.c.

uint32_t FSMC_GetECC ( uint32_t  FSMC_Bank)

Returns the error correction code register value.

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
Return values
TheError Correction Code (ECC) value.

Definition at line 603 of file stm32f10x_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 egde detection Flag.
  • FSMC_FLAG_Level: Level detection Flag.
  • FSMC_FLAG_FallingEdge: Falling egde detection Flag.
  • FSMC_FLAG_FEMPT: Fifo empty Flag.
Return values
Thenew state of FSMC_FLAG (SET or RESET).

Definition at line 697 of file stm32f10x_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 782 of file stm32f10x_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 637 of file stm32f10x_fsmc.c.

void FSMC_NANDCmd ( uint32_t  FSMC_Bank,
FunctionalState  NewState 
)

Enables or disables the specified NAND Memory Bank.

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
NewStatenew state of the FSMC_Bank. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 501 of file stm32f10x_fsmc.c.

void FSMC_NANDDeInit ( uint32_t  FSMC_Bank)

Deinitializes the FSMC NAND Banks registers to their default reset values.

De-initializes the FSMC NAND Banks registers to their default reset values.

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
Return values
None

Definition at line 129 of file stm32f10x_fsmc.c.

void FSMC_NANDECCCmd ( uint32_t  FSMC_Bank,
FunctionalState  NewState 
)

Enables or disables the FSMC NAND ECC feature.

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
NewStatenew state of the FSMC NAND ECC feature. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 564 of file stm32f10x_fsmc.c.

void FSMC_NANDInit ( FSMC_NANDInitTypeDef FSMC_NANDInitStruct)

Initializes the FSMC NAND Banks according to the specified parameters in the FSMC_NANDInitStruct.

Parameters
FSMC_NANDInitStruct: pointer to a FSMC_NANDInitTypeDef structure that contains the configuration information for the FSMC NAND specified Banks.
Return values
None

Definition at line 262 of file stm32f10x_fsmc.c.

void FSMC_NANDStructInit ( FSMC_NANDInitTypeDef FSMC_NANDInitStruct)

Fills each FSMC_NANDInitStruct member with its default value.

Parameters
FSMC_NANDInitStructpointer to a FSMC_NANDInitTypeDef structure which will be initialized.
Return values
None

Definition at line 418 of file stm32f10x_fsmc.c.

void FSMC_NORSRAMCmd ( uint32_t  FSMC_Bank,
FunctionalState  NewState 
)

Enables or disables the specified NOR/SRAM Memory Bank.

Parameters
FSMC_Bankspecifies the FSMC Bank to be used This parameter can be one of the following values:
  • FSMC_Bank1_NORSRAM1: FSMC Bank1 NOR/SRAM1
  • FSMC_Bank1_NORSRAM2: FSMC Bank1 NOR/SRAM2
  • FSMC_Bank1_NORSRAM3: FSMC Bank1 NOR/SRAM3
  • FSMC_Bank1_NORSRAM4: FSMC Bank1 NOR/SRAM4
NewStatenew state of the FSMC_Bank. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 475 of file stm32f10x_fsmc.c.

void FSMC_NORSRAMDeInit ( uint32_t  FSMC_Bank)

Deinitializes the FSMC NOR/SRAM Banks registers to their default reset values.

De-initializes the FSMC NOR/SRAM Banks registers to their default reset values.

Parameters
FSMC_Bankspecifies the FSMC Bank to be used This parameter can be one of the following values:
  • FSMC_Bank1_NORSRAM1: FSMC Bank1 NOR/SRAM1
  • FSMC_Bank1_NORSRAM2: FSMC Bank1 NOR/SRAM2
  • FSMC_Bank1_NORSRAM3: FSMC Bank1 NOR/SRAM3
  • FSMC_Bank1_NORSRAM4: FSMC Bank1 NOR/SRAM4
Return values
None

Definition at line 102 of file stm32f10x_fsmc.c.

void FSMC_NORSRAMInit ( FSMC_NORSRAMInitTypeDef FSMC_NORSRAMInitStruct)

Initializes the FSMC NOR/SRAM Banks according to the specified parameters in the FSMC_NORSRAMInitStruct.

Parameters
FSMC_NORSRAMInitStruct: pointer to a FSMC_NORSRAMInitTypeDef structure that contains the configuration information for the FSMC NOR/SRAM specified Banks.
Return values
None

Definition at line 176 of file stm32f10x_fsmc.c.

void FSMC_NORSRAMStructInit ( FSMC_NORSRAMInitTypeDef FSMC_NORSRAMInitStruct)

Fills each FSMC_NORSRAMInitStruct member with its default value.

Parameters
FSMC_NORSRAMInitStructpointer to a FSMC_NORSRAMInitTypeDef structure which will be initialized.
Return values
None

Definition at line 380 of file stm32f10x_fsmc.c.

void FSMC_PCCARDCmd ( FunctionalState  NewState)

Enables or disables the PCCARD Memory Bank.

Parameters
NewStatenew state of the PCCARD Memory Bank. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 538 of file stm32f10x_fsmc.c.

void FSMC_PCCARDDeInit ( void  )

Deinitializes the FSMC PCCARD Bank registers to their default reset values.

De-initializes the FSMC PCCARD Bank registers to their default reset values.

Parameters
None
Return values
None

Definition at line 158 of file stm32f10x_fsmc.c.

void FSMC_PCCARDInit ( FSMC_PCCARDInitTypeDef FSMC_PCCARDInitStruct)

Initializes the FSMC PCCARD Bank according to the specified parameters in the FSMC_PCCARDInitStruct.

Parameters
FSMC_PCCARDInitStruct: pointer to a FSMC_PCCARDInitTypeDef structure that contains the configuration information for the FSMC PCCARD Bank.
Return values
None

Definition at line 328 of file stm32f10x_fsmc.c.

void FSMC_PCCARDStructInit ( FSMC_PCCARDInitTypeDef FSMC_PCCARDInitStruct)

Fills each FSMC_PCCARDInitStruct member with its default value.

Parameters
FSMC_PCCARDInitStructpointer to a FSMC_PCCARDInitTypeDef structure which will be initialized.
Return values
None

Definition at line 444 of file stm32f10x_fsmc.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:29