IRPyro TO unit test console using the IRPyro API
Functions for single and multiple sensor configurations in a Unit test format
|
Unit Testing module. More...
#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... | |
Unit Testing module.
Copyright (c) 2018, _KEMET, Ltd All rights reserved. THIS SOFTWARE IS PROVIDED BY _KEMET, Ltd ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL _KEMET, Ltd BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file IRPyro_UT.h.
#define IRPyro_CCP_SIZE 5 |
Definition at line 36 of file IRPyro_UT.h.
#define IRPyro_FIFO_RESET 0x0C |
Definition at line 34 of file IRPyro_UT.h.
#define IRPyro_FIFO_RESET_OK 0X31 |
Definition at line 33 of file IRPyro_UT.h.
#define IRPyro_FRAME_COUNT_LOCATION 5 |
Definition at line 37 of file IRPyro_UT.h.
#define NUMBER_OF_FRAMES_TO_COUNT 3600000 |
Definition at line 38 of file IRPyro_UT.h.
#define TIME_TO_WAIT 3600000 |
Definition at line 39 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 | ||
) |