management functions
More...
Detailed Description
management functions
==============================================================================
##### SDRAM Control functions #####
==============================================================================
[..]
This subsection provides a set of functions allowing to control dynamically
the SDRAM interface.
Function Documentation
Returns the SDRAM memory current mode.
- Parameters:
-
hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
- Return values:
-
Definition at line 1188 of file stm32f4xx_hal_sdram.c.
Programs the SDRAM Memory Refresh rate.
- Parameters:
-
hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
RefreshRate | The SDRAM refresh rate value |
- Return values:
-
Definition at line 1123 of file stm32f4xx_hal_sdram.c.
HAL_StatusTypeDef HAL_SDRAM_SendCommand |
( |
SDRAM_HandleTypeDef * |
hsdram, |
|
|
FMC_SDRAM_CommandTypeDef * |
Command, |
|
|
uint32_t |
Timeout |
|
) |
| |
Sends Command to the SDRAM bank.
- Parameters:
-
hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
Command | SDRAM command structure |
Timeout | Timeout duration |
- Return values:
-
Definition at line 1080 of file stm32f4xx_hal_sdram.c.
Sets the Number of consecutive SDRAM Memory auto Refresh commands.
- Parameters:
-
hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
AutoRefreshNumber | The SDRAM auto Refresh number |
- Return values:
-
Definition at line 1156 of file stm32f4xx_hal_sdram.c.
Disables dynamically SDRAM write protection.
- Parameters:
-
hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
- Return values:
-
Definition at line 1044 of file stm32f4xx_hal_sdram.c.
Enables dynamically SDRAM write protection.
- Parameters:
-
hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
- Return values:
-
Definition at line 1012 of file stm32f4xx_hal_sdram.c.