43 #ifndef HMC5843_NO_IRQ
44 #include "peripherals/hmc5843_arch.h"
55 #define HMC5843_ADDR 0x3C
58 #define HMC5843_REG_CFGA 0x00
59 #define HMC5843_REG_CFGB 0x01
60 #define HMC5843_REG_MODE 0x02
61 #define HMC5843_REG_DATXM 0x03
62 #define HMC5843_REG_DATXL 0x04
63 #define HMC5843_REG_DATYM 0x05
64 #define HMC5843_REG_DATYL 0x06
65 #define HMC5843_REG_DATZM 0x07
66 #define HMC5843_REG_DATZL 0x08
67 #define HMC5843_REG_STATUS 0x09
68 #define HMC5843_REG_IDA 0x0A
69 #define HMC5843_REG_IDB 0x0B
70 #define HMC5843_REG_IDC 0x0C
void hmc5843_periodic(void)
void hmc5843_idle_task(void)
struct i2c_transaction i2c_trans
void hmc5843_arch_init(void)
I2C transaction structure.
void hmc5843_arch_reset(void)
Architecture independent I2C (Inter-Integrated Circuit Bus) API.