le_adc_interface.h
Go to the documentation of this file.
48 //--------------------------------------------------------------------------------------------------52 //--------------------------------------------------------------------------------------------------55 //--------------------------------------------------------------------------------------------------58 * Connect the current client thread to the service providing this API. Block until the service is62 * called before any other functions in this API. Normally, ConnectService is automatically called67 //--------------------------------------------------------------------------------------------------73 //--------------------------------------------------------------------------------------------------76 * Try to connect the current client thread to the service providing this API. Return with an error80 * called before any other functions in this API. Normally, ConnectService is automatically called89 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).92 //--------------------------------------------------------------------------------------------------98 //--------------------------------------------------------------------------------------------------102 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants105 //--------------------------------------------------------------------------------------------------112 //--------------------------------------------------------------------------------------------------118 * longer a connection to the service, and the functions in this API can't be used. For details, see123 //--------------------------------------------------------------------------------------------------130 //--------------------------------------------------------------------------------------------------134 //--------------------------------------------------------------------------------------------------137 //--------------------------------------------------------------------------------------------------142 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------153 //--------------------------------------------------------------------------------------------------le_result_t le_adc_ReadValue(const char *LE_NONNULL adcName, int32_t *adcValuePtr)le_result_t le_adc_TryConnectService(void)void(* le_adc_DisconnectHandler_t)(void *)Definition: le_adc_interface.h:53void le_adc_DisconnectService(void)void le_adc_ConnectService(void)void le_adc_SetServerDisconnectHandler(le_adc_DisconnectHandler_t disconnectHandler, void *contextPtr)