jd5xx.h

来自「EVM板JPEG实现,Texas Instruments TMS320C54x 」· C头文件 代码 · 共 46 行

H
46
字号
/*********************************************************************
*       (C) COPYRIGHT TEXAS INSTRUMENTS, INC. 1996                   *
**********************************************************************/
/* jd5xx.h
 * 'C54x EVM JPEG Decompression - Header File.
 * This file contains all definitions needed by the host-target interface
 * for JPEG decompression.
 *
 * Kamal Swamidoss
 * Texas Instruments
 * 4 July 1996
 */

#define ERR0  0x0000
#define ERR1  0x0100
#define ERR2  0x0200
#define ERR3  0x0300
#define ERR4  0x0400
#define ERR5  0x0500
#define ERR6  0x0600
#define ERR7  0x0700
#define ERR8  0x0800
#define ERR9  0x0900
#define ERR10 0x1000
#define ERR11 0x1100
#define ERR12 0x1200
#define ERR13 0x1300
#define DONE  0x0A00
#define ACK   0x0B00    /* acknowledge              */
#define NOMEM 0x0C00    /* out of memory            */
#define SND   0x0D00
#define RCV   0x0E00

/* Host exit codes. 0 indicates normal exit. */

#define EXIT_ERR       1    /* error exit              */
#define EXIT_VOL       2    /* voluntary exit by user  */
#define EXIT_EOF       3    /* exit by end-of-file     */

/* AXST and ARST are in the host control register and the target
 * control register. They are complementary on the machines.
 */

#define AXST      0x0001    /* channel A transmit status bit         */
#define ARST      0x0002    /* channel A receive  status bit         */

⌨️ 快捷键说明

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