![]() |
MSPM0_ValvanoWare
1.0
ECE445L starter code
|
Synchronous serial communication. More...
Go to the source code of this file.
Macros | |
| #define | MCP4921_OutNonBlocking(code) SPI0->TXDATA = code|(1<<12); |
| Output data, nonblocking Send data to MCP4921 12-bit DAC without waiting for a response. This is useful in audio applications where DAC outputs are relatively infrequent and where the DAC response is meaningless. Since the state of the FIFO is not checked before sending, data may be lost. More... | |
Functions | |
| void | MCP4921_Init (uint32_t data) |
| initialize MCP4921 More... | |
| void | MCP4921_Out (uint32_t data) |
| Output data. More... | |
Synchronous serial communication.
SPI uses a chip select, clock, and data out. This interface can be used for the MCP4921 DAC