1.1.2.3.15 qtm_claim_adc*
Note: * - May not be available for all
devices.
uint8_t qtm_claim_adc(uint8_t is_forced_claim);Purpose:To claim the ADC
Description: The application claim the ADC before initiating any ADC measurements.
Parameter:
| Type | Description | |
|---|---|---|
uint8_t is_forced_claim | 0 | Claim ADC if available to use |
| 1 | Force ADC claim - Terminate any pending ADC measurements and release the ADC |
Return:
| Type | Description | |
|---|---|---|
uint8_t | 0 | Fail to claim ADC |
| 1 | Successfully claimed ADC |
