Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
ir_mlx.h
Go to the documentation of this file.
1 #ifndef IR_MLX_H
2 #define IR_MLX_H
3 
4 #include "std.h"
5 
6 #define MLX90614_TA 0x06
7 #define MLX90614_TOBJ 0x07
8 #define MLX90614_SADR 0x2E
9 #define MLX90614_ID_0 0x3C
10 #define MLX90614_ID_1 0x3D
11 #define MLX90614_ID_2 0x3E
12 #define MLX90614_ID_3 0x3F
13 
14 enum mlx_type {
26 };
27 
28 void ir_mlx_crc(unsigned char addr, volatile unsigned char *data);
29 void ir_mlx_init(void);
30 void ir_mlx_periodic(void);
31 void ir_mlx_event(void);
32 
33 #endif
void ir_mlx_event(void)
Definition: ir_mlx.c:138
void ir_mlx_periodic(void)
Definition: ir_mlx.c:94
void ir_mlx_init(void)
Definition: ir_mlx.c:83
mlx_type
Definition: ir_mlx.h:14
@ IR_MLX_ADDR_ERASE
Definition: ir_mlx.h:16
@ IR_MLX_RD_ID_0
Definition: ir_mlx.h:19
@ IR_MLX_ADDR_CHANGE
Definition: ir_mlx.h:15
@ IR_MLX_RD_ID_1
Definition: ir_mlx.h:20
@ IR_MLX_RD_OBJ_TEMP
Definition: ir_mlx.h:25
@ IR_MLX_UNINIT
Definition: ir_mlx.h:18
@ IR_MLX_ADDR_SET
Definition: ir_mlx.h:17
@ IR_MLX_RD_CASE_TEMP
Definition: ir_mlx.h:24
@ IR_MLX_RD_ID_3
Definition: ir_mlx.h:22
@ IR_MLX_RD_ID_2
Definition: ir_mlx.h:21
@ IR_MLX_IDLE
Definition: ir_mlx.h:23
void ir_mlx_crc(unsigned char addr, volatile unsigned char *data)
Definition: ir_mlx.c:63