AVR Z-LINKŪ


Transceiver Access Toolbox

Atmel AVR Application Notes

Introduction

The Transceiver Access Toolbox is implemented as an easy-to-use library that covers most of the functionality provided by the AT86RF230 radio transceiver. The library is completely written in the C programming language.

MISRA Compliance

The Transceiver Access Toolbox is MISRA Compliant to the required rule set, with the following exceptions:
  1. Rule 1: No compiler extensions allowed. Comment: Not possible to meet, since we are on an embedded target where interrupts are needed.
  2. Rule 37: Bitwise operations is not allowed on signed integer types. Comment: This is an error in the MISRA parser, since no singned variable is used. Problem seams to be in stdint.h.
  3. Rule 54: Null statement can only be on a line by itself. Comment: Triggered by the AVR_ENTER_CRITICAL_REGION macro. This macro can be written out so that the error goes away. The macro is only used for convenience.
  4. Rule 71: No prototype seen. Comment: This error orginates from how interrupt handlers are implemented in IAR.
  5. Rule 96: Function like macro shall be enclosed in parenthesis. Comment: Triggered by the AVR_ENTER_CRITICAL_REGION macro. This macro can be written out so that the error goes away. The macro is only used for convenience and readability of the code.
  6. Rule 109: Usage of unions. MISRA does not allow overlapping storage.

Compile Options

  1. F_CPU: The clock speed of the CPU must be defined. The current implementation supports 1, 4, 8 and 16 MHz operation. Example: # define F_CPU=8000000UL
  2. ARCHITECTURE: Only the AVR is currently supported. Example: # define AVR
@DOC_TITLE@
Generated on Wed Jul 11 18:16:31 2007 for AVR2001 AT86RF230 Software Programmer's Manual by doxygen 1.4.7