|
最近刚学习DE1,在做到Qsys和HPS时,有些eclipse得c程序不是很懂,想问问大神们应该学习C语言的那几个方面
[code]#include
#include
#include "seg7.h"
#include "hwlib.h"
#include "socal/socal.h"
#include "socal/hps.h"
#include "socal/alt_gpio.h"
extern volatile unsigned long *h2p_lw_hex_addr;
#define SEG7_SET(index, seg_mask) alt_write_word(h2p_lw_hex_addr+index,seg_mask)
#define SEG7_NUM 6
define SEG7_SET(index, seg_mask) alt_write_word(h2p_lw_hex_addr+index,seg_mask)像这种定义的文件
|
|