Interface: tos.interfaces.AdcConfigure

interface AdcConfigure<typedef adc_config_t>

This interface is intended to be provided by an ADC client and used by the ADC subsystem to retrieve the client's ADC configuration.

Author:
Jan Hauer
See:
Please refer to TEP 101 for more information about this interface and its intended use.

Commands
command adc_config_t getConfiguration() Returns the configuration of an ADC client.

Commands - Details

getConfiguration

command adc_config_t getConfiguration()

Returns the configuration of an ADC client. adc_config_t is a hardware specific data type that contains all information necessary to configure the respective ADC hardware for the client. A client MUST always return the same configuration and, if configuration data is passed as a pointer, the ADC subsystem (HIL component) MUST NOT reference it after the return of this command.

Returns:
chip specific configuration.