Function adc_get_config_defaults()

Initializes an ADC configuration structure to defaults.

void adc_get_config_defaults(
		struct adc_config *const config)

Initializes a given ADC configuration struct to a set of known default values. This function should be called on any new instance of the configuration struct before being modified by the user application.

The default configuration is as follows:
Table 1. Parameters
Data direction Parameter name Description



Pointer to configuration struct to initialize to default values