?? fpgainc.h
字號:
#ifndef __FPGAINC_H
#define __FPGAINC_H
#define X_PORTA (*(volatile unsigned char *)0x1100)
#define X_DDRA (*(volatile unsigned char *)0x1101)
#define X_SETA (*(volatile unsigned char *)0x1102)
#define X_CLRA (*(volatile unsigned char *)0x1103)
#define X_PORTB (*(volatile unsigned char *)0x2200)
#define X_DDRB (*(volatile unsigned char *)0x2201)
#define X_SETB (*(volatile unsigned char *)0x2202)
#define X_CLRB (*(volatile unsigned char *)0x2203)
/*
* 定義FPGA配置的UART寄存器地址映射
*/
#define FPGA_UDR (*(volatile unsigned char *)0x1200)
#define FPGA_UCSRA (*(volatile unsigned char *)0x1201)
#define FPGA_UCSRB (*(volatile unsigned char *)0x1202)
#define FPGA_UCSRC (*(volatile unsigned char *)0x1203)
#define FPGA_UBRRH (*(volatile unsigned char *)0x1204)
#define FPGA_UBRRL (*(volatile unsigned char *)0x1205)
#endif // #ifndef __FPGAINC_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -