Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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

#define MLX90614_ID_0   0x3C

Definition at line 9 of file ir_mlx.h.

Referenced by ir_mlx_periodic().

#define MLX90614_ID_1   0x3D

Definition at line 10 of file ir_mlx.h.

Referenced by ir_mlx_event().

#define MLX90614_ID_2   0x3E

Definition at line 11 of file ir_mlx.h.

Referenced by ir_mlx_event().

#define MLX90614_ID_3   0x3F

Definition at line 12 of file ir_mlx.h.

Referenced by ir_mlx_event().

#define MLX90614_SADR   0x2E

Definition at line 8 of file ir_mlx.h.

Referenced by ir_mlx_periodic().

#define MLX90614_TA   0x06

Definition at line 6 of file ir_mlx.h.

Referenced by ir_mlx_periodic().

#define MLX90614_TOBJ   0x07

Definition at line 7 of file ir_mlx.h.

Referenced by ir_mlx_event().

Enumeration Type Documentation

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

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:

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.