![]() |
MSPM0_ValvanoWare
1.0
ECE445L starter code
|
Digital to analog conversion. More...
Files | |
| file | DAC.h |
| Initialize 12-bit built-in DAC. | |
Functions | |
| void | DAC_Init (void) |
| Initialize 12-bit DAC. More... | |
| void | DAC_Out (uint32_t data) |
| Output to DAC. More... | |
Digital to analog conversion.
| Pin | Description |
|---|---|
| PA15 | DAC digital to analog output |
| void DAC_Init | ( | void | ) |
Initialize 12-bit DAC.
Initialize 12-bit DAC output on PA15
| none |
| void DAC_Out | ( | uint32_t | data | ) |
Output to DAC.
Output to 12-bit DAC, 0 to 2.5V range
| data | is 12-bit data |