This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_adc_read_raw

Function Documentation

int rc_adc_read_raw(int ch)

reads the raw integer ADC value for a particular channel

Parameters

ch[in] channel 0-7

Returns

16-bit adc reading on success, -1 on failure.