4.11.20
MCBSP_MK_XCER
Macro
Arguments
Return Value
Description
Example
Makes a value suitable for the transmit channel enable
register
MCBSP_MK_XCER(
xcea,
xceb
)
Transmit channel enable bit-mask A:
xcea
Transmit channel enable bit-mask B:
xceb
Constructed register value
XCER Value
Use this macro to make a value suitable for the transmit channel enable
register.
The power-on default value is MCBSP_XCER_DEFAULT.
Use of the MCBSP_MK macros makes it simpler to construct register
values based on field values. You have a choice of using integer
constants, integer variables, or the symbolic constants for arguments.
All field values are right justified.
Refer to the TMS320C6000 Peripherals Reference Guide (literature
number SPRU190) for descriptions of the arguments.
UINT32 Xcer;
/* you can do this /
Xcer = MCBSP_MK_XCER(0x0000,0x0000);
/ or to be more readable, you can do this */
Xcer = MCBSP_MK_XCER(
MCBSP_XCER_XCEA_OF(0x0000),
MCBSP_XCER_XCEB_OF(0x0000)
);
MCBSP_XCER_XCEA_OF(x)
MCBSP_XCER_XCEB_OF(x)
CSL API Reference
MCBSP
4-105
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?