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

📄 tat0top.hec

📁 这是用Labwindows开发的一个RF test程序。 用于日本机种的组装后ANT 测试。
💻 HEC
📖 第 1 页 / 共 2 页
字号:
/******************************************************************************/
/*----------------------------------------------------------------------------* 
 *                                    DESCRIPTION
 *
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                           FUNCTIONS DEFINED IN THIS FILE
 *----------------------------------------------------------------------------* 
 * Name            | Object
 *----------------------------------------------------------------------------* 
 * 
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                                    EVOLUTION
 *----------------------------------------------------------------------------* 
 * Date     | Author     | Arnb     | Description
 *----------------------------------------------------------------------------* 
 * 29.01.97 |SIMON J.M.  | XXYYYY   | creation
 * 23.10.97 |SEZILLE F.  |          | add error define
 * 08.01.98 |SEZILLE F.  |          | add interruption error
 * 15.01.99 |S.MADELAINE |          | add TAT_ERROR_CHECKSUM
 * 04.03.99 |F. Le Goff  |     1.55 | - Add acces rights for the test UART 
 *          |            |          | driver.
 * 06.05.99 |F. Le Goff  |     1.65 | - Add constant to define version of the 
 *          |            |          | error.
 *----------------------------------------------------------------------------* 
 * 21.07.99 |F. LE GOFF  |     2.4  | - Replace TAT_ERROR_NONE by TAT_ERROR_OFF.
 * 01.09.99 |F. LE GOFF  |     2.6  | -Change for the TAT integration in module
 *          |            |          |   (Add Access rights  DVHFDA)
 *          |            |          |
 * 21.09.99 |F. LE GOFF  |     2.8  | - Give access rights to TATFLASH module 
 *          |            |          | (Tranfer of the Memory tests from TATRW 
 *          |            |          | to TATFLASH)
 * 30.11.99 | F. Sezille |     2.15 | - Add access rights ACCESS_RIGHTS_SCENARIO.
 * 15.12.99 |F. LE GOFF  |     2.16 | - Give access rights to TATFLASH module 
 *          |            |          | - Add new error if checsum is different in
 *          |            |          | Flash test checking.  
 * 25.08.00 |F. LE GOFF  |     2.41 | - Add new error for FMM status 
 * 27.09.00 |F. LE GOFF  |     2.42 | - Add ACCESS RIGHTS for TATDSP 
 * 19.03.01 |F. LE GOFF  |     2.49 | - Add ACCESS RIGHTS for TATDSP
 * 30.05.01 |C. P. WONG  |     2.51 | - Add new error msgs: TAT_ERROR_ALLOCATE_RAM
 *          |            |          |   TAT_ERROR_FREE_RAM 
 ***************************************************************************)F*/
/* #*/

#ifndef TAT0TOP_HEC
#define TAT0TOP_HEC

/* To increased at each new revision of the project TATError       */
/*  TAT_ERROR_VERSION.TAT_ERROR_REVISION = Version of TATTOP xx.yy */
/*  TAT_ERROR_VERSION  = xx                                        */
/*  TAT_ERROR_REVISION = yy                                        */
#if defined(ACCESS_RIGHTS_IHMERR)
#define TAT_ERROR_VERSION      0x02
#define TAT_ERROR_REVISION     0x42
#endif   /*   ACCESS_RIGHTS_IHMERR   */

/* just to know and make follow the numbers as long as wee progress */
/* DEFINITIONS FOR ERROR HANDLING */ 
/* #define TAT_ERROR_OFF                        0x00 */
/* #define TAT_ERROR_ON                         0x01 */
/* #define TAT_ERROR_CASE                       0x02 */
/* #define TAT_ERROR_FMM_STATUS                 0x03 */
/* #define TAT_ERROR_SIGNATURE                  0x04 */
/* #define TAT_ERROR_CHECKSUM                   0x05 */
/* #define TAT_ERROR_SIMCARD                    0x06 */
/* #define TAT_ERROR_PARAMETERS                 0x07 */
/* #define TAT_ERROR_WRITE_OUT_OF_RAM           0x08 */
/* #define TAT_ERROR_COMMAND_NOT_RECOGNIZED     0x09 */
/* #define TAT_ERROR_OVERFLOW_TX_FREQ           0x0A */
/* #define TAT_ERROR_OVERFLOW_RX_FREQ           0x0B */
/* #define TAT_ERROR_OVERFLOW_MON_FREQ          0x0C */
/* #define TAT_ERROR_INIT_LENGHT                0x0E */
/* #define TAT_ERROR_INIT                       0x0F */
/* #define TAT_ERROR_NUM_PROCESS    0x10 */
/* #define TAT_ERROR_EXT            0x11 */
/* #define TAT_ERROR_OOL            0x12 */
/* #define TAT_ERROR_KBD            0x13 */
/* #define TAT_ERROR_TIM            0x14 */
/* #define TAT_ERROR_UART           0x15 */
/* #define TAT_ERROR_SIMU           0x16 */
/* #define TAT_ERROR_IIC            0x17 */
/* #define TAT_ERROR_PIO            0x18 */
/* #define TAT_ERROR_MELODY         0x19 */
/* #define TAT_ERROR_ADC         0x20 */
/* #define TAT_ERROR_OPERATION_NOT_ALLOWED   0x21 */
/* #define TAT_ERROR_BAD_DEV_ID                 0x22 */
/* #define TAT_ERROR_BAD_MANUFACT_ID            0x23 */
/* #define TAT_ERROR_CHK_DIFFERED               0x24 */
/* #define TAT_ERROR_IGN_ACTIVATION             0x25 */
/* #define TAT_ERROR_IGN_DEACTIVATION           0x26 */
/* #define TAT_ERROR_RECO_ACTIVATION            0x27 */
/* #define TAT_ERROR_RECO_DEACTIVATION          0x28 */
/* #define TAT_ERROR_ALLOCATE_RAM      0x29 */
/* #define TAT_ERROR_FREE_RAM       0x2A */
/* #define TAT_ERROR_CASE_RESSOURCE    0x2B */
/* #define TAT_ERROR_SLEEP_MODE_ABORT      0x2C*/
/* #define TAT_ERROR_IT_PENDING      0x2D*/
/* #define TAT_ERROR_DSP_SLEEP_FORBIDDEN_BY_QBC      0x2E*/
/* #define TAT_ERROR_SC_SLEEP_FORBIDDEN_BY_QBC      0x2F*/
/* #define TAT_ERROR_RW_INI_FILE            0x30 */
/* #define TAT_ERROR_READ_VIRTULA_BUS          0x31 */
/* #define TAT_ERROR_ONKEY_ACTIVATION            0x32 */
/* #define TAT_ERROR_ONKEY_DEACTIVATION          0x33 */			

