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
PCCARD Controller functions
[FMC_Private_Functions]
PCCARD Controller functions. More...
Functions | |
void | FMC_PCCARDDeInit (void) |
De-initializes the FMC PCCARD Bank registers to their default reset values. | |
void | FMC_PCCARDInit (FMC_PCCARDInitTypeDef *FMC_PCCARDInitStruct) |
Initializes the FMC PCCARD Bank according to the specified parameters in the FMC_PCCARDInitStruct. | |
void | FMC_PCCARDStructInit (FMC_PCCARDInitTypeDef *FMC_PCCARDInitStruct) |
Fills each FMC_PCCARDInitStruct member with its default value. | |
void | FMC_PCCARDCmd (FunctionalState NewState) |
Enables or disables the PCCARD Memory Bank. |
Detailed Description
PCCARD Controller functions.
=============================================================================== ##### PCCARD Controller functions ##### =============================================================================== [..] he following sequence should be followed to configure the FMC to interface with 16-bit PC Card compatible memory connected to the PCCARD Bank: (#) Enable the clock for the FMC and associated GPIOs using the following functions: (++) RCC_AHB3PeriphClockCmd(RCC_AHB3Periph_FMC, ENABLE); (++) RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOx, ENABLE); (#) FMC pins configuration (++) Connect the involved FMC pins to AF12 using the following function GPIO_PinAFConfig(GPIOx, GPIO_PinSourcex, GPIO_AF_FMC); (++) Configure these FMC pins in alternate function mode by calling the function GPIO_Init(); (#) Declare a FMC_PCCARDInitTypeDef structure, for example: FMC_PCCARDInitTypeDef FMC_PCCARDInitStructure; and fill the FMC_PCCARDInitStructure variable with the allowed values of the structure member. (#) Initialize the PCCARD Controller by calling the function FMC_PCCARDInit(&FMC_PCCARDInitStructure); (#) Then enable the PCCARD Bank: FMC_PCCARDCmd(ENABLE); (#) At this stage you can read/write from/to the memory connected to the PCCARD Bank.
Function Documentation
void FMC_PCCARDCmd | ( | FunctionalState | NewState ) |
Enables or disables the PCCARD Memory Bank.
- Parameters:
-
NewState,: new state of the PCCARD Memory Bank. This parameter can be: ENABLE or DISABLE.
- Return values:
-
None
Definition at line 714 of file stm32f30x_fmc.c.
void FMC_PCCARDDeInit | ( | void | ) |
De-initializes the FMC PCCARD Bank registers to their default reset values.
- Parameters:
-
None
- Return values:
-
None
Definition at line 619 of file stm32f30x_fmc.c.
void FMC_PCCARDInit | ( | FMC_PCCARDInitTypeDef * | FMC_PCCARDInitStruct ) |
Initializes the FMC PCCARD Bank according to the specified parameters in the FMC_PCCARDInitStruct.
- Parameters:
-
FMC_PCCARDInitStruct : pointer to a FMC_PCCARDInitTypeDef structure that contains the configuration information for the FMC PCCARD Bank.
- Return values:
-
None
Definition at line 636 of file stm32f30x_fmc.c.
void FMC_PCCARDStructInit | ( | FMC_PCCARDInitTypeDef * | FMC_PCCARDInitStruct ) |
Fills each FMC_PCCARDInitStruct member with its default value.
- Parameters:
-
FMC_PCCARDInitStruct,: pointer to a FMC_PCCARDInitTypeDef structure which will be initialized.
- Return values:
-
None
Definition at line 688 of file stm32f30x_fmc.c.
Generated on Tue Jul 12 2022 17:34:45 by
