sub_get_product_id
Synopsis
int sub_adc_config( sub_handle hndl, int flags )
Configure SUB-20 ADC module.
Parameters
ADC_ENABLE
Enable ADC module. If this flag is not set ADC module will be disabled
ADC_REF_VCC
Use VCC as ADC reference
ADC_REF_2_56
Use internal 2.56V reference
Return value
On success function returns 0. Otherwise error code.