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

📄 usim_ca.h

📁 OMAP1030 处理器的ARM 侧硬件测试代码 OMAP1030 是TI的双核处理器
💻 H
📖 第 1 页 / 共 4 页
字号:
//========================================================================
//          TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION  
//   Property of Texas Instruments
//   For Unrestricted Internal Use Only
//   Unauthorized reprofuction and/or distribution is strictly prohibited.
//   This product is protected under copyright law and trade secret law
//   as an unpublished work
//   Created 2000,  (C) Copyright 2000 Texas Instruments. All rights reserved
//
//
//   Filename           :dolomites1_usim.h
//
//   Date of Module Modification:8/21/02
//   Date of Generation :8/21/02
//
//
//========================================================================
#include "global_types.h"
#include "mapping.h"
#include "errorcodes.h"
#include "global_types.h"
#include "test.h"
#include "testaccess.h"


#ifndef _USIM__H
#define _USIM__H

//BEGIN INC GENERATION
//--------------------------------------


//Register Offset
//-------------------
#define            USIM_USIMCMD_OFFSET                                                                                 0x00
#define            USIM_USIMSTAT_OFFSET                                                                                0x02
#define            USIM_USIMCONF1_OFFSET                                                                               0x04
#define            USIM_USIMCONF2_OFFSET                                                                               0x06
#define            USIM_USIM_CONF3_OFFSET                                                                              0x08
#define            USIM_USIM_MASK_IT_OFFSET                                                                            0x10
#define            USIM_USIM_FIFOS_OFFSET                                                                              0x12
#define            USIM_USIM_CGT_OFFSET                                                                                0x14
#define            USIM_USIM_CWT_OFFSET                                                                                0x16
#define            USIM_USIM_BWT_LSB_OFFSET                                                                            0x18
#define            USIM_USIM_BWT_MSB_OFFSET                                                                            0x1A
#define            USIM_DEBUG_REG_OFFSET                                                                               0x1C
#define            USIM_CONF_SAM1_DIV_OFFSET                                                                           0x1E
#define            USIM_CONF4_REG_OFFSET                                                                               0x20
#define            USIM_ATR_CLK_PRD_NBS_OFFSET                                                                         0x22
#define            USIM_CONF_ETU_DIV_OFFSET                                                                            0x24
#define            USIM_CONF5_REG_OFFSET                                                                               0x26
#define            USIM_USIM_IT_OFFSET                                                                                 0xA
#define            USIM_USIM_DRX_OFFSET                                                                                0xC
#define            USIM_USIM_DTX_OFFSET                                                                                0xE




//USIM_USIMCMD
//-------------------
#define            USIM_USIMCMD                                                                                        REG16(MAP_USIM_ADDR+USIM_USIMCMD_OFFSET)


#define            USIM_USIMCMD_STOP_EMV_ATR_LENGTH_TIMER_POS                                                            6
#define            USIM_USIMCMD_STOP_EMV_ATR_LENGTH_TIMER_NUMB                                                           1
#define            USIM_USIMCMD_STOP_EMV_ATR_LENGTH_TIMER_RES_VAL                                                        0x0
//R/W

#define            USIM_USIMCMD_CLOCK_STOP_CMD_POS                                                                       5
#define            USIM_USIMCMD_CLOCK_STOP_CMD_NUMB                                                                      1
#define            USIM_USIMCMD_CLOCK_STOP_CMD_RES_VAL                                                                   0x0
//R/W

#define            USIM_USIMCMD_WARM_RESET_CMD_POS                                                                       4
#define            USIM_USIMCMD_WARM_RESET_CMD_NUMB                                                                      1
#define            USIM_USIMCMD_WARM_RESET_CMD_RES_VAL                                                                   0x0
//R/W

#define            USIM_USIMCMD_MODULE_CLK_EN_POS                                                                        3
#define            USIM_USIMCMD_MODULE_CLK_EN_NUMB                                                                       1
#define            USIM_USIMCMD_MODULE_CLK_EN_RES_VAL                                                                    0x0
//R/W

#define            USIM_USIMCMD_CMDSTART_POS                                                                             2
#define            USIM_USIMCMD_CMDSTART_NUMB                                                                            1
#define            USIM_USIMCMD_CMDSTART_RES_VAL                                                                         0x0
//R/W

#define            USIM_USIMCMD_CMDSTOP_POS                                                                              1
#define            USIM_USIMCMD_CMDSTOP_NUMB                                                                             1
#define            USIM_USIMCMD_CMDSTOP_RES_VAL                                                                          0x0
//R/W

#define            USIM_USIMCMD_CMDIFRST_POS                                                                             0
#define            USIM_USIMCMD_CMDIFRST_NUMB                                                                            1
#define            USIM_USIMCMD_CMDIFRST_RES_VAL                                                                         0x0
//R/W


//USIM_USIMSTAT
//-------------------
#define            USIM_USIMSTAT                                                                                       REG16(MAP_USIM_ADDR+USIM_USIMSTAT_OFFSET)


#define            USIM_USIMSTAT_X_MODE_POS                                                                              4
#define            USIM_USIMSTAT_X_MODE_NUMB                                                                             1
#define            USIM_USIMSTAT_X_MODE_RES_VAL                                                                          0x1
//R

#define            USIM_USIMSTAT_CONFCODCONV_POS                                                                         3
#define            USIM_USIMSTAT_CONFCODCONV_NUMB                                                                        1
#define            USIM_USIMSTAT_CONFCODCONV_RES_VAL                                                                     0x0
//R

