Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SDRAMC - SDRAM Controller

See Quickstart guide for SDRAMC driver..

Driver for the SDRAMC (SDRAM Controller). This driver provides access to the main features of the SDRAM controller.

Dependencies

This driver does not depend on other modules.

Modules

 Quick Start Guide(s)
 In this section you can find a list of all Quick Start guides related to the SDRAMC - SDRAM Controller.
 

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.

Parameters
p_sdramPointer to the sdram memory structure.
ul_clkSDRAM clock frequency.

References 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(), and memories_initialization().