dac-at73c213
Default mainpageat91libcomponentsdac-at73c213
Description Graph
dac-at73c213
 
Purpose
Definitions and methods for using a single external AT73C213 DAC. Several constants must be declared at the board.h level for that:
Usage
  1. Configure the mode register of the SPI associated with the DAC and enable the SPI peripheral (see spi.h).
  2. Enable the master clock of the DAC (usually, it will be connected to a programmable clock output).
  3. Call the AT73C213_Enable function with the desired parameters. This function configures the associated NPCS register of the SPI for correct interfacing with the DAC, starts the DAC and configures the SSC.
  4. Send audio data to the DAC using the SSC, with SSC_WriteBuffer or SSC_Write.
 
Source
The documentation for this Directory was generated from the following files:
  • at73c213.h