Texas Instruments TMS320C6000 Reference Manual page 163

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

Advertisement

Return Value
Description
Example
4.12.3
PWR_PowerDown
Function
Arguments
mcbsp2
PDCTL Value
Use this macro to make a value suitable for the power-down control
register.
The power-on default value is PWR_PDCTL_DEFAULT.
Use of the PWR_MK_PDCTL macro makes it easier to construct regis-
ter 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 PdCtl;
/* you can do this /
PdCtl = PWR_MK_PDCTL(0,0,0,0,0);
/ or to be more readable, you can do this */
PdCtl = PWR_MK_PDCTL(
PWR_PDCTL_DMA_CLKON,
PWR_PDCTL_EMIF_CLKON,
PWR_PDCTL_MCBSP0_CLKON,
PWR_PDCTL_MCBSP1_CLKON,
PWR_PDCTL_MCBSP2_CLKON
);
Forces the DSP to enter a power-down state
void PWR_PowerDown(
PWR_MODE mode
);
Power-down mode:
mode
PWR_NONE
PWR_PD1A
PWR_PD1B
PWR_PD2
PWR_PD3
PWR_IDLE
MCBSP2 clock enable:
PWR_PDCTL_MCBSP2_CLKON
PWR_PDCTL_MCBSP2_CLKOFF
Constructed register value
CSL API Reference
PWR
4-115

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?

Subscribe to Our Youtube Channel

Table of Contents