le_adc_interface.h
Go to the documentation of this file.
49 //--------------------------------------------------------------------------------------------------53 //--------------------------------------------------------------------------------------------------56 //--------------------------------------------------------------------------------------------------59 * Connect the current client thread to the service providing this API. Block until the service is63 * called before any other functions in this API. Normally, ConnectService is automatically called68 //--------------------------------------------------------------------------------------------------74 //--------------------------------------------------------------------------------------------------77 * Try to connect the current client thread to the service providing this API. Return with an error81 * called before any other functions in this API. Normally, ConnectService is automatically called90 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).93 //--------------------------------------------------------------------------------------------------99 //--------------------------------------------------------------------------------------------------103 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants106 //--------------------------------------------------------------------------------------------------113 //--------------------------------------------------------------------------------------------------119 * longer a connection to the service, and the functions in this API can't be used. For details, see124 //--------------------------------------------------------------------------------------------------131 //--------------------------------------------------------------------------------------------------139 //--------------------------------------------------------------------------------------------------le_result_t le_adc_ReadValue(const char *LE_NONNULL adcName, int32_t *adcValuePtr)le_result_t le_adc_TryConnectService(void)LE_FULL_API void le_adc_SetServerDisconnectHandler(le_adc_DisconnectHandler_t disconnectHandler, void *contextPtr)void(* le_adc_DisconnectHandler_t)(void *)Definition: le_adc_interface.h:54void le_adc_DisconnectService(void)void le_adc_ConnectService(void)