AD535_config
Description | This is the AD535 configuration structure used to set up a codec channel. |
| You create and initialize this structure and then pass its address to the |
| AD535_config() function. |
Example | AD535_Config myConfig = { |
| AD535_LOOPBACK_DISABLE, |
| AD535_MICGAIN_OFF, |
| AD535_GAIN_0DB, |
| AD535_GAIN_0DB |
| }; |
| AD535_config(hAD535,&myConfig); |
AD535_config | Sets up AD535 using configuration structure | ||
Function |
| Void AD535_config( | |
|
| AD535_Handle hAD535, | |
|
| AD535_Config *config | |
| ); |
| |
Arguments |
| hAD535 | Handle to codec channel, see AD535_open() |
|
| Config | Pointer to an initialized configuration structure, see |
|
|
| AD535_Config |
Return Value |
| none |
|
Description |
| Sets up the AD535 using the configuration structure. The values of the | |
|
| structure are written to the AD535 control registers. | |
Example |
| AD535_Config myConfig = { | |
|
|
| AD535_LOOPBACK_DISABLE, |
|
|
| AD535_MICGAIN_OFF, |
|
|
| AD535_GAIN_0DB, |
|
|
| AD535_GAIN_0DB |
|
|
| }; |
|
| AD535_config(hAD535,&myConfig); | |
| Sets the FREE bit of an McBSP serial port to 1 | ||
AD553_freeMcbsp | |||
Function |
| Void AD535_freeMcbsp( | |
|
| int port |
|
| ) |
| |
Arguments |
| port | McBSP port: MCBSP_DEV0, MCBSP_DEV1 |
Return Value |
| none |
|