i2c_compass.c File Reference

#include "i2c_compass.h"
#include "coridium.h"
#include "cor_hwlib.h"
#include "cor_wrflash.h"
#include "string.h"
#include "printf.h"

Go to the source code of this file.

Functions

int getCompassRegisterValue (int i2c_reg)
int initializeCompass (int scl_pin, int sda_pin)
int getCompassHeadingByte ()
int getCompassHeadingWord ()
int getCompassSoftwareVersion ()

Function Documentation

int getCompassHeadingByte (  ) 

Definition at line 24 of file i2c_compass.c.

int getCompassHeadingWord (  ) 

Definition at line 30 of file i2c_compass.c.

int getCompassRegisterValue ( int  i2c_reg  ) 

Definition at line 46 of file i2c_compass.c.

int getCompassSoftwareVersion (  ) 

Definition at line 36 of file i2c_compass.c.

int initializeCompass ( int  scl_pin,
int  sda_pin 
)

Definition at line 13 of file i2c_compass.c.

Generated on Sun Nov 7 03:32:29 2010 for navigation_controller by  doxygen 1.6.3