27
Programmer's reference
5.4.12 HRDLOpenUnitProgress
int16_t HRDLOpenUnitProgress
(
int16_t * handle,
int16_t * progress
)
Checks the progress of an
open operation.
Arguments
handle
Pointer to an
int16_t
where the unit handle is to be written:
-1: if the unit fails to open
0: if no unit is found
>0: a handle to the device opened (this handle is not valid unless the
function returns true)
progress
Pointer to an
int16_t
to which the percentage progress is to be written.
100% implies that the open operation is complete
Returns
0
if open operation is still in progress
1
if the open operation is complete
adc20.en r6
Copyright © 2005–2016 Pico Technology Ltd. All rights reserved.