11.6.2.3 Function opamp1_get_config_defaults()
Initializes all members of OPAMP1 configuration structure to safe defaults.
void opamp1_get_config_defaults( struct opamp1_config *const config)
Initializes all members of OPAMP1 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 OPAMP1 as "Voltage Follower", refer to the first mode of "Built-in Modes" in the device datasheet.
Data direction | Parameter name | Description |
---|---|---|
[out] | config |
OPAMP1 configuration structure to initialize to default values |