RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Structures | Macros
reg_emif.h File Reference

This header file provides EMIF interfaces. More...

#include <bsp/utility.h>

Go to the source code of this file.

Data Structures

struct  tms570_emif_t
 

Macros

#define TMS570_EMIF_AWCC_WP1   BSP_BIT32(29)
 
#define TMS570_EMIF_AWCC_WP0   BSP_BIT32(28)
 
#define TMS570_EMIF_AWCC_CS5_WAIT(val)   BSP_FLD32(val,22, 23)
 
#define TMS570_EMIF_AWCC_CS5_WAIT_GET(reg)   BSP_FLD32GET(reg,22, 23)
 
#define TMS570_EMIF_AWCC_CS5_WAIT_SET(reg, val)   BSP_FLD32SET(reg, val,22, 23)
 
#define TMS570_EMIF_AWCC_CS4_WAIT(val)   BSP_FLD32(val,20, 21)
 
#define TMS570_EMIF_AWCC_CS4_WAIT_GET(reg)   BSP_FLD32GET(reg,20, 21)
 
#define TMS570_EMIF_AWCC_CS4_WAIT_SET(reg, val)   BSP_FLD32SET(reg, val,20, 21)
 
#define TMS570_EMIF_AWCC_CS3_WAIT(val)   BSP_FLD32(val,18, 19)
 
#define TMS570_EMIF_AWCC_CS3_WAIT_GET(reg)   BSP_FLD32GET(reg,18, 19)
 
#define TMS570_EMIF_AWCC_CS3_WAIT_SET(reg, val)   BSP_FLD32SET(reg, val,18, 19)
 
#define TMS570_EMIF_AWCC_CS2_WAIT(val)   BSP_FLD32(val,16, 17)
 
#define TMS570_EMIF_AWCC_CS2_WAIT_GET(reg)   BSP_FLD32GET(reg,16, 17)
 
#define TMS570_EMIF_AWCC_CS2_WAIT_SET(reg, val)   BSP_FLD32SET(reg, val,16, 17)
 
#define TMS570_EMIF_AWCC_MAX_EXT_WAIT(val)   BSP_FLD32(val,0, 7)
 
#define TMS570_EMIF_AWCC_MAX_EXT_WAIT_GET(reg)   BSP_FLD32GET(reg,0, 7)
 
#define TMS570_EMIF_AWCC_MAX_EXT_WAIT_SET(reg, val)   BSP_FLD32SET(reg, val,0, 7)
 
#define TMS570_EMIF_SDCR_SR   BSP_BIT32(31)
 
#define TMS570_EMIF_SDCR_PD   BSP_BIT32(30)
 
#define TMS570_EMIF_SDCR_PDWR   BSP_BIT32(29)
 
#define TMS570_EMIF_SDCR_NM   BSP_BIT32(14)
 
#define TMS570_EMIF_SDCR_CL(val)   BSP_FLD32(val,9, 11)
 
#define TMS570_EMIF_SDCR_CL_GET(reg)   BSP_FLD32GET(reg,9, 11)
 
#define TMS570_EMIF_SDCR_CL_SET(reg, val)   BSP_FLD32SET(reg, val,9, 11)
 
#define TMS570_EMIF_SDCR_BIT11_9LOCK   BSP_BIT32(8)
 
#define TMS570_EMIF_SDCR_IBANK(val)   BSP_FLD32(val,4, 6)
 
#define TMS570_EMIF_SDCR_IBANK_GET(reg)   BSP_FLD32GET(reg,4, 6)
 
#define TMS570_EMIF_SDCR_IBANK_SET(reg, val)   BSP_FLD32SET(reg, val,4, 6)
 
#define TMS570_EMIF_SDCR_PAGESIZE(val)   BSP_FLD32(val,0, 2)
 
#define TMS570_EMIF_SDCR_PAGESIZE_GET(reg)   BSP_FLD32GET(reg,0, 2)
 
#define TMS570_EMIF_SDCR_PAGESIZE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 2)
 
#define TMS570_EMIF_SDRCR_RR(val)   BSP_FLD32(val,0, 12)
 
