source: svn/newcon3bcm2_21bu/magnum/portinginterface/xpt/7552/bxpt_directv_pcr.h

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 3.5 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2003-2010, 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: bxpt_directv_pcr.h $
11 * $brcm_Revision: Hydra_Software_Devel/1 $
12 * $brcm_Date: 10/25/10 2:09p $
13 *
14 * Module Description:
15 *
16 * Revision History:
17 *
18 * $brcm_Log: /magnum/portinginterface/xpt/base2/bxpt_directv_pcr.h $
19 *
20 * Hydra_Software_Devel/1   10/25/10 2:09p gmullen
21 * SW7425-15: Moved srcs to base2 folder
22 *
23 * Hydra_Software_Devel/1   10/8/10 2:57p gmullen
24 * SW7425-15: Added header files
25 *
26 * Hydra_Software_Devel/1   5/13/05 1:26p gmullen
27 * PR15309: First draft of XPT PI.
28 *
29 ***************************************************************************/
30
31
32#ifndef BXPT_DIRECTV_PCR_H__
33#define BXPT_DIRECTV_PCR_H__
34
35#include "bxpt_pcr.h"
36
37#ifdef __cplusplus
38extern "C"{
39#endif
40
41/*=************************ Module Overview ********************************
42<verbatim>
43The API module provides the direcTV only APIs for the PCR module. The APIs
44in bxpt_pcr.h are required to complete PCR modules configuration in directv mode.
45
46The DirecTV PCR API operates on a PCR channel handle.
47</verbatim>
48***************************************************************************/
49
50/***************************************************************************
51Summary:
52Enumeration for the different types of channels supported by the record
53module.
54****************************************************************************/
55typedef enum BXPT_PcrMode
56{
57        BXPT_PcrMode_eDirecTv,
58        BXPT_PcrMode_eMpeg
59}
60BXPT_PcrMode;
61
62/***************************************************************************
63Summary:
64Set the stream type used by a PCR module.
65         
66Description:
67This function sets mode for a given PCR module to DirecTV, or back to the
68default MPEG.
69
70Returns:
71    BERR_SUCCESS                - Directv mode set
72    BERR_INVALID_PARAMETER      - Bad input parameter 
73***************************************************************************/
74BERR_Code BXPT_PCR_DirecTv_SetPcrMode( 
75        BXPT_PCR_Handle hPcr,                      /* [In]The Pcr handle */
76        BXPT_PcrMode Mode
77        );
78
79/***************************************************************************
80Summary:
81        Gets the last PCR captured in last PCR Hi/Lo registers for DirecTv mode
82Description:
83        This function reads the values from PCR_LAST_PCR_HI/LO registers.
84Returns:
85    BERR_SUCCESS                - Retrieved last PCR
86    BERR_INVALID_PARAMETER      - Bad input parameter
87***************************************************************************/
88BERR_Code       BXPT_PCR_DirecTv_GetLastPcr( 
89        BXPT_PCR_Handle hPcr,                      /* [in]The Pcr handle */
90        uint32_t *pPcr                            /*[out] 32 bits of RTS*/
91        );
92
93/***************************************************************************
94Summary:
95        Gets the STC counter values for DirecTv mode
96Description:
97        This function read the PCR STC counters from STC_HI/LO registers.
98Returns:
99    BERR_SUCCESS                - Retrieved STC counter values
100    BERR_INVALID_PARAMETER      - Bad input parameter
101***************************************************************************/
102BERR_Code       BXPT_PCR_DirecTv_GetStc( 
103        BXPT_PCR_Handle hPcr,          /* [in]The Pcr handle */
104        uint32_t *pStcHi               /*[out] 32 bits of RTS*/
105        );
106
107#ifdef __cplusplus
108}
109#endif
110
111#endif
112
Note: See TracBrowser for help on using the repository browser.