jc5xx.h

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

H
39
字号
/*********************************************************************
*       (C) COPYRIGHT TEXAS INSTRUMENTS, INC. 1996                   *
**********************************************************************/
/* jc5xx.h
 * 'C54x EVM JPEG Compression
 * This file contains all definitions needed by the host-EVM interface
 * for JPEG compression.
 *
 * Kamal Swamidoss
 * 18 June 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 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 + -
显示快捷键?