Microchip® Advanced Software Framework

opamp.c File Reference

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...