uCmaskFile.h File Reference

Contains all needed macros masking port, registers etc. for masking architecture differences.
. More...

#include <avr/io.h>
#include <avr/interrupt.h>
#include "config.h"

Go to the source code of this file.

Defines

Configuration file
#define USE_AT90USB1287   1
#define MICROCONTROLLER   USE_AT90USB1287

Detailed Description

Contains all needed macros masking port, registers etc. for masking architecture differences.
.

This file consists of macros of registers and addresses of used microcontroller family.
Depending on microcontroller family software aplication designer is asked to adjust
preprocessor directives #define. Before that designer HAS TO check whether proper header file
with register addresses and all needed other stuff was included (look at section Includes).
This file should be included whether by programming application or by a designer by hand.
Such a solution increases portability of implemented libraries for PDCP, because of need
to change data only inside this file and whole interface should work properly.

This file was filled with macros for AT90USB1287 (AVR platform)!

In case of processor change aplication designer has to be aware of the need of refreshing data
in this file. It can be associated with some more serious changes in this code below.

APPLICATION DESIGNER IS STRONGLY RECOMMENDED NOT TO CHANGE ANYTHING ELSE
INSIDE OF OTHER PDCP FILES

Author:
Andrzej Zamojski
NTNU in Trondheim (NORWAY)
TU of Lodz (POLAND)
Date:
1 VI 2012

Define Documentation

#define USE_AT90USB1287   1

Decide whether use or not use AVR library

 All Classes Files Functions Enumerations Enumerator Defines