#define TMS570_EMIF_SDRCR_RR_GET(reg)   BSP_FLD32GET(reg,0, 12)
 
#define TMS570_EMIF_SDRCR_RR_SET(reg, val)   BSP_FLD32SET(reg, val,0, 12)
 
#define TMS570_EMIF_CE2CFG_SS   BSP_BIT32(31)
 
#define TMS570_EMIF_CE2CFG_EW   BSP_BIT32(30)
 
#define TMS570_EMIF_CE2CFG_W_SETUP(val)   BSP_FLD32(val,26, 29)
 
#define TMS570_EMIF_CE2CFG_W_SETUP_GET(reg)   BSP_FLD32GET(reg,26, 29)
 
#define TMS570_EMIF_CE2CFG_W_SETUP_SET(reg, val)   BSP_FLD32SET(reg, val,26, 29)
 
#define TMS570_EMIF_CE2CFG_W_STROBE(val)   BSP_FLD32(val,20, 25)
 
#define TMS570_EMIF_CE2CFG_W_STROBE_GET(reg)   BSP_FLD32GET(reg,20, 25)
 
#define TMS570_EMIF_CE2CFG_W_STROBE_SET(reg, val)   BSP_FLD32SET(reg, val,20, 25)
 
#define TMS570_EMIF_CE2CFG_W_HOLD(val)   BSP_FLD32(val,17, 19)
 
#define TMS570_EMIF_CE2CFG_W_HOLD_GET(reg)   BSP_FLD32GET(reg,17, 19)
 
#define TMS570_EMIF_CE2CFG_W_HOLD_SET(reg, val)   BSP_FLD32SET(reg, val,17, 19)
 
#define TMS570_EMIF_CE2CFG_R_SETUP(val)   BSP_FLD32(val,13, 16)
 
#define TMS570_EMIF_CE2CFG_R_SETUP_GET(reg)   BSP_FLD32GET(reg,13, 16)
 
#define TMS570_EMIF_CE2CFG_R_SETUP_SET(reg, val)   BSP_FLD32SET(reg, val,13, 16)
 
#define TMS570_EMIF_CE2CFG_R_STROBE(val)   BSP_FLD32(val,7, 12)
 
#define TMS570_EMIF_CE2CFG_R_STROBE_GET(reg)   BSP_FLD32GET(reg,7, 12)
 
#define TMS570_EMIF_CE2CFG_R_STROBE_SET(reg, val)   BSP_FLD32SET(reg, val,7, 12)
 
#define TMS570_EMIF_CE2CFG_R_HOLD(val)   BSP_FLD32(val,4, 6)
 
#define TMS570_EMIF_CE2CFG_R_HOLD_GET(reg)   BSP_FLD32GET(reg,4, 6)
 
#define TMS570_EMIF_CE2CFG_R_HOLD_SET(reg, val)   BSP_FLD32SET(reg, val,4, 6)
 
#define TMS570_EMIF_CE2CFG_TA(val)   BSP_FLD32(val,2, 3)
 
#define TMS570_EMIF_CE2CFG_TA_GET(reg)   BSP_FLD32GET(reg,2, 3)
 
#define TMS570_EMIF_CE2CFG_TA_SET(reg, val)   BSP_FLD32SET(reg, val,2, 3)
 
#define TMS570_EMIF_CE2CFG_ASIZE(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_EMIF_CE2CFG_ASIZE_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_EMIF_CE2CFG_ASIZE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_EMIF_CE3CFG_SS   BSP_BIT32(31)
 
#define TMS570_EMIF_CE3CFG_EW   BSP_BIT32(30)
 
#define TMS570_EMIF_CE3CFG_W_SETUP(val)   BSP_FLD32(val,26, 29)
 
#define TMS570_EMIF_CE3CFG_W_SETUP_GET(reg)   BSP_FLD32GET(reg,26, 29)
 
#define TMS570_EMIF_CE3CFG_W_SETUP_SET(reg, val)   BSP_FLD32SET(reg, val,26, 29)
 
