Subversion Repositories NaviCtrl

Rev

Rev 426 | Rev 470 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 426 Rev 465
Line 1... Line 1...
1
#ifndef __NCMAG_H
1
#ifndef __NCMAG_H
2
#define __NCMAG_H
2
#define __NCMAG_H
Line 3... Line 3...
3
 
3
 
-
 
4
#include "compass.h" 
Line 4... Line 5...
4
#include "compass.h" 
5
#include "i2c.h"
5
 
6
 
Line 6... Line 7...
6
extern s16vec_t ACC_Vector;
7
extern s16vec_t ACC_Vector;
7
extern volatile s16vec_t MagRawVector;
8
extern volatile s16vec_t MagRawVector;
8
 
9
 
9
u8 NCMAG_Init(void);
10
u8 NCMAG_Init(void);
Line -... Line 11...
-
 
11
void NCMAG_Update(void);
-
 
12
extern u8 NCMAG_Present;
-
 
13
extern u8 NCMAG_IsCalibrated;
-
 
14
 
-
 
15
 
-
 
16
extern u8 *I2C_BufferPnt;
-
 
17
extern u8 *I2C_ErrorPnt;
-
 
18
 
10
void NCMAG_Update(void);
19
typedef u8 (*I2C_TransmissionFunc_t) (u8 SlaveAddr, u8 TxBytes, I2C_pRxHandler_t pRxHandler, u8 RxBytes);