Classes | Macros
SDRAM Controller

Classes

struct  Sdramc
 Sdramc hardware registers. More...
 

Macros

#define SDRAMC_CFR1_TMRD(value)   ((SDRAMC_CFR1_TMRD_Msk & ((value) << SDRAMC_CFR1_TMRD_Pos)))
 
#define SDRAMC_CFR1_TMRD_Msk   (0xfu << SDRAMC_CFR1_TMRD_Pos)
 (SDRAMC_CFR1) Load Mode Register Command to Active or Refresh Command More...
 
#define SDRAMC_CFR1_TMRD_Pos   0
 
#define SDRAMC_CFR1_UNAL   (0x1u << 8)
 (SDRAMC_CFR1) Support Unaligned Access More...
 
#define SDRAMC_CFR1_UNAL_SUPPORTED   (0x1u << 8)
 (SDRAMC_CFR1) Unaligned access is supported. More...
 
#define SDRAMC_CFR1_UNAL_UNSUPPORTED   (0x0u << 8)
 (SDRAMC_CFR1) Unaligned access is not supported. More...
 
#define SDRAMC_CR_CAS(value)   ((SDRAMC_CR_CAS_Msk & ((value) << SDRAMC_CR_CAS_Pos)))
 
#define SDRAMC_CR_CAS_LATENCY1   (0x1u << 5)
 (SDRAMC_CR) 1 cycle CAS latency More...
 
#define SDRAMC_CR_CAS_LATENCY2   (0x2u << 5)
 (SDRAMC_CR) 2 cycle CAS latency More...
 
#define SDRAMC_CR_CAS_LATENCY3   (0x3u << 5)
 (SDRAMC_CR) 3 cycle CAS latency More...
 
#define SDRAMC_CR_CAS_Msk   (0x3u << SDRAMC_CR_CAS_Pos)
 (SDRAMC_CR) CAS Latency More...
 
#define SDRAMC_CR_CAS_Pos   5
 
#define SDRAMC_CR_DBW   (0x1u << 7)
 (SDRAMC_CR) Data Bus Width More...
 
#define SDRAMC_CR_NB   (0x1u << 4)
 (SDRAMC_CR) Number of Banks More...
 
#define SDRAMC_CR_NB_BANK2   (0x0u << 4)
 (SDRAMC_CR) 2 banks More...
 
#define SDRAMC_CR_NB_BANK4   (0x1u << 4)
 (SDRAMC_CR) 4 banks More...
 
#define SDRAMC_CR_NC(value)   ((SDRAMC_CR_NC_Msk & ((value) << SDRAMC_CR_NC_Pos)))
 
#define SDRAMC_CR_NC_COL10   (0x2u << 0)
 (SDRAMC_CR) 10 column bits More...
 
#define SDRAMC_CR_NC_COL11   (0x3u << 0)
 (SDRAMC_CR) 11 column bits More...
 
#define SDRAMC_CR_NC_COL8   (0x0u << 0)
 (SDRAMC_CR) 8 column bits More...
 
#define SDRAMC_CR_NC_COL9   (0x1u << 0)
 (SDRAMC_CR) 9 column bits More...
 
#define SDRAMC_CR_NC_Msk   (0x3u << SDRAMC_CR_NC_Pos)
 (SDRAMC_CR) Number of Column Bits More...
 
#define SDRAMC_CR_NC_Pos   0
 
#define SDRAMC_CR_NR(value)   ((SDRAMC_CR_NR_Msk & ((value) << SDRAMC_CR_NR_Pos)))
 
#define SDRAMC_CR_NR_Msk   (0x3u << SDRAMC_CR_NR_Pos)
 (SDRAMC_CR) Number of Row Bits More...
 
#define SDRAMC_CR_NR_Pos   2
 
#define SDRAMC_CR_NR_ROW11   (0x0u << 2)
 (SDRAMC_CR) 11 row bits More...
 
#define SDRAMC_CR_NR_ROW12   (0x1u << 2)
 (SDRAMC_CR) 12 row bits More...
 
#define SDRAMC_CR_NR_ROW13   (0x2u << 2)
 (SDRAMC_CR) 13 row bits More...
 
#define SDRAMC_CR_TRAS(value)   ((SDRAMC_CR_TRAS_Msk & ((value) << SDRAMC_CR_TRAS_Pos)))
 
#define SDRAMC_CR_TRAS_Msk   (0xfu << SDRAMC_CR_TRAS_Pos)
 (SDRAMC_CR) Active to Precharge Delay More...
 
#define SDRAMC_CR_TRAS_Pos   24
 
#define SDRAMC_CR_TRC_TRFC(value)   ((SDRAMC_CR_TRC_TRFC_Msk & ((value) << SDRAMC_CR_TRC_TRFC_Pos)))
 
#define SDRAMC_CR_TRC_TRFC_Msk   (0xfu << SDRAMC_CR_TRC_TRFC_Pos)
 (SDRAMC_CR) Row Cycle Delay and Row Refresh Cycle More...
 
#define SDRAMC_CR_TRC_TRFC_Pos   12
 
#define SDRAMC_CR_TRCD(value)   ((SDRAMC_CR_TRCD_Msk & ((value) << SDRAMC_CR_TRCD_Pos)))
 
#define SDRAMC_CR_TRCD_Msk   (0xfu << SDRAMC_CR_TRCD_Pos)
 (SDRAMC_CR) Row to Column Delay More...
 
#define SDRAMC_CR_TRCD_Pos   20
 
#define SDRAMC_CR_TRP(value)   ((SDRAMC_CR_TRP_Msk & ((value) << SDRAMC_CR_TRP_Pos)))
 
#define SDRAMC_CR_TRP_Msk   (0xfu << SDRAMC_CR_TRP_Pos)
 (SDRAMC_CR) Row Precharge Delay More...
 
#define SDRAMC_CR_TRP_Pos   16
 
#define SDRAMC_CR_TWR(value)   ((SDRAMC_CR_TWR_Msk & ((value) << SDRAMC_CR_TWR_Pos)))
 
#define SDRAMC_CR_TWR_Msk   (0xfu << SDRAMC_CR_TWR_Pos)
 (SDRAMC_CR) Write Recovery Delay More...
 
#define SDRAMC_CR_TWR_Pos   8
 
#define SDRAMC_CR_TXSR(value)   ((SDRAMC_CR_TXSR_Msk & ((value) << SDRAMC_CR_TXSR_Pos)))
 
#define SDRAMC_CR_TXSR_Msk   (0xfu << SDRAMC_CR_TXSR_Pos)
 (SDRAMC_CR) Exit Self Refresh to Active Delay More...
 
#define SDRAMC_CR_TXSR_Pos   28
 
#define SDRAMC_IDR_RES   (0x1u << 0)
 (SDRAMC_IDR) Refresh Error Status More...
 
#define SDRAMC_IER_RES   (0x1u << 0)
 (SDRAMC_IER) Refresh Error Status More...
 
#define SDRAMC_IMR_RES   (0x1u << 0)
 (SDRAMC_IMR) Refresh Error Status More...
 
#define SDRAMC_ISR_RES   (0x1u << 0)
 (SDRAMC_ISR) Refresh Error Status (cleared on read) More...
 
#define SDRAMC_LPR_DS(value)   ((SDRAMC_LPR_DS_Msk & ((value) << SDRAMC_LPR_DS_Pos)))
 
#define SDRAMC_LPR_DS_Msk   (0x3u << SDRAMC_LPR_DS_Pos)
 (SDRAMC_LPR) Drive Strength (only for low-power SDRAM) More...
 
#define SDRAMC_LPR_DS_Pos   10
 
#define SDRAMC_LPR_LPCB(value)   ((SDRAMC_LPR_LPCB_Msk & ((value) << SDRAMC_LPR_LPCB_Pos)))
 
#define SDRAMC_LPR_LPCB_DEEP_POWER_DOWN   (0x3u << 0)
 (SDRAMC_LPR) The SDRAMC issues a Deep Power-down command to the SDRAM device. This mode is unique to low-power SDRAM. More...
 
#define SDRAMC_LPR_LPCB_DISABLED   (0x0u << 0)
 (SDRAMC_LPR) Low Power Feature is inhibited: no Power-down, Self-refresh or Deep Power-down command is issued to the SDRAM device. More...
 
#define SDRAMC_LPR_LPCB_Msk   (0x3u << SDRAMC_LPR_LPCB_Pos)
 (SDRAMC_LPR) Low-power Configuration Bits More...
 
#define SDRAMC_LPR_LPCB_Pos   0
 
#define SDRAMC_LPR_LPCB_POWER_DOWN   (0x2u << 0)
 (SDRAMC_LPR) The SDRAMC issues a Power-down Command to the SDRAM device after each access, the SDCKE signal is set to low. The SDRAM device leaves the Power-down Mode when accessed and enters it after the access. More...
 
#define SDRAMC_LPR_LPCB_SELF_REFRESH   (0x1u << 0)
 (SDRAMC_LPR) The SDRAMC issues a Self-refresh command to the SDRAM device, the SDCK clock is deactivated and the SDCKE signal is set low. The SDRAM device leaves the Self Refresh Mode when accessed and enters it after the access. More...
 
#define SDRAMC_LPR_PASR(value)   ((SDRAMC_LPR_PASR_Msk & ((value) << SDRAMC_LPR_PASR_Pos)))
 
#define SDRAMC_LPR_PASR_Msk   (0x7u << SDRAMC_LPR_PASR_Pos)
 (SDRAMC_LPR) Partial Array Self-refresh (only for low-power SDRAM) More...
 
#define SDRAMC_LPR_PASR_Pos   4
 
#define SDRAMC_LPR_TCSR(value)   ((SDRAMC_LPR_TCSR_Msk & ((value) << SDRAMC_LPR_TCSR_Pos)))
 
#define SDRAMC_LPR_TCSR_Msk   (0x3u << SDRAMC_LPR_TCSR_Pos)
 (SDRAMC_LPR) Temperature Compensated Self-Refresh (only for low-power SDRAM) More...
 
#define SDRAMC_LPR_TCSR_Pos   8
 
#define SDRAMC_LPR_TIMEOUT(value)   ((SDRAMC_LPR_TIMEOUT_Msk & ((value) << SDRAMC_LPR_TIMEOUT_Pos)))
 
#define SDRAMC_LPR_TIMEOUT_LP_LAST_XFER   (0x0u << 12)
 (SDRAMC_LPR) The SDRAMC activates the SDRAM low-power mode immediately after the end of the last transfer. More...
 
#define SDRAMC_LPR_TIMEOUT_LP_LAST_XFER_128   (0x2u << 12)
 (SDRAMC_LPR) The SDRAMC activates the SDRAM low-power mode 128 clock cycles after the end of the last transfer. More...
 