#define TMS570_EMIF_CE3CFG_W_STROBE(val)   BSP_FLD32(val,20, 25)
 
#define TMS570_EMIF_CE3CFG_W_STROBE_GET(reg)   BSP_FLD32GET(reg,20, 25)
 
#define TMS570_EMIF_CE3CFG_W_STROBE_SET(reg, val)   BSP_FLD32SET(reg, val,20, 25)
 
#define TMS570_EMIF_CE3CFG_W_HOLD(val)   BSP_FLD32(val,17, 19)
 
#define TMS570_EMIF_CE3CFG_W_HOLD_GET(reg)   BSP_FLD32GET(reg,17, 19)
 
#define TMS570_EMIF_CE3CFG_W_HOLD_SET(reg, val)   BSP_FLD32SET(reg, val,17, 19)
 
#define TMS570_EMIF_CE3CFG_R_SETUP(val)   BSP_FLD32(val,13, 16)
 
#define TMS570_EMIF_CE3CFG_R_SETUP_GET(reg)   BSP_FLD32GET(reg,13, 16)
 
#define TMS570_EMIF_CE3CFG_R_SETUP_SET(reg, val)   BSP_FLD32SET(reg, val,13, 16)
 
#define TMS570_EMIF_CE3CFG_R_STROBE(val)   BSP_FLD32(val,7, 12)
 
#define TMS570_EMIF_CE3CFG_R_STROBE_GET(reg)   BSP_FLD32GET(reg,7, 12)
 
#define TMS570_EMIF_CE3CFG_R_STROBE_SET(reg, val)   BSP_FLD32SET(reg, val,7, 12)
 
#define TMS570_EMIF_CE3CFG_R_HOLD(val)   BSP_FLD32(val,4, 6)
 
#define TMS570_EMIF_CE3CFG_R_HOLD_GET(reg)   BSP_FLD32GET(reg,4, 6)
 
#define TMS570_EMIF_CE3CFG_R_HOLD_SET(reg, val)   BSP_FLD32SET(reg, val,4, 6)
 
#define TMS570_EMIF_CE3CFG_TA(val)   BSP_FLD32(val,2, 3)
 
#define TMS570_EMIF_CE3CFG_TA_GET(reg)   BSP_FLD32GET(reg,2, 3)
 
#define TMS570_EMIF_CE3CFG_TA_SET(reg, val)   BSP_FLD32SET(reg, val,2, 3)
 
#define TMS570_EMIF_CE3CFG_ASIZE(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_EMIF_CE3CFG_ASIZE_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_EMIF_CE3CFG_ASIZE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_EMIF_CE4CFG_SS   BSP_BIT32(31)
 
#define TMS570_EMIF_CE4CFG_EW   BSP_BIT32(30)
 
#define TMS570_EMIF_CE4CFG_W_SETUP(val)   BSP_FLD32(val,26, 29)
 
#define TMS570_EMIF_CE4CFG_W_SETUP_GET(reg)   BSP_FLD32GET(reg,26, 29)
 
#define TMS570_EMIF_CE4CFG_W_SETUP_SET(reg, val)   BSP_FLD32SET(reg, val,26, 29)
 
#define TMS570_EMIF_CE4CFG_W_STROBE(val)   BSP_FLD32(val,20, 25)
 
#define TMS570_EMIF_CE4CFG_W_STROBE_GET(reg)   BSP_FLD32GET(reg,20, 25)
 
#define TMS570_EMIF_CE4CFG_W_STROBE_SET(reg, val)   BSP_FLD32SET(reg, val,20, 25)
 
#define TMS570_EMIF_CE4CFG_W_HOLD(val)   BSP_FLD32(val,17, 19)
 
#define TMS570_EMIF_CE4CFG_W_HOLD_GET(reg)   BSP_FLD32GET(reg,17, 19)
 
#define TMS570_EMIF_CE4CFG_W_HOLD_SET(reg, val)   BSP_FLD32SET(reg, val,17, 19)
 
