IRPyro messaging application
Communications program between IRPyro and IRPyro evaluation tool
|
Functions common to Message Generator and Message Interpreter. More...
Data Structures | |
struct | channel_configuration_map |
assign a unique consecutive number to each channel on a maximum of four sensors More... | |
Functions | |
static uint8_t | channel_collect (uint8_t *channel_id) |
check for channels. returns an array with the channels and count More... | |
void | channel_id_next (void) |
increments the channel index More... | |
uint8_t | channel_id_to_channel (void) |
maps the GUI scope channel_id to physical channel on the sensor More... | |
uint8_t | channel_id_to_sensor (void) |
maps the GUI scope channel_id to physical sensor More... | |
static uint8_t | channel_locate (const uint8_t *channels) |
looks for a given channel id on the list of active channels More... | |
uint8_t | channel_processing (uint8_t *channel_count) |
prepares for channel_id requests More... | |
static uint8_t | channel_validate (uint8_t *idx, uint8_t *channel_count, uint8_t sensor_selected, uint8_t channel_location) |
validation logic for available channels, sensor selected and channel location More... | |
void | process_parms_load (uint8_t *idx, uint8_t *num_sensors_to_process) |
configures for loop for single or multiple sensor operations More... | |
Variables | |
static uint8_t | channel_processing_index = 0 |
static uint8_t | channels [NUMBER_OF_SCOPES_IN_THE_GUI] = {0} |
const struct channel_configuration_map | on_board [] |
Functions common to Message Generator and Message Interpreter.
* *
|
static |
check for channels. returns an array with the channels and count
Definition at line 66 of file message_interface_common.c.
void channel_id_next | ( | void | ) |
increments the channel index
Definition at line 210 of file message_interface_common.c.
uint8_t channel_id_to_channel | ( | void | ) |
maps the GUI scope channel_id to physical channel on the sensor
Definition at line 202 of file message_interface_common.c.
uint8_t channel_id_to_sensor | ( | void | ) |
maps the GUI scope channel_id to physical sensor
Definition at line 194 of file message_interface_common.c.
|
static |
looks for a given channel id on the list of active channels
Definition at line 84 of file message_interface_common.c.
uint8_t channel_processing | ( | uint8_t * | channel_count | ) |
prepares for channel_id requests
Definition at line 178 of file message_interface_common.c.
|
static |
validation logic for available channels, sensor selected and channel location
Definition at line 105 of file message_interface_common.c.
void process_parms_load | ( | uint8_t * | idx, |
uint8_t * | num_sensors_to_process | ||
) |
configures for loop for single or multiple sensor operations
Definition at line 139 of file message_interface_common.c.
|
static |
Definition at line 174 of file message_interface_common.c.
|
static |
Definition at line 173 of file message_interface_common.c.
const struct channel_configuration_map on_board[] |
Definition at line 139 of file message_interface_common.c.