#define            USIM_USIMSTAT_STATLRC_POS                                                                             2
#define            USIM_USIMSTAT_STATLRC_NUMB                                                                            1
#define            USIM_USIMSTAT_STATLRC_RES_VAL                                                                         0x0
//R

#define            USIM_USIMSTAT_STATTXPAR_POS                                                                           1
#define            USIM_USIMSTAT_STATTXPAR_NUMB                                                                          1
#define            USIM_USIMSTAT_STATTXPAR_RES_VAL                                                                       0x1
//R

#define            USIM_USIMSTAT_STATNOCARD_POS                                                                          0
#define            USIM_USIMSTAT_STATNOCARD_NUMB                                                                         1
#define            USIM_USIMSTAT_STATNOCARD_RES_VAL                                                                      0x0
//R


//USIM_USIMCONF1
//-------------------
#define            USIM_USIMCONF1                                                                                      REG16(MAP_USIM_ADDR+USIM_USIMCONF1_OFFSET)


#define            USIM_USIMCONF1_EMV_CONF_POS                                                                           6
#define            USIM_USIMCONF1_EMV_CONF_NUMB                                                                          1
#define            USIM_USIMCONF1_EMV_CONF_RES_VAL                                                                       0x0
//R/W

#define            USIM_USIMCONF1_CONF_SCLK_EN_POS                                                                       5
#define            USIM_USIMCONF1_CONF_SCLK_EN_NUMB                                                                      1
#define            USIM_USIMCONF1_CONF_SCLK_EN_RES_VAL                                                                   0x0
//R/W

#define            USIM_USIMCONF1_SRSTLEV_POS                                                                            4
#define            USIM_USIMCONF1_SRSTLEV_NUMB                                                                           1
#define            USIM_USIMCONF1_SRSTLEV_RES_VAL                                                                        0x0
//R/W

#define            USIM_USIMCONF1_SVCCLEV_POS                                                                            3
#define            USIM_USIMCONF1_SVCCLEV_NUMB                                                                           1
#define            USIM_USIMCONF1_SVCCLEV_RES_VAL                                                                        0x0
//R/W

#define            USIM_USIMCONF1_CONFBYPASS_POS                                                                         2
#define            USIM_USIMCONF1_CONFBYPASS_NUMB                                                                        1
#define            USIM_USIMCONF1_CONFBYPASS_RES_VAL                                                                     0x0
//R/W

#define            USIM_USIMCONF1_CONFSIOLOW_POS                                                                         1
#define            USIM_USIMCONF1_CONFSIOLOW_NUMB                                                                        1
#define            USIM_USIMCONF1_CONFSIOLOW_RES_VAL                                                                     0x0
//R/W

#define            USIM_USIMCONF1_SCLKLEV_POS                                                                            0
#define            USIM_USIMCONF1_SCLKLEV_NUMB                                                                           1
#define            USIM_USIMCONF1_SCLKLEV_RES_VAL                                                                        0x0
//R/W


//USIM_USIMCONF2
//-------------------
#define            USIM_USIMCONF2                                                                                      REG16(MAP_USIM_ADDR+USIM_USIMCONF2_OFFSET)


#define            USIM_USIMCONF2_CONFRESENT_POS                                                                         8
#define            USIM_USIMCONF2_CONFRESENT_NUMB                                                                        3
#define            USIM_USIMCONF2_CONFRESENT_RES_VAL                                                                     0x0
//R/W

#define            USIM_USIMCONF2_CONFLRCCHECK_POS                                                                       7
#define            USIM_USIMCONF2_CONFLRCCHECK_NUMB                                                                      1
#define            USIM_USIMCONF2_CONFLRCCHECK_RES_VAL                                                                   0x0
//R/W

#define            USIM_USIMCONF2_CONFEDC_POS                                                                            6
#define            USIM_USIMCONF2_CONFEDC_NUMB                                                                           1
#define            USIM_USIMCONF2_CONFEDC_RES_VAL                                                                        0x0
//R/W

#define            USIM_USIMCONF2_CONFPROTOCOL_POS                                                                       5
#define            USIM_USIMCONF2_CONFPROTOCOL_NUMB                                                                      1
#define            USIM_USIMCONF2_CONFPROTOCOL_RES_VAL                                                                   0x0
//R/W

#define            USIM_USIMCONF2_ATR_ASYN_BYPASS_POS                                                                    4
#define            USIM_USIMCONF2_ATR_ASYN_BYPASS_NUMB                                                                   1
#define            USIM_USIMCONF2_ATR_ASYN_BYPASS_RES_VAL                                                                0x0
//R/W

#define            USIM_USIMCONF2_CONFSCLKDIV_POS                                                                        2
#define            USIM_USIMCONF2_CONFSCLKDIV_NUMB                                                                       2
#define            USIM_USIMCONF2_CONFSCLKDIV_RES_VAL                                                                    0x01
//R/W

#define            USIM_USIMCONF2_TXNRX_POS                                                                              1
#define            USIM_USIMCONF2_TXNRX_NUMB                                                                             1
#define            USIM_USIMCONF2_TXNRX_RES_VAL                                                                          0x1
//R/W

#define            USIM_USIMCONF2_CONFCHKPAR_POS                                                                         0
#define            USIM_USIMCONF2_CONFCHKPAR_NUMB                                                                        1
#define            USIM_USIMCONF2_CONFCHKPAR_RES_VAL                                                                     0x0
//R/W

⌨️ 快捷键说明

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