IRPyro API unit test console
Functions for single and multiple sensor configurations in a Unit test format
|
Go to the documentation of this file.
31 #include "IRPyro_API_multi_device_layer.h"
33 #define IRPyro_FIFO_RESET_OK 0X31
34 #define IRPyro_FIFO_RESET 0x0C
36 #define IRPyro_CCP_SIZE 5 // bytes on the IRPyro CCP register
37 #define IRPyro_FRAME_COUNT_LOCATION 5 // position on the user data buffer
38 #define NUMBER_OF_FRAMES_TO_COUNT 3600000 // 60000 1 minute, 900000 approximate 15 minutes, 3600000 1 hour, 4294967295 milliseconds = 50 days, 60 000 000
39 #define TIME_TO_WAIT 3600000
54 uint8_t
ut06_IOCTL01(IRPyro_sensor_device_type* IRPyro_test_Sensor);
55 uint8_t
ut06_IOCTL02(IRPyro_sensor_device_type *IRPyro_test_Sensor);
uint8_t ut06_IOCTL02(IRPyro_sensor_device_type *IRPyro_test_Sensor)
uint8_t ut03_single_sensor_read(IRPyro_sensor_device_type *IRPyro_TEST_Sensor)
uint8_t ut_wake_up_event(IRPyro_sensor_device_type *IRPyro_test_Sensor)
Wake up event.
IRPyro_arg_type argument
Argument.
uint8_t ut06_IOCTL01(IRPyro_sensor_device_type *IRPyro_test_Sensor)
Test of IOCTL functions.
uint8_t ut02_multiple_sensor_init(IRPyro_devices this_list, uint8_t list_size)
uint8_t ut01_single_sensor_init(IRPyro_sensor_device_type *IRPyro_TEST_Sensor)
void IRPyro_demo_board(uint8_t value)
Changes the state of all the CS lines as used on the IRPyro backplane board.
void ut_TO_CAN_read(void)
Single TO-CAN read.
Special struct to test IOCTL.
IRPyro_cmd_type command
Command.
uint8_t ut04_multiple_sensor_read(IRPyro_devices this_list, uint8_t list_size)
void ut_initialization(IRPyro_sensor_device_type *this_device, IRPyro_devices this_list)
struct IOCTL_test IOCTL_test_type