AT73C213_Enable
Default mainpageat91libcomponentsdac-at73c213AT73C213_Enable
Description Source Call Graph
AT73C213_Enable
Enables the AT73C213 DAC to operate using the specified sample frequency (in Hz), sample size (in bytes) and number of channels.
 
Syntax / parameters
void AT73C213_Enable (unsigned int Fs, unsigned int sampleSize, unsigned int numChannels, unsigned char isClock384, unsigned int masterClock)

Name Type Default Description
Fs unsigned int
  Desired sampling frequency in Hz.
sampleSize unsigned int
  Size of one sample in bytes.
numChannels unsigned int
  Number of audio channels used.
isClock384 unsigned char
  Must be 1 if DACmck = 384*Fs, 0 if DACmck = 256*Fs.
masterClock unsigned int
  Frequency of the system master clock.
Description
Enables the AT73C213 DAC to operate using the specified sample frequency (in Hz), sample size (in bytes) and number of channels.
If the master clock sent to the DAC is equal to 384*Fs, then isClock384 must be 1; otherwise it must be 0.
 
Source
The documentation for this Member was generated from the following files:
  • at73c213.c