Reading channel data and forming reports.
Reading channel data and forming reports
- Parameters
-
ctx | Click object. |
dac_channel_setting_t | channel_buffer - report buffer |
- Returns
- 0 for successful operation
-
1 for unsuccessful operation
- Note
- This function reads data for all 4 channels, forms a report and stores it into the buffer
-
This function forms 8 reports, 2 for each channel
-
Reports on even buffer positions(i.e. positions 0, 2, 4, 6) are DAC input register reports
-
Reports on odd buffer positions(i.e. positions 1, 3, 5, 7) are DAC EEPROM memory reports
[ 0 ] - stores DAC input register report for channel A