herunterladen

Atmel AVR4016: Sensors Xplained Software
User Guide
Features
• Hardware-independent C language interfaces for sensor devices
• Conversion to standard units for all measurements
• Drivers for a variety of sensor types
• Easy-to-use configuration and initialization
1 Introduction
This application note is an introduction to the Common Sensors Service in the
Atmel
®
AVR
®
Software Framework (ASF). The Sensors Xplained software consists
of a high-level, C/C++ application programming interface (API) and binary driver
libraries for sensor devices on systems built around 8-bit and 32-bit Atmel AVR
XMEGA
®
and Atmel AVR UC3 microcontrollers. ASF board support modules for
the Atmel AVR Xplained MCU evaluation kits and Sensors Xplained add-on boards
(“top modules”) include configuration constants and runtime initialization calls that
allow developers to pair AVR microcontrollers with different combinations of
sensors on Sensors Xplained boards, and retarget standalone applications with
little or no modification to the application source code. Demonstration projects
included with the Sensors Xplained software illustrate how to bring together the
sensor API, libraries, board support modules, ASF drivers, and configuration
constants to build standalone applications.
Figure 1-1. Example Sensors Xplained add-on board.
Atmel
Microcontrollers
Application Note
Rev. 8367B-AVR-06/11