This fork is necessary for the Starship code.
Fork of BSP_DISCO_F429ZI by
STM32F429I DISCOVERY SDRAM Private Functions
[STM32F429I DISCOVERY SDRAM]
Functions | |
uint8_t | BSP_SDRAM_Init (void) |
Initializes the SDRAM device. | |
void | BSP_SDRAM_Initialization_sequence (uint32_t RefreshCount) |
Programs the SDRAM device. | |
uint8_t | BSP_SDRAM_ReadData (uint32_t uwStartAddress, uint32_t *pData, uint32_t uwDataSize) |
Reads an mount of data from the SDRAM memory in polling mode. | |
uint8_t | BSP_SDRAM_ReadData_DMA (uint32_t uwStartAddress, uint32_t *pData, uint32_t uwDataSize) |
Reads an mount of data from the SDRAM memory in DMA mode. | |
uint8_t | BSP_SDRAM_WriteData (uint32_t uwStartAddress, uint32_t *pData, uint32_t uwDataSize) |
Writes an mount of data to the SDRAM memory in polling mode. | |
uint8_t | BSP_SDRAM_WriteData_DMA (uint32_t uwStartAddress, uint32_t *pData, uint32_t uwDataSize) |
Writes an mount of data to the SDRAM memory in DMA mode. | |
uint8_t | BSP_SDRAM_Sendcmd (FMC_SDRAM_CommandTypeDef *SdramCmd) |
Sends command to the SDRAM bank. | |
void | BSP_SDRAM_DMA_IRQHandler (void) |
Handles SDRAM DMA transfer interrupt request. | |
__weak void | BSP_SDRAM_MspInit (SDRAM_HandleTypeDef *hsdram, void *Params) |
Initializes SDRAM MSP. | |
__weak void | BSP_SDRAM_MspDeInit (SDRAM_HandleTypeDef *hsdram, void *Params) |
DeInitializes SDRAM MSP. |
Function Documentation
void BSP_SDRAM_DMA_IRQHandler | ( | void | ) |
Handles SDRAM DMA transfer interrupt request.
Definition at line 315 of file stm32f429i_discovery_sdram.c.
uint8_t BSP_SDRAM_Init | ( | void | ) |
Initializes the SDRAM device.
Definition at line 102 of file stm32f429i_discovery_sdram.c.
void BSP_SDRAM_Initialization_sequence | ( | uint32_t | RefreshCount ) |
Programs the SDRAM device.
- Parameters:
-
RefreshCount,: SDRAM refresh counter value
Definition at line 163 of file stm32f429i_discovery_sdram.c.
__weak void BSP_SDRAM_MspDeInit | ( | SDRAM_HandleTypeDef * | hsdram, |
void * | Params | ||
) |
DeInitializes SDRAM MSP.
- Note:
- This function can be surcharged by application code.
- Parameters:
-
hsdram,: pointer on SDRAM handle Params,: pointer on additional configuration parameters, can be NULL.
Definition at line 447 of file stm32f429i_discovery_sdram.c.
__weak void BSP_SDRAM_MspInit | ( | SDRAM_HandleTypeDef * | hsdram, |
void * | Params | ||
) |
Initializes SDRAM MSP.
- Note:
- This function can be surcharged by application code.
- Parameters:
-
hsdram,: pointer on SDRAM handle Params,: pointer on additional configuration parameters, can be NULL.
Definition at line 326 of file stm32f429i_discovery_sdram.c.
uint8_t BSP_SDRAM_ReadData | ( | uint32_t | uwStartAddress, |
uint32_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Reads an mount of data from the SDRAM memory in polling mode.
- Parameters:
-
uwStartAddress : Read start address pData : Pointer to data to be read uwDataSize,: Size of read data from the memory
Definition at line 225 of file stm32f429i_discovery_sdram.c.
uint8_t BSP_SDRAM_ReadData_DMA | ( | uint32_t | uwStartAddress, |
uint32_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Reads an mount of data from the SDRAM memory in DMA mode.
- Parameters:
-
uwStartAddress : Read start address pData : Pointer to data to be read uwDataSize,: Size of read data from the memory
Definition at line 243 of file stm32f429i_discovery_sdram.c.
uint8_t BSP_SDRAM_Sendcmd | ( | FMC_SDRAM_CommandTypeDef * | SdramCmd ) |
Sends command to the SDRAM bank.
- Parameters:
-
SdramCmd,: Pointer to SDRAM command structure
- Return values:
-
HAL status
Definition at line 300 of file stm32f429i_discovery_sdram.c.
uint8_t BSP_SDRAM_WriteData | ( | uint32_t | uwStartAddress, |
uint32_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Writes an mount of data to the SDRAM memory in polling mode.
- Parameters:
-
uwStartAddress : Write start address pData : Pointer to data to be written uwDataSize,: Size of written data from the memory
Definition at line 261 of file stm32f429i_discovery_sdram.c.
uint8_t BSP_SDRAM_WriteData_DMA | ( | uint32_t | uwStartAddress, |
uint32_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Writes an mount of data to the SDRAM memory in DMA mode.
- Parameters:
-
uwStartAddress : Write start address pData : Pointer to data to be written uwDataSize,: Size of written data from the memory
Definition at line 283 of file stm32f429i_discovery_sdram.c.
Generated on Tue Jul 12 2022 19:08:45 by 1.7.2