⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mxarm11_sim.h

📁 freescale i.mx31 BSP CE5.0全部源码
💻 H
📖 第 1 页 / 共 2 页
字号:
#define SIM_INT_MASK_RIM_WID                1
#define SIM_INT_MASK_TCIM_WID               1
#define SIM_INT_MASK_OIM_WID                1
#define SIM_INT_MASK_ETCIM_WID              1
#define SIM_INT_MASK_TFEIM_WID              1
#define SIM_INT_MASK_XMT_WID                1
#define SIM_INT_MASK_TFOM_WID               1
#define SIM_INT_MASK_TDTFM_WID              1
#define SIM_INT_MASK_CPCNTM_WID             1
#define SIM_INT_MASK_CWTM_WID               1
#define SIM_INT_MASK_RTM_WID                1
#define SIM_INT_MASK_BWTM_WID               1
#define SIM_INT_MASK_BGTM_WID               1

#define SIM_PORT0_XMT_BUF_XMT_BUF_WID               8

#define SIM_PORT0_RCV_BUF_RCV_BUF_WID               8
#define SIM_PORT0_RCV_BUF_PE_WID                1
#define SIM_PORT0_RCV_BUF_FE_WID                1
#define SIM_PORT0_RCV_BUF_CWT_WID               1

#define SIM_PORT0_DETECT_SDIM_WID               1
#define SIM_PORT0_DETECT_SDI_WID                1
#define SIM_PORT0_DETECT_SPDP_WID               1
#define SIM_PORT0_DETECT_SPDS_WID               1

#define SIM_DATA_FORMAT_IC_WID              1

#define SIM_XMT_THRESHOLD_TDT_WID               4
#define SIM_XMT_THRESHOLD_XTH_WID               4

#define SIM_GUARD_CNTL_GETU_WID             8
#define SIM_GUARD_CNTL_RCVR11_WID               1

#define SIM_OD_CONFIG_OD_P0_WID             1
#define SIM_OD_CONFIG_OD_P1_WID             1

#define SIM_RESET_CNTL_FLUSH_RCV_WID                1
#define SIM_RESET_CNTL_FLUSH_XMT_WID                1
#define SIM_RESET_CNTL_SOFT_RESET_WID               1
#define SIM_RESET_CNTL_KILL_CLK_WID             1
#define SIM_RESET_CNTL_DOZE_WID             1
#define SIM_RESET_CNTL_STOP_WID             1
#define SIM_RESET_CNTL_DEBUG_WID                1

#define SIM_CHAR_WAIT_CWT_WID               16

#define SIM_GPCNT_WID               16

#define SIM_DIVISOR_WID             7

#define SIM_BWT_WID             16

#define SIM_BGT_WID             16

#define SIM_BWT_H_WID               16

//------------------------------------------------------------------------------
// REGISTER BIT WRITE VALUES
//------------------------------------------------------------------------------
//PORT1_CNTL
#define SIM_PORT1_CNTL_SAPD_ENABLE             1
#define SIM_PORT1_CNTL_SAPD_DISABLE             0

#define SIM_PORT1_CNTL_SVEN_ENABLE             1
#define SIM_PORT1_CNTL_SVEN_DISABLE             0

#define SIM_PORT1_CNTL_STEN_ENABLE             1
#define SIM_PORT1_CNTL_STEN_DISABLE             0

#define SIM_PORT1_CNTL_SRST_ENABLE             1
#define SIM_PORT1_CNTL_SRST_DISABLE             0

#define SIM_PORT1_CNTL_SCEN_ENABLE             1
#define SIM_PORT1_CNTL_SCEN_DISABLE             0

#define SIM_PORT1_CNTL_SCSP_ENABLE             1
#define SIM_PORT1_CNTL_SCSP_DISABLE             0

#define SIM_PORT1_CNTL_3VOLT_ENABLE                1
#define SIM_PORT1_CNTL_3VOLT_DISABLE                0

