Subversion Repositories NaviCtrl

Rev

Rev 242 | Rev 253 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef __HMC5843_H
#define __HMC5843_H

typedef struct
{
        s16 XRange;
        s16 YRange;
        s16 ZRange;
        s16 XOffset;
        s16 YOffset;
        s16 ZOffset;
}  __attribute__((packed)) HMC5843_Calibration_t;

HMC5843_Calibration_t HMC5843_Calibration;

u8 HMC5843_Init(void);
void HMC5843_UpdateCompass(void);
void HMC5843_ToggleMode(void);

#endif // __HMC5843_H