ECE 486 Support Libraries
opamp486.h File Reference

Initialization of OPAMP1 to buffer DAC Ch 1 to an output pin. More...

#include "stm32l4xx_hal.h"

Go to the source code of this file.

Functions

void opamp_init (void)
 Set up OPAMP1 to buffer DAC Channel 1 to drive PA3. More...
 

Detailed Description

Initialization of OPAMP1 to buffer DAC Ch 1 to an output pin.

Author
Don Hummels
Date
Jan, 2016

The DAC Channel 1 output can be accessed through pin PA4—but PA4 is not extended to the ouput connector on the STM32L476G-Discovery board. To get the signal to the output connector, DAC Channel 1 is internally configured to drive OPAMP1. This opamp is used to drive PA3 (which is extended on the discovery board).

Definition in file opamp486.h.

Function Documentation

void opamp_init ( void  )

Set up OPAMP1 to buffer DAC Channel 1 to drive PA3.

Parameters
none
Returns
none

Definition at line 19 of file opamp486.c.