?? dec2812.h
字號:
#ifndef _register
#define _register
/*RTC registers*/
volatile unsigned int * sdata_direct = (unsigned int *) 0x2060;
volatile unsigned int * sclk_direct = (unsigned int *) 0x2058;
volatile unsigned int * sdata = (unsigned int *) 0x2050;
volatile unsigned int * sclk = (unsigned int *) 0x2048;
volatile unsigned int * sdata_in = (unsigned int *) 0x2030;
volatile unsigned int * USB_Command = (unsigned int *) 0x2004;
volatile unsigned int * USB_StatusRead = (unsigned int *) 0x2020;
#endif
#ifndef _rtc_func
#define _rtc_func
void USB_Command_Write(unsigned int Value);
unsigned int USB_Command_Read(void);
unsigned short SX2_CommandWriteByte(unsigned int Value);
unsigned short SX2_Read(unsigned int addr,unsigned int *data);
unsigned short SX2_Write(unsigned int addr,unsigned int value);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -