Home
last modified time | relevance | path

Searched refs:sdram_cmd (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-2.7.6/drivers/memc/
Dmemc_stm32_sdram.c40 FMC_SDRAM_CommandTypeDef sdram_cmd = { 0 }; in memc_stm32_sdram_init() local
55 sdram_cmd.CommandTarget = FMC_SDRAM_CMD_TARGET_BANK1_2; in memc_stm32_sdram_init()
57 sdram_cmd.CommandTarget = FMC_SDRAM_CMD_TARGET_BANK1; in memc_stm32_sdram_init()
59 sdram_cmd.CommandTarget = FMC_SDRAM_CMD_TARGET_BANK2; in memc_stm32_sdram_init()
62 sdram_cmd.AutoRefreshNumber = config->num_auto_refresh; in memc_stm32_sdram_init()
63 sdram_cmd.ModeRegisterDefinition = config->mode_register; in memc_stm32_sdram_init()
66 sdram_cmd.CommandMode = FMC_SDRAM_CMD_CLK_ENABLE; in memc_stm32_sdram_init()
67 (void)HAL_SDRAM_SendCommand(&sdram, &sdram_cmd, 0U); in memc_stm32_sdram_init()
72 sdram_cmd.CommandMode = FMC_SDRAM_CMD_PALL; in memc_stm32_sdram_init()
73 (void)HAL_SDRAM_SendCommand(&sdram, &sdram_cmd, 0U); in memc_stm32_sdram_init()
[all …]