IRPyro messaging application
Communications program between IRPyro and IRPyro evaluation tool
main IRPyro messaging application
Collaboration diagram for main IRPyro messaging application:

Functions

static void callback_setup ()
 assigns read and status functions interrupts More...
 
static void demo_board_sensor_control (int state)
 Changes the state of all the CS lines as used on the IRPyro backplane board. More...
 
static void eevt (MainState_type state)
 IRPyro evaluation tool state machine. More...
 
static void fn_apply_parameters (void)
 changes parameters from one or more sensors More...
 
static void fn_command_decode (void)
 
static void fn_contact_gui (void)
 changes parameters from one or more sensors More...
 
static void fn_eevt_initialize (void)
 Initializes board and populates sensors. More...
 
static void fn_emitter_control (void)
 configures and control the emitter More...
 
static void fn_sampling_data_get (void)
 Sends collected data from configured sensors. More...
 
static void IRPyro_sensor_population (IRPyro_devices this_list, uint8_t *list_size)
 Detect IRPyro sensors present in the demo board. More...
 
int main (void)
 point of entry for the evaluation tool software More...
 
static void sensor_configuration (IRPyro_devices this_list)
 sensor array population More...
 
static void sensor_power_stabilize ()
 power cycles the sensors on the board to assure stability More...
 

Variables

uint8_t cmd_decoded = 0
 decodes a command from the USART. More...
 
uint8_t sensor_destination = 0
 

Detailed Description

Function Documentation

◆ callback_setup()

static void callback_setup ( )
static

assigns read and status functions interrupts

Definition at line 267 of file main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ demo_board_sensor_control()

static void demo_board_sensor_control ( int  state)
static

Changes the state of all the CS lines as used on the IRPyro backplane board.

Parameters
state0 off / 1 on

Definition at line 245 of file main.c.

Here is the caller graph for this function:

◆ eevt()

static void eevt ( MainState_type  state)
static

IRPyro evaluation tool state machine.

Parameters
stateindicates next state in the machine

Definition at line 347 of file main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fn_apply_parameters()

static void fn_apply_parameters ( void  )
static

changes parameters from one or more sensors

Definition at line 322 of file main.c.

Here is the caller graph for this function:

◆ fn_command_decode()

static void fn_command_decode ( void  )
static

Definition at line 298 of file main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fn_contact_gui()

static void fn_contact_gui ( void  )
static

changes parameters from one or more sensors

Definition at line 331 of file main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fn_eevt_initialize()

static void fn_eevt_initialize ( void  )
static

Initializes board and populates sensors.

Definition at line 276 of file main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fn_emitter_control()

static void fn_emitter_control ( void  )
static

configures and control the emitter

Definition at line 339 of file main.c.

Here is the caller graph for this function:

◆ fn_sampling_data_get()

static void fn_sampling_data_get ( void  )
static

Sends collected data from configured sensors.

Definition at line 312 of file main.c.

Here is the caller graph for this function:

◆ IRPyro_sensor_population()

static void IRPyro_sensor_population ( IRPyro_devices  this_list,
uint8_t *  list_size 
)
static

Detect IRPyro sensors present in the demo board.

Parameters
this_listIRPyro sensor array
list_sizenumber of sensors in the array

Definition at line 206 of file main.c.

Here is the caller graph for this function:

◆ main()

int main ( void  )

point of entry for the evaluation tool software

Definition at line 99 of file main.c.

Here is the call graph for this function:

◆ sensor_configuration()

static void sensor_configuration ( IRPyro_devices  this_list)
static

sensor array population

Definition at line 109 of file main.c.

Here is the caller graph for this function:

◆ sensor_power_stabilize()

static void sensor_power_stabilize ( )
static

power cycles the sensors on the board to assure stability

Definition at line 255 of file main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ cmd_decoded

uint8_t cmd_decoded = 0

decodes a command from the USART.

Definition at line 296 of file main.c.

◆ sensor_destination

uint8_t sensor_destination = 0

Definition at line 297 of file main.c.