RA Flexible Software Package Documentation  Release v5.6.0

 
BSP SDRAM support

Functions

void R_BSP_SdramInit (bool init_memory)
 Initializes SDRAM. More...
 
void R_BSP_SdramSelfRefreshEnable (void)
 Changes SDRAM from Auto-refresh to Self-refresh. More...
 
void R_BSP_SdramSelfRefreshDisable (void)
 Changes SDRAM from Self-refresh to Auto-refresh. More...
 

Detailed Description

Code that initializes the SDRAMC and SDR SDRAM device memory.

Function Documentation

◆ R_BSP_SdramInit()

void R_BSP_SdramInit ( bool  init_memory)

Initializes SDRAM.

Parameters
init_memoryIf true, this function will execute the initialization of the external modules. Otherwise, it will only initialize the SDRAMC and leave the memory in self-refresh mode.

This function initializes SDRAMC and SDR SDRAM device.

Note
This function must only be called once after reset.

◆ R_BSP_SdramSelfRefreshEnable()

void R_BSP_SdramSelfRefreshEnable ( void  )

Changes SDRAM from Auto-refresh to Self-refresh.

This function allows Software Standby and Deep Software Standby modes to be entered without data loss.

Note
SDRAM cannot be accessed after calling this function. Use R_BSP_SdramSelfRefreshDisable to resume normal SDRAM operation.

◆ R_BSP_SdramSelfRefreshDisable()

void R_BSP_SdramSelfRefreshDisable ( void  )

Changes SDRAM from Self-refresh to Auto-refresh.

This function changes back to Auto-refresh and allows normal SDRAM operation to resume.