#define TMS570_EMIF_CE4CFG_R_SETUP(val)   BSP_FLD32(val,13, 16)
 
#define TMS570_EMIF_CE4CFG_R_SETUP_GET(reg)   BSP_FLD32GET(reg,13, 16)
 
#define TMS570_EMIF_CE4CFG_R_SETUP_SET(reg, val)   BSP_FLD32SET(reg, val,13, 16)
 
#define TMS570_EMIF_CE4CFG_R_STROBE(val)   BSP_FLD32(val,7, 12)
 
#define TMS570_EMIF_CE4CFG_R_STROBE_GET(reg)   BSP_FLD32GET(reg,7, 12)
 
#define TMS570_EMIF_CE4CFG_R_STROBE_SET(reg, val)   BSP_FLD32SET(reg, val,7, 12)
 
#define TMS570_EMIF_CE4CFG_R_HOLD(val)   BSP_FLD32(val,4, 6)
 
#define TMS570_EMIF_CE4CFG_R_HOLD_GET(reg)   BSP_FLD32GET(reg,4, 6)
 
#define TMS570_EMIF_CE4CFG_R_HOLD_SET(reg, val)   BSP_FLD32SET(reg, val,4, 6)
 
#define TMS570_EMIF_CE4CFG_TA(val)   BSP_FLD32(val,2, 3)
 
#define TMS570_EMIF_CE4CFG_TA_GET(reg)   BSP_FLD32GET(reg,2, 3)
 
#define TMS570_EMIF_CE4CFG_TA_SET(reg, val)   BSP_FLD32SET(reg, val,2, 3)
 
#define TMS570_EMIF_CE4CFG_ASIZE(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_EMIF_CE4CFG_ASIZE_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_EMIF_CE4CFG_ASIZE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_EMIF_CE5CFG_SS   BSP_BIT32(31)
 
#define TMS570_EMIF_CE5CFG_EW   BSP_BIT32(30)
 
#define TMS570_EMIF_CE5CFG_W_SETUP(val)   BSP_FLD32(val,26, 29)
 
#define TMS570_EMIF_CE5CFG_W_SETUP_GET(reg)   BSP_FLD32GET(reg,26, 29)
 
#define TMS570_EMIF_CE5CFG_W_SETUP_SET(reg, val)   BSP_FLD32SET(reg, val,26, 29)
 
#define TMS570_EMIF_CE5CFG_W_STROBE(val)   BSP_FLD32(val,20, 25)
 
#define TMS570_EMIF_CE5CFG_W_STROBE_GET(reg)   BSP_FLD32GET(reg,20, 25)
 
#define TMS570_EMIF_CE5CFG_W_STROBE_SET(reg, val)   BSP_FLD32SET(reg, val,20, 25)
 
#define TMS570_EMIF_CE5CFG_W_HOLD(val)   BSP_FLD32(val,17, 19)
 
#define TMS570_EMIF_CE5CFG_W_HOLD_GET(reg)   BSP_FLD32GET(reg,17, 19)
 
#define TMS570_EMIF_CE5CFG_W_HOLD_SET(reg, val)   BSP_FLD32SET(reg, val,17, 19)
 
#define TMS570_EMIF_CE5CFG_R_SETUP(val)   BSP_FLD32(val,13, 16)
 
#define TMS570_EMIF_CE5CFG_R_SETUP_GET(reg)   BSP_FLD32GET(reg,13, 16)
 
#define TMS570_EMIF_CE5CFG_R_SETUP_SET(reg, val)   BSP_FLD32SET(reg, val,13, 16)
 
#define TMS570_EMIF_CE5CFG_R_STROBE(val)   BSP_FLD32(val,7, 12)
 
#define TMS570_EMIF_CE5CFG_R_STROBE_GET(reg)   BSP_FLD32GET(reg,7, 12)
 
#define TMS570_EMIF_CE5CFG_R_STROBE_SET(reg, val)   BSP_FLD32SET(reg, val,7, 12)
 
#define TMS570_EMIF_CE5CFG_R_HOLD(val)   BSP_FLD32(val,4, 6)
 
