management functions
More...
management functions
==============================================================================
##### FMC_SDRAM Control functions #####
==============================================================================
[..]
This subsection provides a set of functions allowing to control dynamically
the FMC SDRAM interface.
◆ FMC_SDRAM_GetModeStatus()
uint32_t FMC_SDRAM_GetModeStatus |
( |
const FMC_SDRAM_TypeDef * |
Device, |
|
|
uint32_t |
Bank |
|
) |
| |
Returns the indicated FMC SDRAM bank mode status.
- Parameters
-
Device | Pointer to SDRAM device instance |
Bank | Defines the FMC SDRAM bank. This parameter can be FMC_Bank1_SDRAM or FMC_Bank2_SDRAM. |
- Return values
-
The | FMC SDRAM bank mode status, could be on of the following values: FMC_SDRAM_NORMAL_MODE, FMC_SDRAM_SELF_REFRESH_MODE or FMC_SDRAM_POWER_DOWN_MODE. |
Definition at line 1453 of file stm32f4xx_ll_fmc.c.
◆ FMC_SDRAM_ProgramRefreshRate()
HAL_StatusTypeDef FMC_SDRAM_ProgramRefreshRate |
( |
FMC_SDRAM_TypeDef * |
Device, |
|
|
uint32_t |
RefreshRate |
|
) |
| |
Program the SDRAM Memory Refresh rate.
- Parameters
-
Device | Pointer to SDRAM device instance |
RefreshRate | The SDRAM refresh rate value. |
- Return values
-
Definition at line 1413 of file stm32f4xx_ll_fmc.c.
◆ FMC_SDRAM_SendCommand()
HAL_StatusTypeDef FMC_SDRAM_SendCommand |
( |
FMC_SDRAM_TypeDef * |
Device, |
|
|
FMC_SDRAM_CommandTypeDef * |
Command, |
|
|
uint32_t |
Timeout |
|
) |
| |
Send Command to the FMC SDRAM bank.
- Parameters
-
Device | Pointer to SDRAM device instance |
Command | Pointer to SDRAM command structure |
Timing | Pointer to SDRAM Timing structure |
Timeout | Timeout wait value |
- Return values
-
Definition at line 1373 of file stm32f4xx_ll_fmc.c.
◆ FMC_SDRAM_SetAutoRefreshNumber()
HAL_StatusTypeDef FMC_SDRAM_SetAutoRefreshNumber |
( |
FMC_SDRAM_TypeDef * |
Device, |
|
|
uint32_t |
AutoRefreshNumber |
|
) |
| |
Set the Number of consecutive SDRAM Memory auto Refresh commands.
- Parameters
-
Device | Pointer to SDRAM device instance |
AutoRefreshNumber | Specifies the auto Refresh number. |
- Return values
-
Definition at line 1431 of file stm32f4xx_ll_fmc.c.
◆ FMC_SDRAM_WriteProtection_Disable()
HAL_StatusTypeDef FMC_SDRAM_WriteProtection_Disable |
( |
FMC_SDRAM_TypeDef * |
Device, |
|
|
uint32_t |
Bank |
|
) |
| |
Disables dynamically FMC_SDRAM write protection.
- Parameters
-
- Return values
-
Definition at line 1353 of file stm32f4xx_ll_fmc.c.
◆ FMC_SDRAM_WriteProtection_Enable()
HAL_StatusTypeDef FMC_SDRAM_WriteProtection_Enable |
( |
FMC_SDRAM_TypeDef * |
Device, |
|
|
uint32_t |
Bank |
|
) |
| |
Enables dynamically FMC_SDRAM write protection.
- Parameters
-
Device | Pointer to SDRAM device instance |
Bank | SDRAM bank number |
- Return values
-
Definition at line 1336 of file stm32f4xx_ll_fmc.c.