?? compiler.h
字號:
#ifndef __COMPILER_H__
#define __COMPILER_H__
#ifdef __IMAGECRAFT__
// choose your AVR device here
#include <iom128v.h>
#include <macros.h>
#define outp(val, reg) (reg = val)
#define inp(reg) (reg)
#define cli() CLI()
#define sei() SEI()
#define cbi(reg, bit) (reg &= ~BIT(bit))
#define sbi(reg, bit) (reg |= BIT(bit))
#define SIGNAL(x) void x(void)
#define nop() NOP()
#define _BV(x) (1<<x)
#else /* --- GCC --- */
#include <avr\signal.h>
#include <avr\interrupt.h>
#include <avr\io.h>
#define nop() asm volatile("nop\n\t"::);
#endif /* Compiler Used */
#endif /* __COMPILER_H__ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -