CMSIS2000  0.0.7
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

AVR core port documentation. More...

Collaboration diagram for AVR RISC CPU:


file  iArch.h
 This file is used define macroses for AVR arch.


#define i_ARCH   AVR_MEGA
#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

AVR core port documentation.

AVR RISC port documentation is presented.

Macro Definition Documentation

#define i_ARCH   AVR_MEGA

Definition at line 47 of file iArch.h.

#define iarch   char

MCU Architecture type.

The fastest type. The type of main CPU ALU registers. On 8 bit MCU is char. On 16 bit and 32 bit MCU is int. The analog of int type in C.

Definition at line 64 of file iArch.h.

#define iarch_power_of_two   3

The power of two for iArch.

Definition at line 85 of file iArch.h.

#define iSTACK_DELTA   (iSTACK_DIRECTION*sizeof(iStack_t))

The size of changing stack for one PUSH/POP operation.

Definition at line 111 of file iArch.h.

#define iSTACK_DIRECTION   (-1)

The architecture stack growth direction.

Definition at line 104 of file iArch.h.

#define iStack_t   unsigned iarch

Architecture stack type.

For 8 bit Atmel AVR is char

Definition at line 97 of file iArch.h.

#define portZERO_CLOCK_DIV0   0

*At mega 128 Clock prescalers

Definition at line 119 of file iArch.h.

#define portZERO_CLOCK_DIV1   (1)

Definition at line 120 of file iArch.h.

#define portZERO_CLOCK_DIV1024   (1024)

Definition at line 124 of file iArch.h.

#define portZERO_CLOCK_DIV256   (256)

Definition at line 123 of file iArch.h.

#define portZERO_CLOCK_DIV64   (64)

Definition at line 122 of file iArch.h.

#define portZERO_CLOCK_DIV8   (8)

Definition at line 121 of file iArch.h.

#define sizeof_iarch   1

The size of main architecture type.

Definition at line 74 of file iArch.h.