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

📄 tvpsystem.h

📁 ti的数字电视芯片 tvp9000的源码
💻 H
字号:
#ifndef  TVP_SYSTEM_DOT_H_IS_DEFINED
#define  TVP_SYSTEM_DOT_H_IS_DEFINED

/********************************************************************* 
*    Property of Texas Instruments Incorporated, Copyright 2004
*    All rights reserved
**********************************************************************/
/*****************************************************************************
*
* Description:
*  TvpSystem.h contains defines for the system functions
*
******************************************************************************
* $Revision: $   
*
* $History: TvpSystem.h $    
* 
******************************************************************************/

#define TVP_T_BIT             0x00000020        // 1 = thumb 0 = arm state bit
#define TVP_SYS_EVENT_MAX     0x04              // maximum event range

#define TVP_UNDEF_MASK        0x80000000        // 1 = no aborts generated
                                                // 0 = all aborts
#define TVP_SAVE_ALL_MASK     0x40000000        // 1 = save all undef assertions
                                                // 0 = save the 1st undef assertions


/*--------------------------**
** SW Reset bit definitions **
**--------------------------*/
#define TVP_RESET_AD        (0x1<<0)      // Audio Decoder
#define TVP_RESET_AO        (0x1<<1)      // Audio Output Controller
#define TVP_RESET_BB        (0x1<<2)      // Bitblt
#define TVP_RESET_BG        (0x1<<3)      // Background module
#define TVP_RESET_DM        (0x1<<4)      // DMA module
#define TVP_RESET_DP        (0x1<<5)      // Display Processor
#define TVP_RESET_MI        (0x1<<6)      // Memory Interface
#define TVP_RESET_NV        (0x1<<7)      // NV module
#define TVP_RESET_PS        (0x1<<8)      // PES Parser module
#define TVP_RESET_VD        (0x1<<9)      // Video Display module
#define TVP_RESET_TPP       (0x1<<10)     // Transport Packet Processor module
#define TVP_RESET_OSD       (0x1<<11)     // On Screen Display module
#define TVP_RESET_CCP       (0x1<<12)     // Communication Co-Processor modules

typedef unsigned long TvpSysUndef;              // system undefined access


#define TVP_VID_RESET_TASK_ID   1

// prototypes
#ifdef __cplusplus
extern "C" {
#endif


// exception handlers

unsigned long *cUdfHandler (unsigned long *, unsigned long );
void tvpSysResetSet (unsigned long set);
void tvpSysResetClear (unsigned long clear);
unsigned long tvpSysResetStatus (void);
void tvpSysGlobalMemoryAddrSet (void *ptr);

void tvpSysOsSleep (unsigned long taskId);

#ifdef __cplusplus
};
#endif


#endif

⌨️ 快捷键说明

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