#define SIM_PORT1_CNTL_SFPD_ENABLE         1
#define SIM_PORT1_CNTL_SFPD_DISABLE         0

//SETUP
#define SIM_SETUP_AMODE_ENABLE             1
#define SIM_SETUP_AMODE_DISABLE             0

#define SIM_SETUP_SPS_PORT1              1
#define SIM_SETUP_SPS_PORT0               0

//PORT1_DETECT
#define SIM_PORT1_DETECT_SDIM_MASK               1
#define SIM_PORT1_DETECT_SDIM_ENABLE               0

#define SIM_PORT1_DETECT_SDI_YES                1
#define SIM_PORT1_DETECT_SDI_NO                0

#define SIM_PORT1_DETECT_SPDS_RE               1
#define SIM_PORT1_DETECT_SPDS_FE               0

//PORT0_CNTL
#define SIM_PORT0_CNTL_SAPD_ENABLE             1
#define SIM_PORT0_CNTL_SAPD_DISABLE             0

#define SIM_PORT0_CNTL_SVEN_ENABLE             1
#define SIM_PORT0_CNTL_SVEN_DISABLE             0

#define SIM_PORT0_CNTL_STEN_ENABLE             1
#define SIM_PORT0_CNTL_STEN_DISABLE             0

#define SIM_PORT0_CNTL_SRST_ENABLE             1
#define SIM_PORT0_CNTL_SRST_DISABLE             0

#define SIM_PORT0_CNTL_SCEN_ENABLE             1
#define SIM_PORT0_CNTL_SCEN_DISABLE             0

#define SIM_PORT0_CNTL_SCSP_ENABLE             1
#define SIM_PORT0_CNTL_SCSP_DISABLE             0

#define SIM_PORT0_CNTL_3VOLT_ENABLE                1
#define SIM_PORT0_CNTL_3VOLT_DISABLE                0

#define SIM_PORT0_CNTL_SFPD_ENABLE         1
#define SIM_PORT0_CNTL_SFPD_DISABLE         0

//CNTL
#define SIM_CNTL_ICM_ENABLE                1
#define SIM_CNTL_ICM_DISABLE                 0

#define SIM_CNTL_ANACK_ENABLE              1
#define SIM_CNTL_ANACK_DISABLE               0

#define SIM_CNTL_ONACK_ENABLE              1
#define SIM_CNTL_ONACK_DISABLE               0

#define SIM_CNTL_SAMPLE12_ENABLE               1
#define SIM_CNTL_SAMPLE12_DISABLE                0

#define SIM_CNTL_CWTEN_ENABLE              1
#define SIM_CNTL_CWTEN_DISABLE               0

#define SIM_CNTL_LRCEN_ENABLE              1
#define SIM_CNTL_LRCEN_DISABLE               0

#define SIM_CNTL_CRCEN_ENABLE              1
#define SIM_CNTL_CRCEN_DISABLE               0

#define SIM_CNTL_XMT_CRC_LRC_ENABLE                1
#define SIM_CNTL_XMT_CRC_LRC_DISABLE                 0

#define SIM_CNTL_BWTEN_ENABLE              1
#define SIM_CNTL_BWTEN_DISABLE               0

//ENABLE
#define SIM_ENABLE_RCVEN_ENABLE                1
#define SIM_ENABLE_RCVEN_DISABLE                0

#define SIM_ENABLE_XMTEN_ENABLE                1
#define SIM_ENABLE_XMTEN_DISABLE                0

//XMT_STATUS
#define SIM_XMT_STATUS_XTE_CLR              1
#define SIM_XMT_STATUS_TFE_CLR              1
#define SIM_XMT_STATUS_ETC_CLR              1
#define SIM_XMT_STATUS_TC_CLR               1
#define SIM_XMT_STATUS_TFO_CLR              1
#define SIM_XMT_STATUS_TDTF_CLR             1
#define SIM_XMT_STATUS_GPCNT_CLR                1

//RCV_STATUS
#define SIM_RCV_STATUS_OEF_CLR              1
#define SIM_RCV_STATUS_RFD_CLR              1
#define SIM_RCV_STATUS_RDRF_CLR             1
#define SIM_RCV_STATUS_LRCOK_CLR                1
#define SIM_RCV_STATUS_CRCOK_CLR                1
#define SIM_RCV_STATUS_CWT_CLR              1
#define SIM_RCV_STATUS_RTE_CLR              1
#define SIM_RCV_STATUS_BWT_CLR              1
#define SIM_RCV_STATUS_BGT_CLR              1

//INT_MASK
#define SIM_INT_MASK_RIM_MASK                1
#define SIM_INT_MASK_RIM_ENABLE                0

#define SIM_INT_MASK_TCIM_MASK               1
#define SIM_INT_MASK_TCIM_ENABLE               0

#define SIM_INT_MASK_OIM_MASK                1
#define SIM_INT_MASK_OIM_ENABLE                0

#define SIM_INT_MASK_ETCIM_MASK              1
#define SIM_INT_MASK_ETCIM_ENABLE              0

#define SIM_INT_MASK_TFEIM_MASK              1
#define SIM_INT_MASK_TFEIM_ENABLE              0

#define SIM_INT_MASK_XMT_MASK                1
#define SIM_INT_MASK_XMT_ENABLE                0

#define SIM_INT_MASK_TFOM_MASK               1
#define SIM_INT_MASK_TFOM_ENABLE               0

#define SIM_INT_MASK_TDTFM_MASK              1
#define SIM_INT_MASK_TDTFM_ENABLE              0

#define SIM_INT_MASK_CPCNTM_MASK             1
#define SIM_INT_MASK_CPCNTM_ENABLE             0

#define SIM_INT_MASK_CWTM_MASK               1
#define SIM_INT_MASK_CWTM_ENABLE               0

#define SIM_INT_MASK_RTM_MASK                1
#define SIM_INT_MASK_RTM_ENABLE                0

#define SIM_INT_MASK_BWTM_MASK               1
#define SIM_INT_MASK_BWTM_ENABLE               0

#define SIM_INT_MASK_BGTM_MASK               1
#define SIM_INT_MASK_BGTM_ENABLE               0

//PORT0_DETECT
#define SIM_PORT0_DETECT_SDIM_MASK               1
#define SIM_PORT0_DETECT_SDIM_ENABLE               0

#define SIM_PORT0_DETECT_SDI_YES                1
#define SIM_PORT0_DETECT_SDI_NO                0

#define SIM_PORT0_DETECT_SPDS_RE               1
#define SIM_PORT0_DETECT_SPDS_FE               0

//DATA_FORMAT
#define SIM_DATA_FORMAT_IC_ENABLE              1
#define SIM_DATA_FORMAT_IC_DISABLE              0

//GUARD_CNTL
#define SIM_GUARD_CNTL_RCVR11_ENABLE               1
#define SIM_GUARD_CNTL_RCVR11_DISABLE               0

//OD_CONFIG
#define SIM_OD_CONFIG_OD_P0_OD             1
#define SIM_OD_CONFIG_OD_P0_PP             0

#define SIM_OD_CONFIG_OD_P1_OD             1
#define SIM_OD_CONFIG_OD_P1_PP             0

//RESET_CNTL
#define SIM_RESET_CNTL_FLUSH_RCV_ENABLE                1
#define SIM_RESET_CNTL_FLUSH_RCV_DISABLE                0

#define SIM_RESET_CNTL_FLUSH_XMT_ENABLE                1
#define SIM_RESET_CNTL_FLUSH_XMT_DISABLE                0

#ifdef __cplusplus
}
#endif

#endif // __ZEUS_SIM_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -