Go to the documentation of this file.
43 #ifndef _iPORT_ARCH_H_
44 #define _iPORT_ARCH_H_ 1
47 #define i_ARCH AVR_MEGA
74 #define sizeof_iarch 1
85 #define iarch_power_of_two 3
97 #define iStack_t unsigned iarch
104 #define iSTACK_DIRECTION (-1)
111 #define iSTACK_DELTA (iSTACK_DIRECTION*sizeof(iStack_t))
119 #define portZERO_CLOCK_DIV0 0
120 #define portZERO_CLOCK_DIV1 (1)
121 #define portZERO_CLOCK_DIV8 (8)
122 #define portZERO_CLOCK_DIV64 (64)
123 #define portZERO_CLOCK_DIV256 (256)
124 #define portZERO_CLOCK_DIV1024 (1024)
127 #define avr_mega_number __AVR_ARCH__
128 #define i_MCU_FAMILY_CHECK3(a) a##_number
129 #define i_MCU_FAMILY_CHECK2(current_fam,test_famh) (i_MCU_FAMILY_CHECK3(test_famh) == 51)
131 #define i_MCU_MODEL_CHECK2(current_model,test_model) (test_model > 0)