source: svn/newcon3bcm2_21bu/nexus/modules/smartcard/7552/include/nexus_smartcard_init.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: 5.0 KB
Line 
1/***************************************************************************
2 *     (c)2007-2009 Broadcom Corporation
3 *
4 *  This program is the proprietary software of Broadcom Corporation and/or its licensors,
5 *  and may only be used, duplicated, modified or distributed pursuant to the terms and
6 *  conditions of a separate, written license agreement executed between you and Broadcom
7 *  (an "Authorized License").  Except as set forth in an Authorized License, Broadcom grants
8 *  no license (express or implied), right to use, or waiver of any kind with respect to the
9 *  Software, and Broadcom expressly reserves all rights in and to the Software and all
10 *  intellectual property rights therein.  IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU
11 *  HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY
12 *  NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE.
13 *
14 *  Except as expressly set forth in the Authorized License,
15 *
16 *  1.     This program, including its structure, sequence and organization, constitutes the valuable trade
17 *  secrets of Broadcom, and you shall use all reasonable efforts to protect the confidentiality thereof,
18 *  and to use this information only in connection with your use of Broadcom integrated circuit products.
19 *
20 *  2.     TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS"
21 *  AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS OR
22 *  WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO
23 *  THE SOFTWARE.  BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES
24 *  OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE,
25 *  LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION
26 *  OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING OUT OF
27 *  USE OR PERFORMANCE OF THE SOFTWARE.
28 *
29 *  3.     TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ITS
30 *  LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL, INDIRECT, OR
31 *  EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATING TO YOUR
32 *  USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF
33 *  THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT
34 *  ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. THESE
35 *  LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF
36 *  ANY LIMITED REMEDY.
37 *
38 * $brcm_Workfile: nexus_smartcard_init.h $
39 * $brcm_Revision: 4 $
40 * $brcm_Date: 5/22/09 4:50p $
41 *
42 * Module Description:
43 *
44 * Revision History:
45 *
46 * $brcm_Log: /nexus/modules/smartcard/7400/include/nexus_smartcard_init.h $
47 *
48 * 4   5/22/09 4:50p erickson
49 * PR54381: add settings
50 *
51 * 3   4/21/09 11:32a erickson
52 * PR54381: added NEXUS_SmartcardModuleSettings.clockFrequency
53 *
54 * 2   4/20/09 2:57p erickson
55 * PR54381: added NEXUS_SmartcardClockSource
56 *
57 * 1   5/19/08 12:03p vishk
58 * PR 40034: Develop Nexus Smartcard Interface/Module.
59 *
60 *
61 **************************************************************************/
62#ifndef NEXUS_SMARTCARD_INIT_H__
63#define NEXUS_SMARTCARD_INIT_H__
64
65#include "nexus_types.h"
66
67#ifdef __cplusplus
68extern "C" {
69#endif
70
71/*
72Summary:
73Smartcard clock source
74*/
75typedef enum NEXUS_SmartcardClockSource
76{
77    NEXUS_SmartcardClockSource_eUnknown = 0,    /* Unknown value */
78    NEXUS_SmartcardClockSource_eInternalClock,  /* Smartcard uses internal clock */
79    NEXUS_SmartcardClockSource_eExternalClock,  /* Smartcard uses external clock */
80    NEXUS_SmartcardClockSource_eMax
81} NEXUS_SmartcardClockSource;
82
83/**
84Summary:
85Settings used to configure the Smartcard module.
86
87Description:
88
89See Also:
90NEXUS_SmartcardModule_GetDefaultSettings
91NEXUS_SmartcardModule_Init
92**/
93typedef struct NEXUS_SmartcardModuleSettings
94{
95    NEXUS_SmartcardClockSource clockSource;
96    unsigned long clockFrequency;
97    NEXUS_ModuleHandle audio; /* needed for smartcard implementations that use an audio PLL */
98    bool externalOscillatior; /* Set to true if the external oscillator is used. */
99    bool routedInternal; /* Set to true if the clock is routed internally within the chip. */
100} NEXUS_SmartcardModuleSettings;
101
102/**
103Summary:
104Get default settings for the structure.
105
106Description:
107This is required in order to make application code resilient to the addition of new strucutre members in the future.
108
109See Also:
110NEXUS_SmartcardModule_Init
111**/
112void NEXUS_SmartcardModule_GetDefaultSettings(
113    NEXUS_SmartcardModuleSettings *pSettings /* [out] */
114    );
115
116/**
117Summary:
118Initialize the Smartcard module.
119
120Description:
121This is called by the NEXUS Platform when the system is initialized.
122
123See Also:
124NEXUS_SmartcardModule_Uninit
125NEXUS_Smartcard_Open - open Interface for Smartcard
126**/
127NEXUS_ModuleHandle NEXUS_SmartcardModule_Init(
128    const NEXUS_SmartcardModuleSettings *pSettings
129    );
130
131/**
132Summary:
133Uninitialize the Smartcard module.
134
135Description:
136This is called by the NEXUS Platform when the system is uninitialized.
137
138See Also:
139NEXUS_SmartcardModule_Init
140**/
141void NEXUS_SmartcardModule_Uninit(void);
142
143#ifdef __cplusplus
144}
145#endif
146
147#endif
Note: See TracBrowser for help on using the repository browser.