/* #define TAT_ERROR_USED_TAT_RESSOURCE         0xDD */
/* #define TAT_ERROR_NO_SLEEP_MODE     0xEE */
/* #define  OM_TAT_ERROR                        0xFF */

#if defined (ACCESS_RIGHTS_MATENG) || defined(ACCESS_RIGHTS_TATSIM) ||\
defined(ACCESS_RIGHTS_DVSIM)
#if defined(PROCESS_HSMC) && !defined(PROCESS_SIM)
#define PROCESS_SIM        PROCESS_HSMC
#endif
#endif

#if defined (ACCESS_RIGHTS_DVSC) || defined(ACCESS_RIGHTS_IHMERR) ||\
    defined (ACCESS_RIGHTS_SCENARIO)
#define TAT_ERROR_NUM_PROCESS         0x10
#define TAT_ERROR_AUTOBAUD_RXD           0x25
#define TAT_ERROR_AUTOBAUD_RTS           0x26
#endif

#if defined (ACCESS_RIGHTS_DVSIM) || defined(ACCESS_RIGHTS_IHMERR) ||\
    defined (ACCESS_RIGHTS_SCENARIO)

#define TAT_ERROR_SIMCARD                    0x06 
#endif


#if defined (TSTI5RAD_C) || defined(ACCESS_RIGHTS_IHMERR) ||\
    defined (ACCESS_RIGHTS_SCENARIO)
#define  OM_TAT_ERROR                        0xFF 
#endif

#if defined (ACCESS_RIGHTS_TATSC)  || defined (ACCESS_RIGHTS_IHMSC) ||\
    defined(ACCESS_RIGHTS_IHMERR) || defined (ACCESS_RIGHTS_SCENARIO)||\
    defined(ACCESS_RIGHTS_TATBB)  || defined (ACCESS_RIGHTS_UIPWS)||\
    defined(ACCESS_RIGHTS_TATPWS)
#define TAT_ERROR_EXT_IT      0x11
#define TAT_ERROR_OOL            0x12
#define TAT_ERROR_KBD         0x13 
#define TAT_ERROR_TIM            0x14
#define TAT_ERROR_UART           0x15
#define TAT_ERROR_SIMU           0x16
#define TAT_ERROR_IIC            0x17
#define TAT_ERROR_PIO_DSP        0x18
#define TAT_ERROR_MELODY      0x19
#define TAT_ERROR_ADC         0x20

#define TAT_ERROR_NO_SLEEP_MODE     0xEE
#endif

#if defined (ACCESS_RIGHTS_TATMAIN) || defined (ACCESS_RIGHTS_TATRW)    ||\
    defined (ACCESS_RIGHTS_TATAUDIO)|| defined (ACCESS_RIGHTS_TATSC)    ||\
    defined (ACCESS_RIGHTS_TATADC)  || defined (ACCESS_RIGHTS_TATRF)    ||\
    defined (ACCESS_RIGHTS_TATFLASH)|| defined (ACCESS_RIGHTS_TATEEPRO) ||\
    defined (ACCESS_RIGHTS_DVTOP)   || defined (ACCESS_RIGHTS_DVSC)     ||\
    defined (ACCESS_RIGHTS_DVAUDIO) || defined (ACCESS_RIGHTS_DVRF)     ||\
    defined (ACCESS_RIGHTS_DVEEPRO) || defined (ACCESS_RIGHTS_DVMAN)    ||\
    defined (TAT55FQ0_C)       || defined (ACCESS_RIGHTS_IHMSC)    ||\
    defined (ACCESS_RIGHTS_DVMAIN)  || defined(ACCESS_RIGHTS_IHMERR)    ||\
    defined (ACCESS_RIGHTS_DVLCD)   || defined (ACCESS_RIGHTS_DVRW)     ||\
    defined (ACCESS_RIGHTS_DVADC)   || defined (ACCESS_RIGHTS_DVSIM)    ||\

⌨️ 快捷键说明

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