CMSIS2000  0.0.7
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
iArch.h File Reference

This file is used define macroses for AVR arch. More...

Go to the source code of this file.

Macros

#define avr_mega_number   __AVR_ARCH__
#define i_ARCH   AVR_MEGA
#define i_MCU_FAMILY_CHECK2(current_fam, test_famh)   (i_MCU_FAMILY_CHECK3(test_famh) == 51)
#define i_MCU_FAMILY_CHECK3(a)   a##_number
#define i_MCU_MODEL_CHECK2(current_model, test_model)   (test_model > 0)
#define iarch   char
 MCU Architecture type.
#define iarch_power_of_two   3
 The power of two for iArch.
#define iSTACK_DELTA   (iSTACK_DIRECTION*sizeof(iStack_t))
 The size of changing stack for one PUSH/POP operation.
#define iSTACK_DIRECTION   (-1)
 The architecture stack growth direction.
#define iStack_t   unsigned iarch
 Architecture stack type.
#define portZERO_CLOCK_DIV0   0
 *At mega 128 Clock prescalers
#define portZERO_CLOCK_DIV1   (1)
#define portZERO_CLOCK_DIV1024   (1024)
#define portZERO_CLOCK_DIV256   (256)
#define portZERO_CLOCK_DIV64   (64)
#define portZERO_CLOCK_DIV8   (8)
#define sizeof_iarch   1
 The size of main architecture type.

Detailed Description

This file is used define macroses for AVR arch.

Definition in file iArch.h.

Macro Definition Documentation

#define avr_mega_number   __AVR_ARCH__

Definition at line 127 of file iArch.h.

#define i_MCU_FAMILY_CHECK2 (   current_fam,
  test_famh 
)    (i_MCU_FAMILY_CHECK3(test_famh) == 51)

Definition at line 129 of file iArch.h.

#define i_MCU_FAMILY_CHECK3 (   a)    a##_number

Definition at line 128 of file iArch.h.

#define i_MCU_MODEL_CHECK2 (   current_model,
  test_model 
)    (test_model > 0)

Definition at line 131 of file iArch.h.