56 #define _CLI() do { __asm__ __volatile__ ("cli"); } while (0)
57 #define _SEI() do { __asm__ __volatile__ ("sei"); } while (0)
58 #define _NOP() do { __asm__ __volatile__ ("nop"); } while (0)
59 #define _WDR() do { __asm__ __volatile__ ("wdr"); } while (0)
60 #define _SLEEP() do { __asm__ __volatile__ ("sleep"); } while (0)
61 #define _OPC(op) do { __asm__ __volatile__ (".word %0" : : "n" (op)); } while (0)
65 #define _LPM(x) do { __LPM(x); } while (0)
66 #define _ELPM(x) do { __ELPM(x); } while (0)
69 #include <avr/eeprom.h>
71 #define input(port) (port)
72 #define output(port, val) do { (port) = (val); } while (0)
74 #define __inp_blk__(port, addr, cnt, op) do { \
75 unsigned char __i = (cnt); \
76 unsigned char *__addr = (addr); \
78 *(__addr op) = input(port); \
83 #define input_block_inc(port, addr, cnt) __inp_blk__(port, addr, cnt, ++)
84 #define input_block_dec(port, addr, cnt) __inp_blk__(port, addr, cnt, --)
86 #define __out_blk__(port, addr, cnt, op) do { \
87 unsigned char __i = (cnt); \
88 const unsigned char *__addr = (addr); \
90 output(port, *(__addr op)); \
95 #define output_block_inc(port, addr, cnt) __out_blk__(port, addr, cnt, ++)
96 #define output_block_dec(port, addr, cnt) __out_blk__(port, addr, cnt, --)
Automatically generated by Doxygen 1.8.7 on Tue Jul 8 2014. Dash Docset conversion by Matt Kane