source: svn/newcon3bcm2_21bu/magnum/commonutils/xdm/bxdm_pp_avg.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: 1.8 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: bxdm_pp_avg.h $
11 * $brcm_Revision: Hydra_Software_Devel/1 $
12 * $brcm_Date: 2/16/10 10:50a $
13 *
14 * [File Description:]
15 *
16 * Revision History:
17 *
18 * $brcm_Log: /magnum/commonutils/xdm/bxdm_pp_avg.h $
19 *
20 * Hydra_Software_Devel/1   2/16/10 10:50a nilesh
21 * SW7405-2993: Initial XDM version
22 *
23 ***************************************************************************/
24
25#ifndef bxdm_pp_AVG_H__
26#define bxdm_pp_AVG_H__
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#if 0
33}
34#endif
35
36typedef struct BXDM_PPAVG_P_Context *BXDM_PPAVG_P_Handle;
37
38typedef struct BXDM_PPAVG_P_Settings
39{
40   uint32_t uiNumSamples;
41} BXDM_PPAVG_P_Settings;
42
43BERR_Code
44BXDM_PPAVG_P_GetDefaultSettings(
45   BXDM_PPAVG_P_Settings *pstAvgSettings
46   );
47
48BERR_Code
49BXDM_PPAVG_P_Create(
50   BXDM_PPAVG_P_Handle *phAvg,
51   const BXDM_PPAVG_P_Settings *pstAvgSettings
52   );
53
54BERR_Code
55BXDM_PPAVG_P_Destroy(
56   BXDM_PPAVG_P_Handle hAvg
57   );
58
59BERR_Code
60BXDM_PPAVG_P_AddValueFixedPoint(
61   BXDM_PPAVG_P_Handle hAvg,   
62   const BXDM_PPFP_P_DataType *pstValue
63   );
64
65BERR_Code
66BXDM_PPAVG_P_AddValueInteger(
67   BXDM_PPAVG_P_Handle hAvg,
68   int32_t iValue
69   );
70
71BERR_Code
72BXDM_PPAVG_P_Reset(
73   BXDM_PPAVG_P_Handle hAvg
74   );
75
76BERR_Code
77BXDM_PPAVG_P_GetAverage(
78   BXDM_PPAVG_P_Handle hAvg,
79   BXDM_PPFP_P_DataType *pstAverage,
80   uint32_t *puiNumSamples
81   );
82
83#ifdef __cplusplus
84}
85#endif
86
87#endif /* bxdm_pp_AVG_H__ */
Note: See TracBrowser for help on using the repository browser.