mos/dev/include/mica2-magnet.h File Reference

Integrated magnetometer sensor for the mica2. More...

Go to the source code of this file.

Defines

#define MAGNET_PORT_DIRE   DDRC
#define MAGNET_PORT   PORTC
#define MAGNET_PIN_MASK   0x10

Functions

void mica2_magnet_init ()
 Init the mica2 magnetometer sensor.


Detailed Description

This driver registers with the dev layer as two different devs, but they are intertwined in hardware so we implement it in one file.
Author:
Charles Gruenwald III
Date:
04/22/2004

Definition in file mica2-magnet.h.


Generated on Mon Nov 23 06:25:59 2009 for MANTIS by  doxygen 1.4.6