900,000+ datasheet pdf search and download

Datasheet4U offers most rated semiconductors data sheet pdf




Atmel Electronic Components Datasheet

AVR32000 Datasheet

32-bit Microcontrollers

No Preview Available !

AVR32000: Introduction to AVR32 header files
Features
Register and Bit-Name Definitions
Use of Bit-field and Bit-mask
Use of type definitions
Use of Macros
Deviance Between Hardware Registers and Header Register Naming
32-bit
Microcontrollers
1 Introduction
The purpose of this application note is to give new users a basic introduction to the
header files for AVR®32 microcontrollers. The usage of I/O registers, bit-names
and module type definitions. It will also cover more advanced usage of the header
files like the I/O modules structures. This application note is specific for IAR
Systems® AVR32 compiler and GNU GCC for AVR32 compiler.
www.DataSheet4U.com
Rev. 32005A-AVR32-05/06


Atmel Electronic Components Datasheet

AVR32000 Datasheet

32-bit Microcontrollers

No Preview Available !

2 Register and Bit-Name Definitions
The header files for AVR32 are split into many small files. One header file defines the
core and one header file defines each module. This eases the portability of the code
to other devices because the source code does not have to know which version of a
module is used in a specific device, the only necessary include is the unique device
header file.
All code, which includes a device module, must start by including the io header file for
the AVR32 devices. The io header file for devices uses the following convention:
avr32/io.h
The io.h header file knows the target device by a flag passed to the compiler.
Within the io.h file the devices and their specific header file are included, which
includes and defines all modules available for the target device. This eases the users
need to know what the include file for a specific module is named, since all defines for
a module are present by including a single general header file.
Registers are named as they are given in the datasheet, and extended with a defined
prefix. Naming of registers use the following convention:
AVR32_<module name>_<register name>
Example for USART control register:
AVR32_USART_CR
Bit-field names are named as they are given in the datasheet including a prefix.
Naming of bit-fields use the following convention:
AVR32_<module name>_<register name>_<bit-field name>
Example for USART transceiver enable in the control register:
AVR32_USART_CR_TXEN
The offset and mask of a bit-field name in a register is also available with a more
explained define. Naming of bit-field offsets and masks use the following convention:
AVR32_<module name>_<register name>_<bit-field name>_OFFSET
AVR32_<module name>_<register name>_<bit-field name>_MASK
Example for USART transceiver enable in the control register:
AVR32_USART_CR_TXEN_OFFSET
AVR32_USART_CR_TXEN_MASK
For reducing code text size it is possible to use abbreviated bit-field names. If the bit-
field name is unique and all values with that name are the same for all registers, the
register name is dropped in the definition of the bit-field name.
2 AVR32000
32005A-AVR32-05/06


Part Number AVR32000
Description 32-bit Microcontrollers
Maker ATMEL Corporation
PDF Download

AVR32000 Datasheet PDF






Similar Datasheet

1 AVR32000 32-bit Microcontrollers
ATMEL Corporation





Part Number Start With

0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F    G    H    I    J    K    L    M    N    O    P    Q    R    S    T    U    V    W    X    Y    Z



Site map

Webmaste! click here

Contact us

Buy Components

Privacy Policy