#define TMS570_EMIF_CE5CFG_R_HOLD_GET(reg)   BSP_FLD32GET(reg,4, 6)
 
#define TMS570_EMIF_CE5CFG_R_HOLD_SET(reg, val)   BSP_FLD32SET(reg, val,4, 6)
 
#define TMS570_EMIF_CE5CFG_TA(val)   BSP_FLD32(val,2, 3)
 
#define TMS570_EMIF_CE5CFG_TA_GET(reg)   BSP_FLD32GET(reg,2, 3)
 
#define TMS570_EMIF_CE5CFG_TA_SET(reg, val)   BSP_FLD32SET(reg, val,2, 3)
 
#define TMS570_EMIF_CE5CFG_ASIZE(val)   BSP_FLD32(val,0, 1)
 
#define TMS570_EMIF_CE5CFG_ASIZE_GET(reg)   BSP_FLD32GET(reg,0, 1)
 
#define TMS570_EMIF_CE5CFG_ASIZE_SET(reg, val)   BSP_FLD32SET(reg, val,0, 1)
 
#define TMS570_EMIF_SDTIMR_T_RFC(val)   BSP_FLD32(val,27, 31)
 
#define TMS570_EMIF_SDTIMR_T_RFC_GET(reg)   BSP_FLD32GET(reg,27, 31)
 
#define TMS570_EMIF_SDTIMR_T_RFC_SET(reg, val)   BSP_FLD32SET(reg, val,27, 31)
 
#define TMS570_EMIF_SDTIMR_T_RP(val)   BSP_FLD32(val,24, 26)
 
#define TMS570_EMIF_SDTIMR_T_RP_GET(reg)   BSP_FLD32GET(reg,24, 26)
 
#define TMS570_EMIF_SDTIMR_T_RP_SET(reg, val)   BSP_FLD32SET(reg, val,24, 26)
 
#define TMS570_EMIF_SDTIMR_T_RCD(val)   BSP_FLD32(val,20, 22)
 
#define TMS570_EMIF_SDTIMR_T_RCD_GET(reg)   BSP_FLD32GET(reg,20, 22)
 
#define TMS570_EMIF_SDTIMR_T_RCD_SET(reg, val)   BSP_FLD32SET(reg, val,20, 22)
 
#define TMS570_EMIF_SDTIMR_T_WR(val)   BSP_FLD32(val,16, 18)
 
#define TMS570_EMIF_SDTIMR_T_WR_GET(reg)   BSP_FLD32GET(reg,16, 18)
 
#define TMS570_EMIF_SDTIMR_T_WR_SET(reg, val)   BSP_FLD32SET(reg, val,16, 18)
 
#define TMS570_EMIF_SDTIMR_T_RAS(val)   BSP_FLD32(val,12, 15)
 
#define TMS570_EMIF_SDTIMR_T_RAS_GET(reg)   BSP_FLD32GET(reg,12, 15)
 
#define TMS570_EMIF_SDTIMR_T_RAS_SET(reg, val)   BSP_FLD32SET(reg, val,12, 15)
 
#define TMS570_EMIF_SDTIMR_T_RC(val)   BSP_FLD32(val,8, 11)
 
#define TMS570_EMIF_SDTIMR_T_RC_GET(reg)   BSP_FLD32GET(reg,8, 11)
 
#define TMS570_EMIF_SDTIMR_T_RC_SET(reg, val)   BSP_FLD32SET(reg, val,8, 11)
 
#define TMS570_EMIF_SDTIMR_T_RRD(val)   BSP_FLD32(val,4, 6)
 
#define TMS570_EMIF_SDTIMR_T_RRD_GET(reg)   BSP_FLD32GET(reg,4, 6)
 
#define TMS570_EMIF_SDTIMR_T_RRD_SET(reg, val)   BSP_FLD32SET(reg, val,4, 6)
 
#define TMS570_EMIF_SDSRETR_T_XS(val)   BSP_FLD32(val,0, 4)
 
#define TMS570_EMIF_SDSRETR_T_XS_GET(reg)   BSP_FLD32GET(reg,0, 4)
 
#define TMS570_EMIF_SDSRETR_T_XS_SET(reg, val)   BSP_FLD32SET(reg, val,0, 4)
 
#define TMS570_EMIF_INTRAW_WR   BSP_BIT32(2)
 
#define TMS570_EMIF_INTRAW_LT   BSP_BIT32(1)
 
#define TMS570_EMIF_INTRAW_AT   BSP_BIT32(0)
 
#define TMS570_EMIF_INTMSK_WR_MASKED   BSP_BIT32(2)
 
#define TMS570_EMIF_INTMSK_LT_MASKED   BSP_BIT32(1)
 
#define TMS570_EMIF_INTMSK_AT_MASKED   BSP_BIT32(0)
 
#define TMS570_EMIF_INTMSKSET_WR_MASK_SET   BSP_BIT32(2)
 
#define TMS570_EMIF_INTMSKSET_LT_MASK_SET   BSP_BIT32(1)
 
#define TMS570_EMIF_INTMSKSET_AT_MASK_SET   BSP_BIT32(0)
 
#define TMS570_EMIF_INTMSKCLR_WR_MASK_CLR   BSP_BIT32(2)
 
#define TMS570_EMIF_INTMSKCLR_LT_MASK_CLR   BSP_BIT32(1)
 
#define TMS570_EMIF_INTMSKCLR_AT_MASK_CLR   BSP_BIT32(0)
 
#define TMS570_EMIF_PMCR_CS5_PG_DEL(val)   BSP_FLD32(val,26, 31)
 
#define TMS570_EMIF_PMCR_CS5_PG_DEL_GET(reg)   BSP_FLD32GET(reg,26, 31)
 
#define TMS570_EMIF_PMCR_CS5_PG_DEL_SET(reg, val)   BSP_FLD32SET(reg, val,26, 31)
 
#define TMS570_EMIF_PMCR_CS5_PG_SIZE   BSP_BIT32(25)
 
#define TMS570_EMIF_PMCR_CS5_PG_MD_EN   BSP_BIT32(24)
 
#define TMS570_EMIF_PMCR_CS4_PG_DEL(val)   BSP_FLD32(val,18, 23)
 
#define TMS570_EMIF_PMCR_CS4_PG_DEL_GET(reg)   BSP_FLD32GET(reg,18, 23)
 
#define TMS570_EMIF_PMCR_CS4_PG_DEL_SET(reg, val)   BSP_FLD32SET(reg, val,18, 23)
 
#define TMS570_EMIF_PMCR_CS4_PG_SIZE   BSP_BIT32(17)
 
#define TMS570_EMIF_PMCR_CS4_PG_MD_EN   BSP_BIT32(16)
 
#define TMS570_EMIF_PMCR_CS3_PG_DEL(val)   BSP_FLD32(val,10, 15)
 
#define TMS570_EMIF_PMCR_CS3_PG_DEL_GET(reg)   BSP_FLD32GET(reg,10, 15)
 
#define TMS570_EMIF_PMCR_CS3_PG_DEL_SET(reg, val)   BSP_FLD32SET(reg, val,10, 15)
 
#define TMS570_EMIF_PMCR_CS3_PG_SIZE   BSP_BIT32(9)
 
#define TMS570_EMIF_PMCR_CS3_PG_MD_EN   BSP_BIT32(8)
 
#define TMS570_EMIF_PMCR_CS2_PG_DEL(val)   BSP_FLD32(val,2, 7)
 
#define TMS570_EMIF_PMCR_CS2_PG_DEL_GET(reg)   BSP_FLD32GET(reg,2, 7)
 
#define TMS570_EMIF_PMCR_CS2_PG_DEL_SET(reg, val)   BSP_FLD32SET(reg, val,2, 7)
 
#define TMS570_EMIF_PMCR_CS2_PG_SIZE   BSP_BIT32(1)
 
#define TMS570_EMIF_PMCR_CS2_PG_MD_EN   BSP_BIT32(0)
 

Detailed Description

This header file provides EMIF interfaces.