|
STM32H735xx HAL User Manual
|
management functions More...
Functions | |
| HAL_StatusTypeDef | HAL_SDRAM_WriteProtection_Enable (SDRAM_HandleTypeDef *hsdram) |
| Enables dynamically SDRAM write protection. | |
| HAL_StatusTypeDef | HAL_SDRAM_WriteProtection_Disable (SDRAM_HandleTypeDef *hsdram) |
| Disables dynamically SDRAM write protection. | |
| HAL_StatusTypeDef | HAL_SDRAM_SendCommand (SDRAM_HandleTypeDef *hsdram, FMC_SDRAM_CommandTypeDef *Command, uint32_t Timeout) |
| Sends Command to the SDRAM bank. | |
| HAL_StatusTypeDef | HAL_SDRAM_ProgramRefreshRate (SDRAM_HandleTypeDef *hsdram, uint32_t RefreshRate) |
| Programs the SDRAM Memory Refresh rate. | |
| HAL_StatusTypeDef | HAL_SDRAM_SetAutoRefreshNumber (SDRAM_HandleTypeDef *hsdram, uint32_t AutoRefreshNumber) |
| Sets the Number of consecutive SDRAM Memory auto Refresh commands. | |
| uint32_t | HAL_SDRAM_GetModeStatus (SDRAM_HandleTypeDef *hsdram) |
| Returns the SDRAM memory current mode. | |
management functions
==============================================================================
##### SDRAM Control functions #####
==============================================================================
[..]
This subsection provides a set of functions allowing to control dynamically
the SDRAM interface.
| uint32_t HAL_SDRAM_GetModeStatus | ( | SDRAM_HandleTypeDef * | hsdram | ) |
Returns the SDRAM memory current mode.
| hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
| The | SDRAM memory mode. |
Definition at line 1190 of file stm32h7xx_hal_sdram.c.
References __SDRAM_HandleTypeDef::Init, and __SDRAM_HandleTypeDef::Instance.
| HAL_StatusTypeDef HAL_SDRAM_ProgramRefreshRate | ( | SDRAM_HandleTypeDef * | hsdram, |
| uint32_t | RefreshRate | ||
| ) |
Programs the SDRAM Memory Refresh rate.
| hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
| RefreshRate | The SDRAM refresh rate value |
| HAL | status |
Definition at line 1125 of file stm32h7xx_hal_sdram.c.
References HAL_SDRAM_STATE_BUSY, HAL_SDRAM_STATE_READY, __SDRAM_HandleTypeDef::Instance, and __SDRAM_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_SDRAM_SendCommand | ( | SDRAM_HandleTypeDef * | hsdram, |
| FMC_SDRAM_CommandTypeDef * | Command, | ||
| uint32_t | Timeout | ||
| ) |
Sends Command to the SDRAM bank.
| hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
| Command | SDRAM command structure |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 1082 of file stm32h7xx_hal_sdram.c.
References HAL_SDRAM_STATE_BUSY, HAL_SDRAM_STATE_PRECHARGED, HAL_SDRAM_STATE_READY, __SDRAM_HandleTypeDef::Instance, and __SDRAM_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_SDRAM_SetAutoRefreshNumber | ( | SDRAM_HandleTypeDef * | hsdram, |
| uint32_t | AutoRefreshNumber | ||
| ) |
Sets the Number of consecutive SDRAM Memory auto Refresh commands.
| hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
| AutoRefreshNumber | The SDRAM auto Refresh number |
| HAL | status |
Definition at line 1158 of file stm32h7xx_hal_sdram.c.
References HAL_SDRAM_STATE_BUSY, HAL_SDRAM_STATE_READY, __SDRAM_HandleTypeDef::Instance, and __SDRAM_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_SDRAM_WriteProtection_Disable | ( | SDRAM_HandleTypeDef * | hsdram | ) |
Disables dynamically SDRAM write protection.
| hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
| HAL | status |
Definition at line 1046 of file stm32h7xx_hal_sdram.c.
References HAL_SDRAM_STATE_BUSY, HAL_SDRAM_STATE_READY, HAL_SDRAM_STATE_WRITE_PROTECTED, __SDRAM_HandleTypeDef::Init, __SDRAM_HandleTypeDef::Instance, and __SDRAM_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_SDRAM_WriteProtection_Enable | ( | SDRAM_HandleTypeDef * | hsdram | ) |
Enables dynamically SDRAM write protection.
| hsdram | pointer to a SDRAM_HandleTypeDef structure that contains the configuration information for SDRAM module. |
| HAL | status |
Definition at line 1014 of file stm32h7xx_hal_sdram.c.
References HAL_SDRAM_STATE_BUSY, HAL_SDRAM_STATE_READY, HAL_SDRAM_STATE_WRITE_PROTECTED, __SDRAM_HandleTypeDef::Init, __SDRAM_HandleTypeDef::Instance, and __SDRAM_HandleTypeDef::State.
1.7.6.1