RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Fields
_semc_sdram_config Struct Reference

SEMC SDRAM configuration structure. More...

#include <fsl_semc.h>

Data Fields

semc_iomux_pin csxPinMux
 
uint32_t address
 
uint32_t memsize_kbytes
 
smec_port_size_t portSize
 
sem_sdram_burst_len_t burstLen
 
semc_sdram_column_bit_num_t columnAddrBitNum
 
semc_caslatency_t casLatency
 
uint8_t tPrecharge2Act_Ns
 
uint8_t tAct2ReadWrite_Ns
 
uint8_t tRefreshRecovery_Ns
 
uint8_t tWriteRecovery_Ns
 
uint8_t tCkeOff_Ns
 
uint8_t tAct2Prechage_Ns
 
uint8_t tSelfRefRecovery_Ns
 
uint8_t tRefresh2Refresh_Ns
 
uint8_t tAct2Act_Ns
 
uint32_t tPrescalePeriod_Ns
 
uint32_t tIdleTimeout_Ns
 
uint32_t refreshPeriod_nsPerRow
 
uint32_t refreshUrgThreshold
 
uint8_t refreshBurstLen
 

Detailed Description

SEMC SDRAM configuration structure.

  1. The memory size in the configuration is in the unit of KB. So memsize_kbytes should be set as 2^2, 2^3, 2^4 .etc which is base 2KB exponential function. Take refer to BR0~BR3 register in RM for details.
  2. The prescalePeriod_N16Cycle is in unit of 16 clock cycle. It is a exception for prescaleTimer_n16cycle = 0, it means the prescaler timer period is 256 * 16 clock cycles. For precalerIf precalerTimer_n16cycle not equal to 0, The prescaler timer period is prescalePeriod_N16Cycle * 16 clock cycles. idleTimeout_NprescalePeriod, refreshUrgThreshold_NprescalePeriod, refreshPeriod_NprescalePeriod are similar to prescalePeriod_N16Cycle.

The documentation for this struct was generated from the following file: