Paparazzi UAS
v5.18.0_stable
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
{
15
IR_MLX_ADDR_CHANGE
,
16
IR_MLX_ADDR_ERASE
,
17
IR_MLX_ADDR_SET
,
18
IR_MLX_UNINIT
,
19
IR_MLX_RD_ID_0
,
20
IR_MLX_RD_ID_1
,
21
IR_MLX_RD_ID_2
,
22
IR_MLX_RD_ID_3
,
23
IR_MLX_IDLE
,
24
IR_MLX_RD_CASE_TEMP
,
25
IR_MLX_RD_OBJ_TEMP
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
ir_mlx_crc
void ir_mlx_crc(unsigned char addr, volatile unsigned char *data)
Definition:
ir_mlx.c:63
ir_mlx_init
void ir_mlx_init(void)
Definition:
ir_mlx.c:83
IR_MLX_ADDR_ERASE
@ IR_MLX_ADDR_ERASE
Definition:
ir_mlx.h:16
IR_MLX_ADDR_CHANGE
@ IR_MLX_ADDR_CHANGE
Definition:
ir_mlx.h:15
IR_MLX_RD_ID_1
@ IR_MLX_RD_ID_1
Definition:
ir_mlx.h:20
mlx_type
mlx_type
Definition:
ir_mlx.h:14
ir_mlx_periodic
void ir_mlx_periodic(void)
Definition:
ir_mlx.c:94
IR_MLX_UNINIT
@ IR_MLX_UNINIT
Definition:
ir_mlx.h:18
std.h
IR_MLX_ADDR_SET
@ IR_MLX_ADDR_SET
Definition:
ir_mlx.h:17
IR_MLX_RD_ID_2
@ IR_MLX_RD_ID_2
Definition:
ir_mlx.h:21
IR_MLX_RD_CASE_TEMP
@ IR_MLX_RD_CASE_TEMP
Definition:
ir_mlx.h:24
IR_MLX_RD_OBJ_TEMP
@ IR_MLX_RD_OBJ_TEMP
Definition:
ir_mlx.h:25
IR_MLX_RD_ID_0
@ IR_MLX_RD_ID_0
Definition:
ir_mlx.h:19
IR_MLX_IDLE
@ IR_MLX_IDLE
Definition:
ir_mlx.h:23
ir_mlx_event
void ir_mlx_event(void)
Definition:
ir_mlx.c:138
IR_MLX_RD_ID_3
@ IR_MLX_RD_ID_3
Definition:
ir_mlx.h:22
sw
airborne
modules
meteo
ir_mlx.h
Generated on Tue Feb 1 2022 13:51:16 for Paparazzi UAS by
1.8.17