#define SDRAMC_LPR_TIMEOUT_LP_LAST_XFER_64   (0x1u << 12)
 (SDRAMC_LPR) The SDRAMC activates the SDRAM low-power mode 64 clock cycles after the end of the last transfer. More...
 
#define SDRAMC_LPR_TIMEOUT_Msk   (0x3u << SDRAMC_LPR_TIMEOUT_Pos)
 (SDRAMC_LPR) Time to Define When Low-power Mode Is Enabled More...
 
#define SDRAMC_LPR_TIMEOUT_Pos   12
 
#define SDRAMC_MDR_MD(value)   ((SDRAMC_MDR_MD_Msk & ((value) << SDRAMC_MDR_MD_Pos)))
 
#define SDRAMC_MDR_MD_LPSDRAM   (0x1u << 0)
 (SDRAMC_MDR) Low-power SDRAM More...
 
#define SDRAMC_MDR_MD_Msk   (0x3u << SDRAMC_MDR_MD_Pos)
 (SDRAMC_MDR) Memory Device Type More...
 
#define SDRAMC_MDR_MD_Pos   0
 
#define SDRAMC_MDR_MD_SDRAM   (0x0u << 0)
 (SDRAMC_MDR) SDRAM More...
 
#define SDRAMC_MR_MODE(value)   ((SDRAMC_MR_MODE_Msk & ((value) << SDRAMC_MR_MODE_Pos)))
 
#define SDRAMC_MR_MODE_ALLBANKS_PRECHARGE   (0x2u << 0)
 (SDRAMC_MR) The SDRAMC issues an "All Banks Precharge" command when the SDRAM device is accessed regardless of the cycle. To activate this mode, command must be followed by a write to the SDRAM. More...
 
#define SDRAMC_MR_MODE_AUTO_REFRESH   (0x4u << 0)
 (SDRAMC_MR) The SDRAMC issues an "Auto-Refresh" Command when the SDRAM device is accessed regardless of the cycle. Previously, an "All Banks Precharge" command must be issued. To activate this mode, command must be followed by a write to the SDRAM. More...
 
#define SDRAMC_MR_MODE_DEEP_POWERDOWN   (0x6u << 0)
 (SDRAMC_MR) Deep power-down mode. Enters deep power-down mode. More...
 
#define SDRAMC_MR_MODE_EXT_LOAD_MODEREG   (0x5u << 0)
 (SDRAMC_MR) The SDRAMC issues an "Extended Load Mode Register" command when the SDRAM device is accessed regardless of the cycle. To activate this mode, the "Extended Load Mode Register" command must be followed by a write to the SDRAM. The write in the SDRAM must be done in the appropriate bank; most low-power SDRAM devices use the bank 1. More...
 
#define SDRAMC_MR_MODE_LOAD_MODEREG   (0x3u << 0)
 (SDRAMC_MR) The SDRAMC issues a "Load Mode Register" command when the SDRAM device is accessed regardless of the cycle. To activate this mode, command must be followed by a write to the SDRAM. More...
 
#define SDRAMC_MR_MODE_Msk   (0x7u << SDRAMC_MR_MODE_Pos)
 (SDRAMC_MR) SDRAMC Command Mode More...
 
#define SDRAMC_MR_MODE_NOP   (0x1u << 0)
 (SDRAMC_MR) The SDRAMC issues a NOP command when the SDRAM device is accessed regardless of the cycle. To activate this mode, command must be followed by a write to the SDRAM. More...
 
#define SDRAMC_MR_MODE_NORMAL   (0x0u << 0)
 (SDRAMC_MR) Normal mode. Any access to the SDRAM is decoded normally. To activate this mode, command must be followed by a write to the SDRAM. More...
 
#define SDRAMC_MR_MODE_Pos   0
 
#define SDRAMC_OCMS_KEY1_KEY1(value)   ((SDRAMC_OCMS_KEY1_KEY1_Msk & ((value) << SDRAMC_OCMS_KEY1_KEY1_Pos)))
 
#define SDRAMC_OCMS_KEY1_KEY1_Msk   (0xffffffffu << SDRAMC_OCMS_KEY1_KEY1_Pos)
 (SDRAMC_OCMS_KEY1) Off-chip Memory Scrambling (OCMS) Key Part 1 More...
 
#define SDRAMC_OCMS_KEY1_KEY1_Pos   0
 
#define SDRAMC_OCMS_KEY2_KEY2(value)   ((SDRAMC_OCMS_KEY2_KEY2_Msk & ((value) << SDRAMC_OCMS_KEY2_KEY2_Pos)))
 
#define SDRAMC_OCMS_KEY2_KEY2_Msk   (0xffffffffu << SDRAMC_OCMS_KEY2_KEY2_Pos)
 (SDRAMC_OCMS_KEY2) Off-chip Memory Scrambling (OCMS) Key Part 2 More...
 
#define SDRAMC_OCMS_KEY2_KEY2_Pos   0
 
#define SDRAMC_OCMS_SDR_SE   (0x1u << 0)
 (SDRAMC_OCMS) SDRAM Memory Controller Scrambling Enable More...
 
#define SDRAMC_TR_COUNT(value)   ((SDRAMC_TR_COUNT_Msk & ((value) << SDRAMC_TR_COUNT_Pos)))
 
#define SDRAMC_TR_COUNT_Msk   (0xfffu << SDRAMC_TR_COUNT_Pos)
 (SDRAMC_TR) SDRAMC Refresh Timer Count More...
 
#define SDRAMC_TR_COUNT_Pos   0
 
#define SDRAMC_VERSION_MFN_Msk   (0x7u << SDRAMC_VERSION_MFN_Pos)
 (SDRAMC_VERSION) Metal Fix Number More...
 
#define SDRAMC_VERSION_MFN_Pos   16
 
#define SDRAMC_VERSION_VERSION_Msk   (0xfffu << SDRAMC_VERSION_VERSION_Pos)
 (SDRAMC_VERSION) Version of the Hardware Module More...
 
#define SDRAMC_VERSION_VERSION_Pos   0
 

Detailed Description

SOFTWARE API DEFINITION FOR SDRAM Controller

Macro Definition Documentation

◆ SDRAMC_CFR1_TMRD

#define SDRAMC_CFR1_TMRD (   value)    ((SDRAMC_CFR1_TMRD_Msk & ((value) << SDRAMC_CFR1_TMRD_Pos)))

Definition at line 162 of file component/sdramc.h.

◆ SDRAMC_CFR1_TMRD_Msk

#define SDRAMC_CFR1_TMRD_Msk   (0xfu << SDRAMC_CFR1_TMRD_Pos)

(SDRAMC_CFR1) Load Mode Register Command to Active or Refresh Command

Definition at line 161 of file component/sdramc.h.

◆ SDRAMC_CFR1_TMRD_Pos

#define SDRAMC_CFR1_TMRD_Pos   0

Definition at line 160 of file component/sdramc.h.

◆ SDRAMC_CFR1_UNAL

#define SDRAMC_CFR1_UNAL   (0x1u << 8)

(SDRAMC_CFR1) Support Unaligned Access

Definition at line 163 of file component/sdramc.h.

◆ SDRAMC_CFR1_UNAL_SUPPORTED

#define SDRAMC_CFR1_UNAL_SUPPORTED   (0x1u << 8)

(SDRAMC_CFR1) Unaligned access is supported.

Definition at line 165 of file component/sdramc.h.

◆ SDRAMC_CFR1_UNAL_UNSUPPORTED

#define SDRAMC_CFR1_UNAL_UNSUPPORTED   (0x0u << 8)

(SDRAMC_CFR1) Unaligned access is not supported.

Definition at line 164 of file component/sdramc.h.

◆ SDRAMC_CR_CAS

#define SDRAMC_CR_CAS (   value)    ((SDRAMC_CR_CAS_Msk & ((value) << SDRAMC_CR_CAS_Pos)))

Definition at line 99 of file component/sdramc.h.

◆ SDRAMC_CR_CAS_LATENCY1

#define SDRAMC_CR_CAS_LATENCY1   (0x1u << 5)

(SDRAMC_CR) 1 cycle CAS latency

Definition at line 100 of file component/sdramc.h.

◆ SDRAMC_CR_CAS_LATENCY2

#define SDRAMC_CR_CAS_LATENCY2   (0x2u << 5)

(SDRAMC_CR) 2 cycle CAS latency

Definition at line 101 of file component/sdramc.h.

◆ SDRAMC_CR_CAS_LATENCY3

#define SDRAMC_CR_CAS_LATENCY3   (0x3u << 5)

(SDRAMC_CR) 3 cycle CAS latency

Definition at line 102 of file component/sdramc.h.

◆ SDRAMC_CR_CAS_Msk

#define SDRAMC_CR_CAS_Msk   (0x3u << SDRAMC_CR_CAS_Pos)

(SDRAMC_CR) CAS Latency

Definition at line 98 of file component/sdramc.h.

◆ SDRAMC_CR_CAS_Pos

#define SDRAMC_CR_CAS_Pos   5

Definition at line 97 of file component/sdramc.h.

◆ SDRAMC_CR_DBW

#define SDRAMC_CR_DBW   (0x1u << 7)

(SDRAMC_CR) Data Bus Width

Definition at line 103 of file component/sdramc.h.

◆ SDRAMC_CR_NB

#define SDRAMC_CR_NB   (0x1u << 4)

(SDRAMC_CR) Number of Banks

Definition at line 94 of file component/sdramc.h.

◆ SDRAMC_CR_NB_BANK2

#define SDRAMC_CR_NB_BANK2   (0x0u << 4)

(SDRAMC_CR) 2 banks

Definition at line 95 of file component/sdramc.h.

◆ SDRAMC_CR_NB_BANK4

#define SDRAMC_CR_NB_BANK4   (0x1u << 4)

(SDRAMC_CR) 4 banks

Definition at line 96 of file component/sdramc.h.

◆ SDRAMC_CR_NC

#define SDRAMC_CR_NC (   value)    ((SDRAMC_CR_NC_Msk & ((value) << SDRAMC_CR_NC_Pos)))

Definition at line 83 of file component/sdramc.h.

◆ SDRAMC_CR_NC_COL10

#define SDRAMC_CR_NC_COL10   (0x2u << 0)

(SDRAMC_CR) 10 column bits

Definition at line 86 of file component/sdramc.h.

◆ SDRAMC_CR_NC_COL11

#define SDRAMC_CR_NC_COL11   (0x3u << 0)

(SDRAMC_CR) 11 column bits

Definition at line 87 of file component/sdramc.h.

◆ SDRAMC_CR_NC_COL8

#define SDRAMC_CR_NC_COL8   (0x0u << 0)

(SDRAMC_CR) 8 column bits

Definition at line 84 of file component/sdramc.h.

◆ SDRAMC_CR_NC_COL9

#define SDRAMC_CR_NC_COL9   (0x1u << 0)

(SDRAMC_CR) 9 column bits

Definition at line 85 of file component/sdramc.h.

◆ SDRAMC_CR_NC_Msk

#define SDRAMC_CR_NC_Msk   (0x3u << SDRAMC_CR_NC_Pos)

(SDRAMC_CR) Number of Column Bits

Definition at line 82 of file component/sdramc.h.

◆ SDRAMC_CR_NC_Pos

#define SDRAMC_CR_NC_Pos   0

Definition at line 81 of file component/sdramc.h.

◆ SDRAMC_CR_NR

#define SDRAMC_CR_NR (   value)    ((SDRAMC_CR_NR_Msk & ((value) << SDRAMC_CR_NR_Pos)))

Definition at line 90 of file component/sdramc.h.

◆ SDRAMC_CR_NR_Msk

#define SDRAMC_CR_NR_Msk   (0x3u << SDRAMC_CR_NR_Pos)

(SDRAMC_CR) Number of Row Bits

Definition at line 89 of file component/sdramc.h.

◆ SDRAMC_CR_NR_Pos

#define SDRAMC_CR_NR_Pos   2

Definition at line 88 of file component/sdramc.h.

◆ SDRAMC_CR_NR_ROW11

#define SDRAMC_CR_NR_ROW11   (0x0u << 2)

(SDRAMC_CR) 11 row bits

Definition at line 91 of file component/sdramc.h.

◆ SDRAMC_CR_NR_ROW12

#define SDRAMC_CR_NR_ROW12   (0x1u << 2)

(SDRAMC_CR) 12 row bits

Definition at line 92 of file component/sdramc.h.

◆ SDRAMC_CR_NR_ROW13

#define SDRAMC_CR_NR_ROW13   (0x2u << 2)

(SDRAMC_CR) 13 row bits

Definition at line 93 of file component/sdramc.h.

◆ SDRAMC_CR_TRAS

#define SDRAMC_CR_TRAS (   value)    ((SDRAMC_CR_TRAS_Msk & ((value) << SDRAMC_CR_TRAS_Pos)))

Definition at line 118 of file component/sdramc.h.

◆ SDRAMC_CR_TRAS_Msk

#define SDRAMC_CR_TRAS_Msk   (0xfu << SDRAMC_CR_TRAS_Pos)

(SDRAMC_CR) Active to Precharge Delay

Definition at line 117 of file component/sdramc.h.

◆ SDRAMC_CR_TRAS_Pos

#define SDRAMC_CR_TRAS_Pos   24

Definition at line 116 of file component/sdramc.h.

◆ SDRAMC_CR_TRC_TRFC

#define SDRAMC_CR_TRC_TRFC (   value)    ((SDRAMC_CR_TRC_TRFC_Msk & ((value) << SDRAMC_CR_TRC_TRFC_Pos)))

Definition at line 109 of file component/sdramc.h.

◆ SDRAMC_CR_TRC_TRFC_Msk

#define SDRAMC_CR_TRC_TRFC_Msk   (0xfu << SDRAMC_CR_TRC_TRFC_Pos)

(SDRAMC_CR) Row Cycle Delay and Row Refresh Cycle

Definition at line 108 of file component/sdramc.h.

◆ SDRAMC_CR_TRC_TRFC_Pos

#define SDRAMC_CR_TRC_TRFC_Pos   12

Definition at line 107 of file component/sdramc.h.

◆ SDRAMC_CR_TRCD

#define SDRAMC_CR_TRCD (   value)    ((SDRAMC_CR_TRCD_Msk & ((value) << SDRAMC_CR_TRCD_Pos)))

Definition at line 115 of file component/sdramc.h.

◆ SDRAMC_CR_TRCD_Msk

#define SDRAMC_CR_TRCD_Msk   (0xfu << SDRAMC_CR_TRCD_Pos)

(SDRAMC_CR) Row to Column Delay

Definition at line 114 of file component/sdramc.h.

◆ SDRAMC_CR_TRCD_Pos

#define SDRAMC_CR_TRCD_Pos   20

Definition at line 113 of file component/sdramc.h.

◆ SDRAMC_CR_TRP

#define SDRAMC_CR_TRP (   value)    ((SDRAMC_CR_TRP_Msk & ((value) << SDRAMC_CR_TRP_Pos)))

Definition at line 112 of file component/sdramc.h.

◆ SDRAMC_CR_TRP_Msk

#define SDRAMC_CR_TRP_Msk   (0xfu << SDRAMC_CR_TRP_Pos)

(SDRAMC_CR) Row Precharge Delay

Definition at line 111 of file component/sdramc.h.

◆ SDRAMC_CR_TRP_Pos

#define SDRAMC_CR_TRP_Pos   16

Definition at line 110 of file component/sdramc.h.

◆ SDRAMC_CR_TWR

#define SDRAMC_CR_TWR (   value)    ((SDRAMC_CR_TWR_Msk & ((value) << SDRAMC_CR_TWR_Pos)))

Definition at line 106 of file component/sdramc.h.

◆ SDRAMC_CR_TWR_Msk

#define SDRAMC_CR_TWR_Msk   (0xfu << SDRAMC_CR_TWR_Pos)

(SDRAMC_CR) Write Recovery Delay

Definition at line 105 of file component/sdramc.h.

◆ SDRAMC_CR_TWR_Pos

#define SDRAMC_CR_TWR_Pos   8

Definition at line 104 of file component/sdramc.h.

◆ SDRAMC_CR_TXSR

#define SDRAMC_CR_TXSR (   value)    ((SDRAMC_CR_TXSR_Msk & ((value) << SDRAMC_CR_TXSR_Pos)))

Definition at line 121 of file component/sdramc.h.

◆ SDRAMC_CR_TXSR_Msk

#define SDRAMC_CR_TXSR_Msk   (0xfu << SDRAMC_CR_TXSR_Pos)

(SDRAMC_CR) Exit Self Refresh to Active Delay

Definition at line 120 of file component/sdramc.h.

◆ SDRAMC_CR_TXSR_Pos

#define SDRAMC_CR_TXSR_Pos   28

Definition at line 119 of file component/sdramc.h.

◆ SDRAMC_IDR_RES

#define SDRAMC_IDR_RES   (0x1u << 0)

(SDRAMC_IDR) Refresh Error Status

Definition at line 148 of file component/sdramc.h.

◆ SDRAMC_IER_RES

#define SDRAMC_IER_RES   (0x1u << 0)

(SDRAMC_IER) Refresh Error Status

Definition at line 146 of file component/sdramc.h.

◆ SDRAMC_IMR_RES

#define SDRAMC_IMR_RES   (0x1u << 0)

(SDRAMC_IMR) Refresh Error Status

Definition at line 150 of file component/sdramc.h.

◆ SDRAMC_ISR_RES

#define SDRAMC_ISR_RES   (0x1u << 0)

(SDRAMC_ISR) Refresh Error Status (cleared on read)

Definition at line 152 of file component/sdramc.h.

◆ SDRAMC_LPR_DS

#define SDRAMC_LPR_DS (   value)    ((SDRAMC_LPR_DS_Msk & ((value) << SDRAMC_LPR_DS_Pos)))

Definition at line 138 of file component/sdramc.h.

◆ SDRAMC_LPR_DS_Msk

#define SDRAMC_LPR_DS_Msk   (0x3u << SDRAMC_LPR_DS_Pos)

(SDRAMC_LPR) Drive Strength (only for low-power SDRAM)

Definition at line 137 of file component/sdramc.h.

◆ SDRAMC_LPR_DS_Pos

#define SDRAMC_LPR_DS_Pos   10

Definition at line 136 of file component/sdramc.h.

◆ SDRAMC_LPR_LPCB

#define SDRAMC_LPR_LPCB (   value)    ((SDRAMC_LPR_LPCB_Msk & ((value) << SDRAMC_LPR_LPCB_Pos)))

Definition at line 125 of file component/sdramc.h.

◆ SDRAMC_LPR_LPCB_DEEP_POWER_DOWN

#define SDRAMC_LPR_LPCB_DEEP_POWER_DOWN   (0x3u << 0)

(SDRAMC_LPR) The SDRAMC issues a Deep Power-down command to the SDRAM device. This mode is unique to low-power SDRAM.

Definition at line 129 of file component/sdramc.h.

◆ SDRAMC_LPR_LPCB_DISABLED

#define SDRAMC_LPR_LPCB_DISABLED   (0x0u << 0)

(SDRAMC_LPR) Low Power Feature is inhibited: no Power-down, Self-refresh or Deep Power-down command is issued to the SDRAM device.

Definition at line 126 of file component/sdramc.h.

◆ SDRAMC_LPR_LPCB_Msk

#define SDRAMC_LPR_LPCB_Msk   (0x3u << SDRAMC_LPR_LPCB_Pos)

(SDRAMC_LPR) Low-power Configuration Bits

Definition at line 124 of file component/sdramc.h.

◆ SDRAMC_LPR_LPCB_Pos

#define SDRAMC_LPR_LPCB_Pos   0

Definition at line 123 of file component/sdramc.h.

◆ SDRAMC_LPR_LPCB_POWER_DOWN

#define SDRAMC_LPR_LPCB_POWER_DOWN   (0x2u << 0)

(SDRAMC_LPR) The SDRAMC issues a Power-down Command to the SDRAM device after each access, the SDCKE signal is set to low. The SDRAM device leaves the Power-down Mode when accessed and enters it after the access.

Definition at line 128 of file component/sdramc.h.

◆ SDRAMC_LPR_LPCB_SELF_REFRESH

#define SDRAMC_LPR_LPCB_SELF_REFRESH   (0x1u << 0)

(SDRAMC_LPR) The SDRAMC issues a Self-refresh command to the SDRAM device, the SDCK clock is deactivated and the SDCKE signal is set low. The SDRAM device leaves the Self Refresh Mode when accessed and enters it after the access.

Definition at line 127 of file component/sdramc.h.

◆ SDRAMC_LPR_PASR

#define SDRAMC_LPR_PASR (   value)    ((SDRAMC_LPR_PASR_Msk & ((value) << SDRAMC_LPR_PASR_Pos)))

Definition at line 132 of file component/sdramc.h.

◆ SDRAMC_LPR_PASR_Msk

#define SDRAMC_LPR_PASR_Msk   (0x7u << SDRAMC_LPR_PASR_Pos)

(SDRAMC_LPR) Partial Array Self-refresh (only for low-power SDRAM)

Definition at line 131 of file component/sdramc.h.

◆ SDRAMC_LPR_PASR_Pos

#define SDRAMC_LPR_PASR_Pos   4

Definition at line 130 of file component/sdramc.h.

◆ SDRAMC_LPR_TCSR

#define SDRAMC_LPR_TCSR (   value)    ((SDRAMC_LPR_TCSR_Msk & ((value) << SDRAMC_LPR_TCSR_Pos)))

