Scriptel ScripTouch ProScript C Library This documentation contains information about the ScripTouch ProScript C Library.

Data Fields
scriptel_hid_input_adc_values Struct Reference

This structure represents a sample from the ADC. More...

`#include <scriptel-hid-reports.h>`

Collaboration diagram for scriptel_hid_input_adc_values:
[legend]

## Data Fields
unsigned char | report_id
| Report ID, should always be set to SCRIPTEL_INPUT_ADCVALUES.
scriptel_adc_data_type | data_type
| The data type of this sample.
union {
struct {
scriptel_sample_info sample_info
| Sample information associated with this scan.
unsigned short x_max
| Maximum horizontal scan.
unsigned short x_min
| Minimum horizontal scan.
unsigned short y_max
| Maximum vertical scan.
unsigned short y_min
| Minimum vertical scan.
} scan_values
| This structure contains information about scan values.
struct {
unsigned char channel_number
| The channel number of this sample.
unsigned short sample1
| The first sample.
unsigned short sample2
| The second sample.
unsigned short sample3
| The third sample.
unsigned short sample4
| The forth sample.
} channel_values
| This structure contains information about channel values.
} | adc_data
| This union will either contain scan values or channel values from the ADC.

## Detailed Description

This structure represents a sample from the ADC.

The documentation for this struct was generated from the following file:

- src/scriptel-hid-reports.h