assorted board manipulation and comparison functions
More...
assorted board manipulation and comparison functions
static uint8_t AFE_compare |
( |
AFE_reg_type |
first, |
|
|
AFE_reg_type |
second |
|
) |
| |
|
static |
Compares AFE registers for equality.
- Parameters
-
first | First AFE |
second | Second AFE |
- Return values
-
comparison | 0 not equal / 1 equal |
Definition at line 820 of file IRPyro_UT.c.
static uint8_t CCP_compare |
( |
CCP_reg_type |
first, |
|
|
CCP_reg_type |
second |
|
) |
| |
|
static |
Compares CCP registers for equality.
- Parameters
-
first | First CCP |
second | Second CCP |
- Return values
-
comparison | 0 not equal / 1 equal |
Definition at line 842 of file IRPyro_UT.c.
static uint8_t check_results |
( |
uint8_t * |
test_results, |
|
|
uint8_t |
number_of_tests |
|
) |
| |
|
static |
Checks the results of a test for pass or fail by adding individual results.
- Parameters
-
test_results | individual test result (0 fail / 1 sucess) |
number_of_tests | success result |
- Return values
-
Definition at line 632 of file IRPyro_UT.c.
void IRPyro_demo_board |
( |
uint8_t |
value | ) |
|
Changes the state of all the CS lines as used on the IRPyro backplane board.
Definition at line 619 of file IRPyro_UT.c.
static uint8_t IRPyro_test_multiple_sensor_read_sample |
( |
IRPyro_devices |
this_list, |
|
|
uint8_t |
list_size |
|
) |
| |
|
static |
Given a list of devices collects a number of samples and determines lost frames.
- Parameters
-
this_list | group of IRPyro configuration data |
list_size | number of devices on the list |
- Return values
-
Definition at line 659 of file IRPyro_UT.c.
static uint8_t IRPyro_test_single_sensor_read_sample |
( |
IRPyro_sensor_device_type * |
this_device | ) |
|
|
static |
IRPyro data collection for a number samples
- Parameters
-
this_device | IRPyro configuration data |
- Return values
-
Definition at line 750 of file IRPyro_UT.c.
static uint8_t FIFO_reset |
( |
IRPyro_sensor_device_type * |
this_device | ) |
|
|
static |
Clear the entire FIFO (Rd/Wr pointer reset with the Empty)
- Parameters
-
this_device | pointer to the IRPyro data structure |
- Return values
-
op_result | 1 success / 0 error |
Definition at line 885 of file IRPyro_UT.c.
static void wakeup_event_callback |
( |
void |
| ) |
|
|
static |
callback function
- Attention
- This function is called from an interrupt service request function and should be minimal.
Definition at line 904 of file IRPyro_UT.c.
static uint8_t WUP_compare |
( |
WUP_reg_type |
first, |
|
|
WUP_reg_type |
second |
|
) |
| |
|
static |
Compares WUP registers for equality.
- Parameters
-
first | First WUP |
second | Second WUP |
- Return values
-
comparison | 0 not equal / 1 equal |
Definition at line 864 of file IRPyro_UT.c.