Definition at line 135 of file component/sdramc.h.

◆ SDRAMC_LPR_TCSR_Msk

#define SDRAMC_LPR_TCSR_Msk   (0x3u << SDRAMC_LPR_TCSR_Pos)

(SDRAMC_LPR) Temperature Compensated Self-Refresh (only for low-power SDRAM)

Definition at line 134 of file component/sdramc.h.

◆ SDRAMC_LPR_TCSR_Pos

#define SDRAMC_LPR_TCSR_Pos   8

Definition at line 133 of file component/sdramc.h.

◆ SDRAMC_LPR_TIMEOUT

#define SDRAMC_LPR_TIMEOUT (   value)    ((SDRAMC_LPR_TIMEOUT_Msk & ((value) << SDRAMC_LPR_TIMEOUT_Pos)))

Definition at line 141 of file component/sdramc.h.

◆ SDRAMC_LPR_TIMEOUT_LP_LAST_XFER

#define SDRAMC_LPR_TIMEOUT_LP_LAST_XFER   (0x0u << 12)

(SDRAMC_LPR) The SDRAMC activates the SDRAM low-power mode immediately after the end of the last transfer.

Definition at line 142 of file component/sdramc.h.

◆ SDRAMC_LPR_TIMEOUT_LP_LAST_XFER_128

#define SDRAMC_LPR_TIMEOUT_LP_LAST_XFER_128   (0x2u << 12)

(SDRAMC_LPR) The SDRAMC activates the SDRAM low-power mode 128 clock cycles after the end of the last transfer.

Definition at line 144 of file component/sdramc.h.

◆ SDRAMC_LPR_TIMEOUT_LP_LAST_XFER_64

#define SDRAMC_LPR_TIMEOUT_LP_LAST_XFER_64   (0x1u << 12)

(SDRAMC_LPR) The SDRAMC activates the SDRAM low-power mode 64 clock cycles after the end of the last transfer.

Definition at line 143 of file component/sdramc.h.

◆ SDRAMC_LPR_TIMEOUT_Msk

#define SDRAMC_LPR_TIMEOUT_Msk   (0x3u << SDRAMC_LPR_TIMEOUT_Pos)

(SDRAMC_LPR) Time to Define When Low-power Mode Is Enabled

Definition at line 140 of file component/sdramc.h.

◆ SDRAMC_LPR_TIMEOUT_Pos

#define SDRAMC_LPR_TIMEOUT_Pos   12

Definition at line 139 of file component/sdramc.h.

◆ SDRAMC_MDR_MD

#define SDRAMC_MDR_MD (   value)    ((SDRAMC_MDR_MD_Msk & ((value) << SDRAMC_MDR_MD_Pos)))

Definition at line 156 of file component/sdramc.h.

◆ SDRAMC_MDR_MD_LPSDRAM

#define SDRAMC_MDR_MD_LPSDRAM   (0x1u << 0)

(SDRAMC_MDR) Low-power SDRAM

Definition at line 158 of file component/sdramc.h.

◆ SDRAMC_MDR_MD_Msk

#define SDRAMC_MDR_MD_Msk   (0x3u << SDRAMC_MDR_MD_Pos)

(SDRAMC_MDR) Memory Device Type

Definition at line 155 of file component/sdramc.h.

◆ SDRAMC_MDR_MD_Pos

#define SDRAMC_MDR_MD_Pos   0

Definition at line 154 of file component/sdramc.h.

◆ SDRAMC_MDR_MD_SDRAM

#define SDRAMC_MDR_MD_SDRAM   (0x0u << 0)

(SDRAMC_MDR) SDRAM

Definition at line 157 of file component/sdramc.h.

◆ SDRAMC_MR_MODE

#define SDRAMC_MR_MODE (   value)    ((SDRAMC_MR_MODE_Msk & ((value) << SDRAMC_MR_MODE_Pos)))

Definition at line 68 of file component/sdramc.h.

◆ SDRAMC_MR_MODE_ALLBANKS_PRECHARGE

#define SDRAMC_MR_MODE_ALLBANKS_PRECHARGE   (0x2u << 0)

(SDRAMC_MR) The SDRAMC issues an "All Banks Precharge" command when the SDRAM device is accessed regardless of the cycle. To activate this mode, command must be followed by a write to the SDRAM.

Definition at line 71 of file component/sdramc.h.

◆ SDRAMC_MR_MODE_AUTO_REFRESH

#define SDRAMC_MR_MODE_AUTO_REFRESH   (0x4u << 0)

(SDRAMC_MR) The SDRAMC issues an "Auto-Refresh" Command when the SDRAM device is accessed regardless of the cycle. Previously, an "All Banks Precharge" command must be issued. To activate this mode, command must be followed by a write to the SDRAM.

Definition at line 73 of file component/sdramc.h.

◆ SDRAMC_MR_MODE_DEEP_POWERDOWN

#define SDRAMC_MR_MODE_DEEP_POWERDOWN   (0x6u << 0)

(SDRAMC_MR) Deep power-down mode. Enters deep power-down mode.

Definition at line 75 of file component/sdramc.h.

◆ SDRAMC_MR_MODE_EXT_LOAD_MODEREG

#define SDRAMC_MR_MODE_EXT_LOAD_MODEREG   (0x5u << 0)

(SDRAMC_MR) The SDRAMC issues an "Extended Load Mode Register" command when the SDRAM device is accessed regardless of the cycle. To activate this mode, the "Extended Load Mode Register" command must be followed by a write to the SDRAM. The write in the SDRAM must be done in the appropriate bank; most low-power SDRAM devices use the bank 1.

Definition at line 74 of file component/sdramc.h.

◆ SDRAMC_MR_MODE_LOAD_MODEREG

#define SDRAMC_MR_MODE_LOAD_MODEREG   (0x3u << 0)

(SDRAMC_MR) The SDRAMC issues a "Load Mode Register" command when the SDRAM device is accessed regardless of the cycle. To activate this mode, command must be followed by a write to the SDRAM.

Definition at line 72 of file component/sdramc.h.

◆ SDRAMC_MR_MODE_Msk

#define SDRAMC_MR_MODE_Msk   (0x7u << SDRAMC_MR_MODE_Pos)

(SDRAMC_MR) SDRAMC Command Mode

Definition at line 67 of file component/sdramc.h.

◆ SDRAMC_MR_MODE_NOP

#define SDRAMC_MR_MODE_NOP   (0x1u << 0)

(SDRAMC_MR) The SDRAMC issues a NOP command when the SDRAM device is accessed regardless of the cycle. To activate this mode, command must be followed by a write to the SDRAM.

Definition at line 70 of file component/sdramc.h.

◆ SDRAMC_MR_MODE_NORMAL

#define SDRAMC_MR_MODE_NORMAL   (0x0u << 0)

(SDRAMC_MR) Normal mode. Any access to the SDRAM is decoded normally. To activate this mode, command must be followed by a write to the SDRAM.

Definition at line 69 of file component/sdramc.h.

◆ SDRAMC_MR_MODE_Pos

#define SDRAMC_MR_MODE_Pos   0

Definition at line 66 of file component/sdramc.h.

◆ SDRAMC_OCMS_KEY1_KEY1

#define SDRAMC_OCMS_KEY1_KEY1 (   value)    ((SDRAMC_OCMS_KEY1_KEY1_Msk & ((value) << SDRAMC_OCMS_KEY1_KEY1_Pos)))

Definition at line 171 of file component/sdramc.h.

◆ SDRAMC_OCMS_KEY1_KEY1_Msk

#define SDRAMC_OCMS_KEY1_KEY1_Msk   (0xffffffffu << SDRAMC_OCMS_KEY1_KEY1_Pos)

(SDRAMC_OCMS_KEY1) Off-chip Memory Scrambling (OCMS) Key Part 1

Definition at line 170 of file component/sdramc.h.

◆ SDRAMC_OCMS_KEY1_KEY1_Pos

#define SDRAMC_OCMS_KEY1_KEY1_Pos   0

Definition at line 169 of file component/sdramc.h.

◆ SDRAMC_OCMS_KEY2_KEY2

#define SDRAMC_OCMS_KEY2_KEY2 (   value)    ((SDRAMC_OCMS_KEY2_KEY2_Msk & ((value) << SDRAMC_OCMS_KEY2_KEY2_Pos)))

Definition at line 175 of file component/sdramc.h.

◆ SDRAMC_OCMS_KEY2_KEY2_Msk

#define SDRAMC_OCMS_KEY2_KEY2_Msk   (0xffffffffu << SDRAMC_OCMS_KEY2_KEY2_Pos)

(SDRAMC_OCMS_KEY2) Off-chip Memory Scrambling (OCMS) Key Part 2

Definition at line 174 of file component/sdramc.h.

◆ SDRAMC_OCMS_KEY2_KEY2_Pos

#define SDRAMC_OCMS_KEY2_KEY2_Pos   0

Definition at line 173 of file component/sdramc.h.

◆ SDRAMC_OCMS_SDR_SE

#define SDRAMC_OCMS_SDR_SE   (0x1u << 0)

(SDRAMC_OCMS) SDRAM Memory Controller Scrambling Enable

Definition at line 167 of file component/sdramc.h.

◆ SDRAMC_TR_COUNT

#define SDRAMC_TR_COUNT (   value)    ((SDRAMC_TR_COUNT_Msk & ((value) << SDRAMC_TR_COUNT_Pos)))

Definition at line 79 of file component/sdramc.h.

◆ SDRAMC_TR_COUNT_Msk

#define SDRAMC_TR_COUNT_Msk   (0xfffu << SDRAMC_TR_COUNT_Pos)

(SDRAMC_TR) SDRAMC Refresh Timer Count

Definition at line 78 of file component/sdramc.h.

◆ SDRAMC_TR_COUNT_Pos

#define SDRAMC_TR_COUNT_Pos   0

Definition at line 77 of file component/sdramc.h.

◆ SDRAMC_VERSION_MFN_Msk

#define SDRAMC_VERSION_MFN_Msk   (0x7u << SDRAMC_VERSION_MFN_Pos)

(SDRAMC_VERSION) Metal Fix Number

Definition at line 180 of file component/sdramc.h.

◆ SDRAMC_VERSION_MFN_Pos

#define SDRAMC_VERSION_MFN_Pos   16

Definition at line 179 of file component/sdramc.h.

◆ SDRAMC_VERSION_VERSION_Msk

#define SDRAMC_VERSION_VERSION_Msk   (0xfffu << SDRAMC_VERSION_VERSION_Pos)

(SDRAMC_VERSION) Version of the Hardware Module

Definition at line 178 of file component/sdramc.h.

◆ SDRAMC_VERSION_VERSION_Pos

#define SDRAMC_VERSION_VERSION_Pos   0

Definition at line 177 of file component/sdramc.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:08