SAM Operational Amplifier Controller (OPAMP) Driver.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "opamp.h"
Functions | |
static void | _opamp_get_config_common_defaults (struct opamp_config_common *const config) |
void | opamp0_get_config_defaults (struct opamp0_config *const config) |
Initializes all members of OPAMP0 configuration structure to safe defaults. More... | |
void | opamp0_set_config (struct opamp0_config *const config) |
Writes OPAMP0 configuration to the hardware module. More... | |
void | opamp1_get_config_defaults (struct opamp1_config *const config) |
Initializes all members of OPAMP1 configuration structure to safe defaults. More... | |
void | opamp1_set_config (struct opamp1_config *const config) |
Writes OPAMP1 configuration to the hardware module. More... | |
void | opamp2_get_config_defaults (struct opamp2_config *const config) |
Initializes all members of OPAMP2 configuration structure to safe defaults. More... | |
void | opamp2_set_config (struct opamp2_config *const config) |
Writes OPAMP2 configuration to the hardware module. More... | |
void | opamp_disable (const enum opamp_id number) |
Disables an OPAMP that was previously enabled. More... | |
void | opamp_enable (const enum opamp_id number) |
Enables an OPAMP that was previously configured. More... | |
bool | opamp_is_ready (const enum opamp_id number) |
Checks an OPAMP output ready status. More... | |
void | opamp_module_init (void) |
Initializes OPAMP module. More... | |
|
inlinestatic |
References opamp_config_common::analog_out, Assert, opamp_config_common::bias_value, opamp_config_common::on_demand, OPAMP_BIAS_MODE_0, OPAMP_POT_MUX_8R_8R, opamp_config_common::potentiometer_selection, opamp_config_common::r1_enable, opamp_config_common::r2_out, opamp_config_common::r2_vcc, and opamp_config_common::run_in_standby.
Referenced by opamp0_get_config_defaults(), opamp1_get_config_defaults(), and opamp2_get_config_defaults().