source: svn/trunk/newcon3bcm2_21bu/magnum/portinginterface/icp/7552/bicp_priv.h

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

first commit

  • Property svn:executable set to *
File size: 3.2 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2003, 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: bicp_priv.h $
11 * $brcm_Revision: Hydra_Software_Devel/3 $
12 * $brcm_Date: 2/3/05 11:35a $
13 *
14 * Module Description:
15 *
16 * Revision History:
17 *
18 * $brcm_Log: /magnum/portinginterface/icp/7038/bicp_priv.h $
19 *
20 * Hydra_Software_Devel/3   2/3/05 11:35a agin
21 * PR13212: RC6 support
22 *
23 * Hydra_Software_Devel/2   9/16/03 7:03p brianlee
24 * Added enable/disable interrupt and ISR functions.
25 *
26 * Hydra_Software_Devel/1   7/31/03 10:39a brianlee
27 * Private ICAP functions.
28 *
29 ***************************************************************************/
30#ifndef BICP_PRIV_H__
31#define BICP_PRIV_H__
32
33#include "bicp.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39/***************************************************************************
40Summary:
41        This function sets the glitch rejector count
42
43Description:
44        This function is used to set the glitch rejector count for an ICP channel
45               
46Returns:
47        TODO:
48
49See Also:
50       
51
52****************************************************************************/
53BERR_Code BICP_P_SetRejectCnt( 
54        BICP_ChannelHandle      hChn,                   /* Device channel handle */
55        uint8_t                         clks                    /* number of clocks to reject */
56        );
57
58/***************************************************************************
59Summary:
60        This function enables ICAP int
61
62Description:
63        This function is used to enable an ICAP pin interrupt
64               
65Returns:
66        TODO:
67
68See Also:
69       
70
71****************************************************************************/
72void BICP_P_EnableInt(
73        BICP_ChannelHandle      hChn                    /* Device channel handle */
74        );
75
76/***************************************************************************
77Summary:
78        This function disables ICAP int
79
80Description:
81        This function is used to disable an ICAP pin interrupt
82               
83Returns:
84        TODO:
85
86See Also:
87       
88
89****************************************************************************/
90void BICP_P_DisableInt(
91        BICP_ChannelHandle      hChn                    /* Device channel handle */
92        );
93
94/***************************************************************************
95Summary:
96        This function is the ICAP ISR
97
98Description:
99        This function is the interrupt service routine for ICAP interrupt.
100               
101Returns:
102        TODO:
103
104See Also:
105       
106
107****************************************************************************/
108static void BICP_P_HandleInterrupt_Isr
109(
110        void *pParam1,                                          /* Device channel handle */
111        int parm2                                                       /* not used */
112);
113
114/***************************************************************************
115Summary:
116        This function is the RC6 protocol handler
117
118Description:
119        This function is will interpret the manchester encoding of the RC6
120        protocol.
121               
122Returns:
123        TODO:
124
125See Also:
126       
127
128****************************************************************************/
129static void BICP_P_RC6Handle
130(
131        BICP_ChannelHandle hIcpChan,            /* Device channel handle */
132        unsigned char reg                                       /* Value of icap status */
133);
134
135#ifdef __cplusplus
136}
137#endif
138 
139#endif
140
141
142
Note: See TracBrowser for help on using the repository browser.