![]() |
MSPM0_ValvanoWare
1.0
ECE445L starter code
|
5-bit binary-weighted DAC More...
Go to the source code of this file.
Functions | |
| void | DAC5_Init (void) |
| Initialize DAC. More... | |
| void | DAC5_Out (uint32_t data) |
| Output to DAC5. More... | |
5-bit binary-weighted DAC
Lab 5. Digital Piano using a Digital to Analog Converter
For more information see
https://docs.google.com/document/d/1DVmHjqsx24FvLp4x8KKyr5UmDeDlBlfeQPsVvKFQF_k/edit
| void DAC5_Init | ( | void | ) |
Initialize DAC.
Initialize 5-bit DAC
| none |
| void DAC5_Out | ( | uint32_t | data | ) |
Output to DAC5.
Output to 5-bit DAC
| data | is 5-bit value to output, 0 to 31 |