Hi,
I am learning device driver from SPRA677.PDF. When I read the following (page 5, 2. Architecture), I do not understand the read line. From the blue line, it seems that mbBindDev() and mdCreateChan() are two codec specific functions. But what is the "These functions" in the red line?
Could you explain it to me?
Thanks.
.............................
The codec specific portion of the mini-driver inherits the features of the generic TMS320C6x1x
EDMA McBSP driver. It uses two codec specific functions, mbBindDev() and mdCreateChan(),
to do the 6713 DSK and AIC23 specific setup. These functions then call mbBindDev() and
mdCreateChan() in the generic driver to complete generic portions of the driver initialization. The
only thing the codec-specific part does is to set up the codec and leaves the transfers of
samples to the generic device driver. The fact that this device driver uses the generic device
driver is hidden from the user in all aspects except that the generic device driver library has to
be linked into the application.
The AIC23 has a control channel which is used to configure the codec as well as a bidirectional
data channel. On the DSK, McBSP0 is used to generate the SPI format control channel signals
while McBSP1 is used for audio data.