11.6.2.5 Function opamp2_get_config_defaults()
Initializes all members of OPAMP2 configuration structure to safe defaults.
void opamp2_get_config_defaults( struct opamp2_config *const config)
Initializes all members of OPAMP2 configuration structure to safe defaults. This function should be called on all new instances of these configuration structures before being modified by the user application.
The default configuration is setting OPAMP2 as "Voltage Follower", refer to the first mode of "Built-in Modes" in the device datasheet.
Data direction | Parameter name | Description |
---|---|---|
[out] | config |
OPAMP2 configuration structure to initialize to default values |