Table of Contents

AdcControlState register

Reports sampled analog input data and current sound parameters.

Address
65
Payload type
U16
Length
5
Access
Event

Payload

The payload is a structure with the members listed below.

Name Offset Description
Adc0 0 The sampled analog input value on ADC0.
Adc1 1 The sampled analog input value on ADC1.
AttenuationLeft 2 The last attenuation of the left channel set by a register write.
AttenuationRight 3 The last attenuation of the right channel set by a register write.
Frequency 4 The last sound index or frequency set by a register write, following the same rules as Start.

Examples

Visualize analog data

Visualize analog data