STM32F4xx_HAL_Driver  1.8.3

management functions More...

+ Collaboration diagram for FMC_LL_SDRAMPrivate_Functions_Group2:

Functions

HAL_StatusTypeDef FMC_SDRAM_WriteProtection_Enable (FMC_SDRAM_TypeDef *Device, uint32_t Bank)
 Enables dynamically FMC_SDRAM write protection. More...
 
HAL_StatusTypeDef FMC_SDRAM_WriteProtection_Disable (FMC_SDRAM_TypeDef *Device, uint32_t Bank)
 Disables dynamically FMC_SDRAM write protection. More...
 
HAL_StatusTypeDef FMC_SDRAM_SendCommand (FMC_SDRAM_TypeDef *Device, FMC_SDRAM_CommandTypeDef *Command, uint32_t Timeout)
 Send Command to the FMC SDRAM bank. More...
 
HAL_StatusTypeDef FMC_SDRAM_ProgramRefreshRate (FMC_SDRAM_TypeDef *Device, uint32_t RefreshRate)
 Program the SDRAM Memory Refresh rate. More...
 
HAL_StatusTypeDef FMC_SDRAM_SetAutoRefreshNumber (FMC_SDRAM_TypeDef *Device, uint32_t AutoRefreshNumber)
 Set the Number of consecutive SDRAM Memory auto Refresh commands. More...
 
uint32_t FMC_SDRAM_GetModeStatus (const FMC_SDRAM_TypeDef *Device, uint32_t Bank)
 Returns the indicated FMC SDRAM bank mode status. More...
 

Detailed Description

management functions

  ==============================================================================
                      ##### FMC_SDRAM Control functions #####
  ==============================================================================
  [..]
    This subsection provides a set of functions allowing to control dynamically
    the FMC SDRAM interface.

Function Documentation

◆ 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
DevicePointer to SDRAM device instance
BankDefines the FMC SDRAM bank. This parameter can be FMC_Bank1_SDRAM or FMC_Bank2_SDRAM.
Return values
TheFMC 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
DevicePointer to SDRAM device instance
RefreshRateThe SDRAM refresh rate value.
Return values
HALstate

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
DevicePointer to SDRAM device instance
CommandPointer to SDRAM command structure
TimingPointer to SDRAM Timing structure
TimeoutTimeout wait value
Return values
HALstate

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
DevicePointer to SDRAM device instance
AutoRefreshNumberSpecifies the auto Refresh number.
Return values
None

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
hsdramFMC_SDRAM handle
Return values
HALstatus

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
DevicePointer to SDRAM device instance
BankSDRAM bank number
Return values
HALstatus

Definition at line 1336 of file stm32f4xx_ll_fmc.c.