ECE 486 Support Libraries
Main Page
Related Pages
Modules
Files
File List
Globals
opamp486.h
Go to the documentation of this file.
1
/*!
2
* @file
3
*
4
* @brief Initialization of OPAMP1 to buffer DAC Ch 1 to an output pin
5
* @author Don Hummels
6
* @date Jan, 2016
7
*
8
* The DAC Channel 1 output can be accessed through pin PA4---but PA4 is not
9
* extended to the ouput connector on the STM32L476G-Discovery board. To get the
10
* signal to the output connector, DAC Channel 1 is internally configured to drive
11
* OPAMP1. This opamp is used to drive PA3 (which is extended on the discovery board).
12
*
13
*/
14
15
#ifndef OPAMP_H
16
#define OPAMP_H
17
18
#include "stm32l4xx_hal.h"
19
20
/*!
21
* @brief Set up OPAMP1 to buffer DAC Channel 1 to drive PA3
22
*
23
* @param none
24
* @returns none
25
*/
26
void
opamp_init
(
void
);
27
28
#endif // OPAMP_H
opamp_init
void opamp_init(void)
Set up OPAMP1 to buffer DAC Channel 1 to drive PA3.
Definition:
opamp486.c:19
opamp486.h
Generated by
1.8.11