IRPyro API unit test console
Functions for single and multiple sensor configurations in a Unit test format
IRPyro_UT.h File Reference
#include "IRPyro_API_multi_device_layer.h"
Include dependency graph for IRPyro_UT.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  IOCTL_test
 Special struct to test IOCTL. More...
 

Macros

#define IRPyro_CCP_SIZE   5
 
#define IRPyro_FIFO_RESET   0x0C
 
#define IRPyro_FIFO_RESET_OK   0X31
 
#define IRPyro_FRAME_COUNT_LOCATION   5
 
#define NUMBER_OF_FRAMES_TO_COUNT   3600000
 
#define TIME_TO_WAIT   3600000
 

Typedefs

typedef struct IOCTL_test IOCTL_test_type
 

Functions

void IRPyro_demo_board (uint8_t value)
 Changes the state of all the CS lines as used on the IRPyro backplane board. More...
 
uint8_t ut01_single_sensor_init (IRPyro_sensor_device_type *IRPyro_TEST_Sensor)
 
uint8_t ut02_multiple_sensor_init (IRPyro_devices this_list, uint8_t list_size)
 
uint8_t ut03_single_sensor_read (IRPyro_sensor_device_type *IRPyro_TEST_Sensor)
 
uint8_t ut04_multiple_sensor_read (IRPyro_devices this_list, uint8_t list_size)
 
uint8_t ut06_IOCTL01 (IRPyro_sensor_device_type *IRPyro_test_Sensor)
 Test of IOCTL functions. More...
 
uint8_t ut06_IOCTL02 (IRPyro_sensor_device_type *IRPyro_test_Sensor)
 
void ut_initialization (IRPyro_sensor_device_type *this_device, IRPyro_devices this_list)
 
void ut_TO_CAN_read (void)
 Single TO-CAN read. More...
 
uint8_t ut_wake_up_event (IRPyro_sensor_device_type *IRPyro_test_Sensor)
 Wake up event. More...
 

Macro Definition Documentation

◆ IRPyro_CCP_SIZE

#define IRPyro_CCP_SIZE   5

Definition at line 37 of file IRPyro_UT.h.

◆ IRPyro_FIFO_RESET

#define IRPyro_FIFO_RESET   0x0C

Definition at line 35 of file IRPyro_UT.h.

◆ IRPyro_FIFO_RESET_OK

#define IRPyro_FIFO_RESET_OK   0X31

Definition at line 34 of file IRPyro_UT.h.

◆ IRPyro_FRAME_COUNT_LOCATION

#define IRPyro_FRAME_COUNT_LOCATION   5

Definition at line 38 of file IRPyro_UT.h.

◆ NUMBER_OF_FRAMES_TO_COUNT

#define NUMBER_OF_FRAMES_TO_COUNT   3600000

Definition at line 39 of file IRPyro_UT.h.

◆ TIME_TO_WAIT

#define TIME_TO_WAIT   3600000

Definition at line 40 of file IRPyro_UT.h.

Typedef Documentation

◆ IOCTL_test_type

typedef struct IOCTL_test IOCTL_test_type

Function Documentation

◆ ut_initialization()

void ut_initialization ( IRPyro_sensor_device_type *  this_device,
IRPyro_devices  this_list 
)