le_adc_interface.h
Go to the documentation of this file.
53 //--------------------------------------------------------------------------------------------------57 //--------------------------------------------------------------------------------------------------60 //--------------------------------------------------------------------------------------------------63 * Connect the current client thread to the service providing this API. Block until the service is67 * called before any other functions in this API. Normally, ConnectService is automatically called72 //--------------------------------------------------------------------------------------------------78 //--------------------------------------------------------------------------------------------------81 * Try to connect the current client thread to the service providing this API. Return with an error85 * called before any other functions in this API. Normally, ConnectService is automatically called94 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).97 //--------------------------------------------------------------------------------------------------103 //--------------------------------------------------------------------------------------------------107 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants110 //--------------------------------------------------------------------------------------------------117 //--------------------------------------------------------------------------------------------------123 * longer a connection to the service, and the functions in this API can't be used. For details, see128 //--------------------------------------------------------------------------------------------------135 //--------------------------------------------------------------------------------------------------143 //--------------------------------------------------------------------------------------------------le_result_t le_adc_ReadValue(const char *LE_NONNULL adcName, int32_t *adcValuePtr)void le_adc_DisconnectService(void)void le_adc_ConnectService(void)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:58