management functions
More...
management functions
==============================================================================
##### SDRAM Control functions #####
==============================================================================
[..]
This subsection provides a set of functions allowing to control dynamically
the SDRAM interface.
◆ HAL_SDRAM_GetModeStatus()
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 1184 of file stm32f4xx_hal_sdram.c.
◆ HAL_SDRAM_ProgramRefreshRate()
HAL_StatusTypeDef HAL_SDRAM_ProgramRefreshRate |
( |
SDRAM_HandleTypeDef * |
hsdram, |
|
|
uint32_t |
RefreshRate |
|
) |
| |
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 1119 of file stm32f4xx_hal_sdram.c.
◆ HAL_SDRAM_SendCommand()
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 1076 of file stm32f4xx_hal_sdram.c.
◆ HAL_SDRAM_SetAutoRefreshNumber()
HAL_StatusTypeDef HAL_SDRAM_SetAutoRefreshNumber |
( |
SDRAM_HandleTypeDef * |
hsdram, |
|
|
uint32_t |
AutoRefreshNumber |
|
) |
| |
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 1152 of file stm32f4xx_hal_sdram.c.
◆ HAL_SDRAM_WriteProtection_Disable()
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 1040 of file stm32f4xx_hal_sdram.c.
◆ HAL_SDRAM_WriteProtection_Enable()
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 1008 of file stm32f4xx_hal_sdram.c.