IRPyro API unit test console
Functions for single and multiple sensor configurations in a Unit test format
|
#include "IRPyro_API_multi_device_layer.h"
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... | |
#define IRPyro_CCP_SIZE 5 |
Definition at line 37 of file IRPyro_UT.h.
#define IRPyro_FIFO_RESET 0x0C |
Definition at line 35 of file IRPyro_UT.h.
#define IRPyro_FIFO_RESET_OK 0X31 |
Definition at line 34 of file IRPyro_UT.h.
#define IRPyro_FRAME_COUNT_LOCATION 5 |
Definition at line 38 of file IRPyro_UT.h.
#define NUMBER_OF_FRAMES_TO_COUNT 3600000 |
Definition at line 39 of file IRPyro_UT.h.
#define TIME_TO_WAIT 3600000 |
Definition at line 40 of file IRPyro_UT.h.
typedef struct IOCTL_test IOCTL_test_type |
void ut_initialization | ( | IRPyro_sensor_device_type * | this_device, |
IRPyro_devices | this_list | ||
) |