?? dev.h
字號:
/* Generated 6/2/04 10:17 PM By FastChip Version 3.0 Build 040305-1035 */
/*****************************************************************************
**
** ----------------------------------
** ------ GENERATED CODE --------
** ----------------------------------
** The code in this file was generated automatically for your
** project by Triscend FastChip. Please DO NOT EDIT this file.
** It will be overwritten the next time FastChip generates code
** for your project.
**
******************************************************************************
*/
#define USE_PROJECT_FILE_MACRO
/* ========= CSoC Register Declaration ====== */
/* You must add <FastChip installation>\include */
/* directory to your compiler's include search path */
/* for the next include statement to work. */
#include <triscend_a7.h>
/* ============= BEGIN ACCESS MACRO DEFINITION ============ */
#define TWORD(x) \
(*(volatile unsigned int *)(x))
#define TWORD_ARRAY(x, index) \
(((volatile unsigned int *)(x))[index])
#define TSHORT(x) \
(*(volatile unsigned short *)(x))
#define TSHORT_ARRAY(x, index) \
(((volatile unsigned short *)(x))[index])
#define TBYTE(x) \
(*(volatile unsigned char *)(x))
#define TBYTE_ARRAY(x, index) \
(((volatile unsigned char *)(x))[index])
/* ============== END ACCESS MACRO DEFINITION ============= */
/* ========== BEGIN SOFT MODULE REGISTER DEFINITION ======= */
/* = You can use the following register definition = */
/* = with the access macros defined above. You can = */
/* = also type cast the register definition yourself = */
/* = eg. to access a 4 bytes register 'MyReg' = */
/* = as unsigned int -> TWORD(MyReg)=102; = */
/* = as string -> sprintf((char *)MyReg, "abc"); = */
/* ======================================================== */
#define DMATFTLCD 0x100ffff8 /* size in byte(s) = 4, lane = LANEBA */
#define LCDDATA 0x100fffec /* size in byte(s) = 4, lane = LANEW */
#define SEVEN_SEG_LED_REG 0x100ffffc /* size in byte(s) = 1, lane = LANEB0 */
#define keycontrol 0x100ffff4 /* size in byte(s) = 1, lane = LANEB0 */
#define keystatus 0x100ffff0 /* size in byte(s) = 1, lane = LANEB0 */
#define m_seqcmd 0x100fffe8 /* size in byte(s) = 1, lane = LANEB0 */
/* ========== END SOFT MODULE REGISTER DEFINITION ======= */
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -