Texas Instruments TMS320C6000 Reference Manual page 136

Chip support library api
Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

MCBSP
Example
4.11.3
MCBSP_ConfigA
Function
Arguments
Return Value
Description
Example
4-88
MCBSP_CONFIG MyConfig = {
0x00012001, /* spcr */
0x00010140, /* rcr
0x00010140, /* xcr
0x00000000, /* srgr */
0x00000000, /* mcr
0x00000000, /* rcer */
0x00000000, /* xcer */
0x00000000
/* pcr
};
MCBSP_ConfigA(hMcbsp,&MyConfig);
Sets up the MCBSP port using the configuration
structure
void MCBSP_ConfigA(
MCBSP_HANDLE hMcbsp,
MCBSP_CONFIG *Config
);
Handle to MCBSP port. See MCBSP_Open()
hMcbsp
Pointer to an initialized configuration structure
Config
none
Sets up the MCBSP port using the configuration structure. The values
of the structure are written to the port registers. The serial port control
register ( spcr ) is written last. See also MCBSP_ConfigB() and
MCBSP_CONFIG.
MCBSP_CONFIG MyConfig = {
0x00012001, /* spcr */
0x00010140, /* rcr
0x00010140, /* xcr
0x00000000, /* srgr */
0x00000000, /* mcr
0x00000000, /* rcer */
0x00000000, /* xcer */
0x00000000
/* pcr
};
MCBSP_ConfigA(hMcbsp,&MyConfig);
*/
*/
*/
*/
*/
*/
*/
*/

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 and is the answer not in the manual?

Table of Contents