See Quickstart guide for SDRAMC driver..
Driver for the SDRAMC (SDRAM Controller). This driver provides access to the main features of the SDRAM controller.
This driver does not depend on other modules.
Functions | |
void | sdramc_deinit (void) |
De-initialize the SDRAM controller. More... | |
void | sdramc_init (sdramc_memory_dev_t *p_sdram, uint32_t ul_clk) |
Initialize the SDRAM controller. More... | |
void sdramc_deinit | ( | void | ) |
De-initialize the SDRAM controller.
References SLEEPMGR_ACTIVE, and sleepmgr_unlock_mode().
void sdramc_init | ( | sdramc_memory_dev_t * | p_sdram, |
uint32_t | ul_clk | ||
) |
Initialize the SDRAM controller.
p_sdram | Pointer to the sdram memory structure. |
ul_clk | SDRAM clock frequency. |
References BOARD_SDRAM_ADDR, sdramc_memory_dev::cr, SLEEPMGR_ACTIVE, sleepmgr_lock_mode(), sdramc_memory_dev::ul_bk1, sdramc_memory_dev::sdramc_cr::ul_cfg, and sdramc_memory_dev::ul_mode.
Referenced by main().