IRPyro TO API demo
Specific demo for the IRPyro TO with IRPyro API
|
How to stream IRPyro data and change parameters at high level. More...
Functions | |
static void | demo_board_sensor_control (int state) |
Changes the state of all the CS lines as used on the IRPyro backplane board. More... | |
static void | IOCTL_TO_example (void) |
Shows how to change sensor parameters on the run. More... | |
static void | IRPyro_sensor_population (IRPyro_devices this_list, uint8_t *list_size) |
Detect IRPyro sensors present in the demo board. More... | |
int | main (void) |
Call point to the example functions. More... | |
static void | read_a_TO_sample (IRPyro_sensor_device_type *this_device) |
Collects the number of data samples indicated by NUMBER_OF_FRAMES_TO_COUNT. More... | |
static void | read_sample_multiple_TO_devices (void) |
Example to initialize multiple IRPyros and stream data. More... | |
static void | read_sample_single_TO_device (void) |
Example to initialize one IRPyro TO and stream data Creates an IRPyro TO sensor with one channel active and the minimal Required configuration: location of the CS port and pin and a I2C address. See Read_Me.txt. More... | |
static void | rx_function (void) |
USART RX function. More... | |
static void | sensor_power_stabilize () |
power cycles the sensors on the board to assure stability More... | |
static void | tx_function (void) |
USART TX function. More... | |
static void | usart_callback_setup (void) |
configures USART irq functions More... | |
static void | wake_up_TO_event_detection (void) |
Wake up event detection This function configures the IRPyro sensor to sleep mode. More... | |
static void | wakeup_event_callback (void) |
callback function More... | |
How to stream IRPyro data and change parameters at high level.
|
static |
Changes the state of all the CS lines as used on the IRPyro backplane board.
state | 0 disabled / 1 enabled |
Definition at line 668 of file main_for_TO.c.
|
static |
Shows how to change sensor parameters on the run.
* Baud Rate: 921600 * Parity: None * Data Bits: 8 * Stop Bits: 1 * Hardware Flow Control: None * Software Flow Control: None *Select display format to the UART by un-commenting the appropriate function:
Definition at line 387 of file main_for_TO.c.
|
static |
Detect IRPyro sensors present in the demo board.
this_list | IRPyro sensor array |
list_size | number of sensors in the array |
Definition at line 651 of file main_for_TO.c.
int main | ( | void | ) |
Call point to the example functions.
Definition at line 76 of file main_for_TO.c.
|
static |
Collects the number of data samples indicated by NUMBER_OF_FRAMES_TO_COUNT.
this_device | IRPyro configuration data |
* Baud Rate: 921600 * Parity: None * Data Bits: 8 * Stop Bits: 1 * Hardware Flow Control: None * Software Flow Control: None *Select display format to the UART by un-commenting the appropriate function:
Definition at line 200 of file main_for_TO.c.
|
static |
Example to initialize multiple IRPyros and stream data.
Creates a list of IRPyro sensors with all four channels active and the minimal required configuration: location of the CS and INT port/pin and a I2C address. See Read_Me.txt
* Baud Rate: 921600 * Parity: None * Data Bits: 8 * Stop Bits: 1 * Hardware Flow Control: None * Software Flow Control: None *Select display format to the UART by un-commenting the appropriate function:
Definition at line 250 of file main_for_TO.c.
|
static |
Example to initialize one IRPyro TO and stream data Creates an IRPyro TO sensor with one channel active and the minimal Required configuration: location of the CS port and pin and a I2C address. See Read_Me.txt.
* Baud Rate: 921600 * Parity: None * Data Bits: 8 * Stop Bits: 1 * Hardware Flow Control: None * Software Flow Control: None *Select display format to the UART by un-commenting the appropriate function:
Definition at line 109 of file main_for_TO.c.
|
static |
USART RX function.
Definition at line 634 of file main_for_TO.c.
|
static |
power cycles the sensors on the board to assure stability
Definition at line 678 of file main_for_TO.c.
|
static |
USART TX function.
Definition at line 627 of file main_for_TO.c.
|
static |
configures USART irq functions
Definition at line 641 of file main_for_TO.c.
|
static |
Wake up event detection This function configures the IRPyro sensor to sleep mode.
* Baud Rate: 921600 * Parity: None * Data Bits: 8 * Stop Bits: 1 * Hardware Flow Control: None * Software Flow Control: None *Select display format to the UART by un-commenting the appropriate function:
Definition at line 538 of file main_for_TO.c.
|
static |
callback function
Definition at line 516 of file main_for_TO.c.