ECE 486 Support Libraries
|
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... | |
Initialization of OPAMP1 to buffer DAC Ch 1 to an output pin.
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.
void opamp_init | ( | void | ) |
Set up OPAMP1 to buffer DAC Channel 1 to drive PA3.
none |
Definition at line 19 of file opamp486.c.