source: svn/trunk/newcon3bcm2_21bu/magnum/portinginterface/ape/7552/bape_pll.h

Last change on this file was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 2.5 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2006-2011, Broadcom Corporation
3 *     All Rights Reserved
4 *     Confidential Property of Broadcom Corporation
5 *
6 *  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7 *  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8 *  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9 *
10 * $brcm_Workfile: bape_pll.h $
11 * $brcm_Revision: Hydra_Software_Devel/3 $
12 * $brcm_Date: 4/18/11 10:12p $
13 *
14 * Module Description: Audio Decoder Interface
15 *
16 * Revision History:
17 *
18 * $brcm_Log: /magnum/portinginterface/ape/7422/bape_pll.h $
19 *
20 * Hydra_Software_Devel/3   4/18/11 10:12p gskerl
21 * SW7425-364: Added BAPE_Pll_EnableExternalMclk() API to APE, then called
22 * it from NEXUS_AudioModule_EnableExternalMclk()
23 *
24 * Hydra_Software_Devel/2   12/16/10 4:04p jgarrett
25 * SW7422-146: Initial compilable APE for 7422
26 *
27 * Hydra_Software_Devel/1   12/14/10 2:16p jgarrett
28 * SW7422-146: Adding initial API for APE/DSP
29 *
30 ***************************************************************************/
31
32#ifndef BAPE_PLL_H_
33#define BAPE_PLL_H_
34
35/***************************************************************************
36Summary:
37PLL Settings
38***************************************************************************/
39typedef struct BAPE_PllSettings
40{
41    bool freeRun;   /* If true, use an internal 27 MHz clock source instead of a VCXO rate manager */
42    unsigned vcxo;  /* Which VCXO Rate Manager will drive this PLL */
43} BAPE_PllSettings;
44
45/***************************************************************************
46Summary:
47Get PLL Settings
48***************************************************************************/
49void BAPE_Pll_GetSettings(
50    BAPE_Handle handle,
51    BAPE_Pll pll,
52    BAPE_PllSettings *pSettings /* [out] */
53    );
54
55/***************************************************************************
56Summary:
57Set PLL Settings
58***************************************************************************/
59BERR_Code BAPE_Pll_SetSettings(
60    BAPE_Handle handle,
61    BAPE_Pll pll,
62    const BAPE_PllSettings *pSettings
63    );
64
65/***************************************************************************
66Summary:
67Enable an External Mclk Output
68***************************************************************************/
69BERR_Code BAPE_Pll_EnableExternalMclk(
70    BAPE_Handle     handle,
71    BAPE_Pll        pll,
72    unsigned        mclkIndex,
73    BAPE_MclkRate   mclkRate
74    );
75
76#endif /* #ifndef BAPE_PLL_H_ */
77
Note: See TracBrowser for help on using the repository browser.