IRPyro API unit test console
Functions for single and multiple sensor configurations in a Unit test format
Unit Test Module

Implements the general case of each unit test description. More...

Collaboration diagram for Unit Test Module:

Modules

 9.6.1 Single Sensor initialization
 Verification of single sensor initialization in multiple modes.
 
 9.6.2 Multiple Sensor initialization
 Verification of multiple sensors initialization in multiple modes.
 
 9.6.3 Single Sensor Data Read
 Single sensor data reading with frame detection.
 
 9.6.4 Multiple Sensor Data Reading
 Multiple sensor reading with frame detection.
 
 9.6.5 Data collection with NORTH channel enabled
 Data collection with orientation enabled.
 
 9.6.6 Power options testing
 Power options testing.
 
 9.6.7 Sleep and Wake-up operation
 Configuration recovery after sleep command and wake-up event.
 
 9.6.8 On the fly configuration
 IRPyro configuration parameters can be changed on the fly.
 
 Unit testing support functions
 assorted board manipulation and comparison functions
 

Functions

void ut_TO_CAN_read (void)
 Single TO-CAN read. More...
 
void ut_TO_CAN_read2 (void)
 

Detailed Description

Implements the general case of each unit test description.

*    Functions to validate and test the IRPyro API implementation
*    Each function covers a point of the product verification plan
* 

Function Documentation

◆ ut_TO_CAN_read()

void ut_TO_CAN_read ( void  )

Single TO-CAN read.

Note
The TO-CAN is a four pin sensor with no CS nor INT lines. As a result the device is controlled only via I2C. Power control should be independently supplied.

This is important in two ways:

  • Stabilization of the device should be allowed.
  • I2C address collision should be controlled externally.

This is a self-contained test that should be called directly from an empty main() function

Definition at line 537 of file IRPyro_UT.c.

Here is the call graph for this function:

◆ ut_TO_CAN_read2()

void ut_TO_CAN_read2 ( void  )

Definition at line 552 of file IRPyro_UT.c.

Here is the call graph for this function: