Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
ir_mlx.h File Reference
#include "std.h"
+ Include dependency graph for ir_mlx.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MLX90614_TA   0x06
 
#define MLX90614_TOBJ   0x07
 
#define MLX90614_SADR   0x2E
 
#define MLX90614_ID_0   0x3C
 
#define MLX90614_ID_1   0x3D
 
#define MLX90614_ID_2   0x3E
 
#define MLX90614_ID_3   0x3F
 

Enumerations

enum  mlx_type {
  IR_MLX_ADDR_CHANGE, IR_MLX_ADDR_ERASE, IR_MLX_ADDR_SET, IR_MLX_UNINIT,
  IR_MLX_RD_ID_0, IR_MLX_RD_ID_1, IR_MLX_RD_ID_2, IR_MLX_RD_ID_3,
  IR_MLX_IDLE, IR_MLX_RD_CASE_TEMP, IR_MLX_RD_OBJ_TEMP
}
 

Functions

void ir_mlx_crc (unsigned char addr, volatile unsigned char *data)
 
void ir_mlx_init (void)
 
void ir_mlx_periodic (void)
 
void ir_mlx_event (void)
 

Macro Definition Documentation

◆ MLX90614_ID_0

#define MLX90614_ID_0   0x3C

Definition at line 9 of file ir_mlx.h.

◆ MLX90614_ID_1

#define MLX90614_ID_1   0x3D

Definition at line 10 of file ir_mlx.h.

◆ MLX90614_ID_2

#define MLX90614_ID_2   0x3E

Definition at line 11 of file ir_mlx.h.

◆ MLX90614_ID_3

#define MLX90614_ID_3   0x3F

Definition at line 12 of file ir_mlx.h.

◆ MLX90614_SADR

#define MLX90614_SADR   0x2E

Definition at line 8 of file ir_mlx.h.

◆ MLX90614_TA

#define MLX90614_TA   0x06

Definition at line 6 of file ir_mlx.h.

◆ MLX90614_TOBJ

#define MLX90614_TOBJ   0x07

Definition at line 7 of file ir_mlx.h.

Enumeration Type Documentation

◆ mlx_type

enum mlx_type
Enumerator
IR_MLX_ADDR_CHANGE 
IR_MLX_ADDR_ERASE 
IR_MLX_ADDR_SET 
IR_MLX_UNINIT 
IR_MLX_RD_ID_0 
IR_MLX_RD_ID_1 
IR_MLX_RD_ID_2 
IR_MLX_RD_ID_3 
IR_MLX_IDLE 
IR_MLX_RD_CASE_TEMP 
IR_MLX_RD_OBJ_TEMP 

Definition at line 14 of file ir_mlx.h.

Function Documentation

◆ ir_mlx_crc()

void ir_mlx_crc ( unsigned char  addr,
volatile unsigned char *  data 
)

Definition at line 63 of file ir_mlx.c.

References crc.

Referenced by ir_mlx_periodic().

+ Here is the caller graph for this function:

◆ ir_mlx_event()

◆ ir_mlx_init()

void ir_mlx_init ( void  )

Definition at line 83 of file ir_mlx.c.

References IR_MLX_ADDR_CHANGE, ir_mlx_status, and IR_MLX_UNINIT.

◆ ir_mlx_periodic()