📄 usb_req.pp
字号:
/******************************************************************************/
/* Copyright (C) 2001 Texas Instruments, Inc. All Rights Reserved. */
/* */
/* File Name : usb_req.c */
/* Project : TMS320VC5509 USB Module Support */
/* Author : C5000 H/W Applications */
/* */
/* Version : 0.1 */
/* Date : 30 Apr 2001 */
/* Updated : */
/* */
/* Description : USB Chapter 9 standard device request handlers. */
/* Users can expand the USB request handling capabilities by */
/* adding new members in the USB request table and supplying */
/* associated request handler routines. */
/* */
/******************************************************************************/
/*****************************************************************************/
/* string.h v2.00 */
/* Copyright (c) 1993-2001 Texas Instruments Incorporated */
/*****************************************************************************/
typedef unsigned size_t;
/*****************************************************************************/
/* linkage.h v2.00 */
/* Copyright (c) 1998-2001 Texas Instruments Incorporated */
/*****************************************************************************/
/* No modifiers are needed to access code or data */
/*--------------------------------------------------------------------------*/
/* Define _IDECL ==> how inline functions are declared */
/*--------------------------------------------------------------------------*/
size_t strlen(const char *_string);
char *strcpy(char *_dest, const char *_src);
char *strncpy(char *_to, const char *_from, size_t _n);
char *strcat(char *_string1, const char *_string2);
char *strncat(char *_to, const char *_from, size_t _n);
char *strchr(const char *_string, int _c);
char *strrchr(const char *_string, int _c);
int strcmp(const char *_string1, const char *_string2);
int strncmp(const char *_string1, const char *_string2, size_t _n);
int strcoll(const char *_string1, const char *_string2);
size_t strxfrm(char *_to, const char *_from, size_t _n);
char *strpbrk(const char *_string, const char *_chs);
size_t strspn(const char *_string, const char *_chs);
size_t strcspn(const char *_string, const char *_chs);
char *strstr(const char *_string1, const char *_string2);
char *strtok(char *_str1, const char *_str2);
char *strerror(int _errno);
void *memmove(void *_s1, const void *_s2, size_t _n);
void *memcpy(void *_s1, const void *_s2, size_t _n);
int memcmp(const void *_cs, const void *_ct, size_t _n);
void *memchr(const void *_cs, int _c, size_t _n);
void *memset(void *_mem, int _ch, size_t _n);
/******************************************************************************/
/* $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
\****************************************/
/******************************************************************************* 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
\*============================================================================*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -