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

📄 usbmain.pp

📁 在CCS开发环境下的DSP 5509A的固件程序
💻 PP
📖 第 1 页 / 共 5 页
字号:
/******************************************************************************/
/* Copyright (C) 2001  Texas Instruments, Inc.  All Rights Reserved.          */
/*                                                                            */
/*	File Name   : usbmain.c                                                   */
/*  Project     : TMS320VC5509 USB Module Support                             */
/*	Author	    : C5000 H/W Applications                                      */
/*                                                                            */
/*	Version     : 0.1                                                         */
/*                                                                            */
/*	Description : Main routine for 5509 USB demo application                  */
/*                Details description of the code execution flow is included  */
/*                in the readme.txt file                                      */ 
/*                                                                            */
/*	Created on  : 30 Apr 2001                                                 */
/*                                                                            */
/* 	Updates	    :                                                             */
/*                                                                            */
/*  17 May 2001 $MH$                                                          */
/*  Added isochronous and host dma features                                   */
/*                                                                            */
/*  18 Jul 2001 $MH$                                                          */
/*  Replaced USB_setParams with USB_init API                                  */
/*                                                                            */
/*  28 Sep 2001 $MH$                                                          */
/*  Added USB_ISR                                                             */
/*                                                                            */
/******************************************************************************/

/*******************************************************************************           Copyright (C) 1999 Texas Instruments Incorporated.
*                           All Rights Reserved
*------------------------------------------------------------------------------
* MODULE.NAME... HCFG - HAL configuration module
* FILENAME...... csl_std.h
* DATE CREATED.. 03/11/1999 
* PROJECT....... CSL - Chip Support Library
* COMPONENT..... HAL
* IMPORTS....... 
*------------------------------------------------------------------------------
* HISTORY:
*   CREATED:       03/11/1999 
*   MODIFIED:      05/04/1999 modified for c54x
*   MODIFIED:      06/19/2000
*   MODIFIED:      07/13/2000 modified for c5510
*   LAST MODIFIED: 03/23/2001 modified to redefine type that conflict with BIOS
*   LAST MODIFIED: 04/16/2001 updated FILENAME and other header comments
*------------------------------------------------------------------------------
* DESCRIPTION:  (CHIP memory mapped register definitions)
*
*
*
\******************************************************************************/



/***************************************** STDINC macro declarations
\****************************************/


/* invalid pointer */

/* useful macros for declaring peripheral registers */


/***************************************** STDINC macrso for enabling/disabling   
* interrupts
\****************************************/



/***************************************** STDINC typedef declarations
\****************************************/

typedef unsigned char	Uchar;
typedef unsigned short	Uint16;
typedef unsigned long 	Uint32;
typedef short		Int16;
typedef long		Int32;
typedef void *          Handle;

/* BIOS already has Def of Bool, Char, Int , Uint */

typedef unsigned short  CSLBool;
typedef int  CSLInt;
typedef char CSLChar;
typedef unsigned int CSLUint;






/***************************************** STDINC variable declarations
\****************************************/
// Note in Large Model CSL_DATA_PTR takes up location 7A & 7B


/***************************************** STDINC generic macro declarations
\****************************************/

 /*============================================================================* * register bit manipulation macros
 \*============================================================================*/

  /* memory mapped register macros */





  

  /*============================================================================*  * Peripheral Register bit manipulation macros
  \*============================================================================*/



  /*============================================================================*  * Peripheral register read/write macros
  \*============================================================================*/





 /*===========================================================================* * control register macros 
 \*===========================================================================*/




/******************************************************************************* End of csl_stdinc.h
\******************************************************************************/

/******************************************************************************/
/* $Id: usb_api.h, 03 Dec 2000                                                */
/*                                                                            */
/* This is proprietary information, not to be published -- TI INTERNAL DATA   */
/* Copyright (C) 2001, Texas Instruments, Inc.  All Rights Reserved.          */
/*                                                                            */
/*                                                                            */
/*                                                                            */
/* Author: MH                                                                 */
/*                                                                            */
/* Based on: usb.h by Jason Kridner(IA) and Venkat Raghavan (TI India)        */
/*                                                                            */
/*                                                                            */
/*============================================================================*/
/*                                                                            */
/*                DO NOT MAKE ANY CHANGE TO THIS FILE                         */
/*                                                                            */
/*                                                                            */
/*============================================================================*/
/*                                                                            */
/* Modified last: 15 Jan 2001                                                 */
/*                                                                            */
/*                                                                            */
/******************************************************************************/
 


/***************************************** USB scope and inline control macros
\****************************************/






/******************************************************************************/
/*                                                                            */
/*                                                                            */
/******************************************************************************/



            /************************************************/
            /*                                              */
            /*           Symbolic Constants                 */
            /*                                              */
            /************************************************/
            
            

/******************************************************************************/
/*                                                                            */
/*                          define NULL                                       */
/*                                                                            */
/******************************************************************************/
 

/******************************************************************************/
/*                                                                            */
/*                    USB Data Transfer Flags                                 */
/*                                                                            */
/******************************************************************************/
 
                                         /* packet after a full size packet   */
                                         /* after data recv.                  */                                         

⌨️ 快捷键说明

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