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