Configure the mode register of the SPI associated with the DAC and enable the SPI peripheral (see spi.h).
Enable the master clock of the DAC (usually, it will be connected to a programmable clock output).
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.