assorted board manipulation and comparison functions
More...
|
static uint8_t | AFE_compare (AFE_reg_type first, AFE_reg_type second) |
| Compares AFE registers for equality. More...
|
|
static uint8_t | CCP_compare (CCP_reg_type first, CCP_reg_type second) |
| Compares CCP registers for equality. More...
|
|
static uint8_t | check_results (uint8_t *test_results, uint8_t number_of_tests) |
| Checks the results of a test for pass or fail by adding individual results. More...
|
|
static uint8_t | FIFO_reset (IRPyro_sensor_device_type *this_device) |
| Clear the entire FIFO (Rd/Wr pointer reset with the Empty) More...
|
|
void | IRPyro_demo_board (uint8_t value) |
| Changes the state of all the CS lines as used on the IRPyro backplane board. More...
|
|
static uint8_t | IRPyro_test_multiple_sensor_read_sample (IRPyro_devices this_list, uint8_t list_size) |
| Given a list of devices collects a number of samples and determines lost frames. More...
|
|
static uint8_t | IRPyro_test_single_sensor_read_sample (IRPyro_sensor_device_type *this_device) |
| IRPyro data collection for a number samples. More...
|
|
static void | wakeup_event_callback (void) |
| callback function More...
|
|
static uint8_t | WUP_compare (WUP_reg_type first, WUP_reg_type second) |
| Compares WUP registers for equality. More...
|
|
assorted board manipulation and comparison functions
◆ AFE_compare()
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 819 of file IRPyro_UT_for_TO.c.
◆ CCP_compare()
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 841 of file IRPyro_UT_for_TO.c.
◆ check_results()
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 success) |
number_of_tests | success result |
- Return values
-
Definition at line 632 of file IRPyro_UT_for_TO.c.
◆ FIFO_reset()
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 884 of file IRPyro_UT_for_TO.c.
◆ IRPyro_demo_board()
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_for_TO.c.
◆ IRPyro_test_multiple_sensor_read_sample()
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_for_TO.c.
◆ IRPyro_test_single_sensor_read_sample()
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 749 of file IRPyro_UT_for_TO.c.
◆ wakeup_event_callback()
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 903 of file IRPyro_UT_for_TO.c.
◆ WUP_compare()
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 863 of file IRPyro_UT_for_TO.c.