Texas Instruments TMS320C6000 Reference Manual page 159

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

Advertisement

4.11.28
MCBSP_RsyncErr
Function
Arguments
Return Value
Description
Example
4.11.29
MCBSP_SetPins
Function
Arguments
Return Value
Description
Example
Reads the RSYNCERR status bit of the SPCR
register
BOOL MCBSP_RsyncErr(
MCBSP_HANDLE hMcbsp
);
Handle to MCBSP port. See MCBSP_Open()
hMcbsp
Returns RSYNCERR bit of the SPCR register; 0 or 1
RSYNCERR
Reads the RSYNCERR status bit of the SPCR register. A 1 indicates a
receiver frame sync error.
if (MCBSP_ RsyncErr(hMcbsp)) {
}
Sets the state of the serial port pins when configured
as general purpose IO
void MCBSP_SetPins(
MCBSP_HANDLE hMcbsp,
UINT32 Pins
);
Handle to MCBSP port. See MCBSP_Open()
hMcbsp
Bit-mask of pin values (logical OR)
Pins
MCBSP_PIN_CLKX
MCBSP_PIN_FSX
MCBSP_PIN_DX
MCBSP_PIN_CLKR
MCBSP_PIN_FSR
MCBSP_PIN_DR
MCBSP_PIN_CLKS
none
Use this function to set the state of the serial port pins when configured
as general purpose IO.
MCBSP_SetPins(hMcbsp,
MCBSP_PIN_FSX |
MCBSP_PIN_DX
);
CSL API Reference
MCBSP
4-111

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?

Questions and answers

Table of Contents