source: svn/trunk/newcon3bcm2_21bu/magnum/portinginterface/irb/7552/birb_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-2008, 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: birb_priv.h $
11 * $brcm_Revision: Hydra_Software_Devel/8 $
12 * $brcm_Date: 2/20/08 1:56p $
13 *
14 * Module Description:
15 *
16 * Revision History:
17 *
18 * $brcm_Log: /magnum/portinginterface/irb/7405/birb_priv.h $
19 *
20 * Hydra_Software_Devel/8   2/20/08 1:56p jkim
21 * PR37963: Add XMP-2 support
22 *
23 * Hydra_Software_Devel/7   10/7/04 6:35p brianlee
24 * PR11333: Modified multiple sequence blast functions to accommodate
25 * another case.
26 *
27 * Hydra_Software_Devel/6   9/22/04 5:59p brianlee
28 * PR11333: Fixed various multiple sequence sending functions.
29 *
30 * Hydra_Software_Devel/5   7/23/04 4:02p brianlee
31 * PR11333: Added another type of multiple blast sequences.
32 *
33 * Hydra_Software_Devel/4   6/7/04 4:13p brianlee
34 * PR11386: Make configregisters function public so it can be called by
35 * test routines.
36 *
37 * Hydra_Software_Devel/3   6/3/04 11:18a brianlee
38 * PR11333: Added support for sending multiple blast sequences.
39 *
40 * Hydra_Software_Devel/2   3/4/04 5:34p brianlee
41 * PR9958: Added BIRB_Device_eCustom type and the function
42 * BIRB_ConfigCustom() to allow user to configure custom IR blaster
43 * setting.
44 *
45 * Hydra_Software_Devel/1   9/18/03 4:13p brianlee
46 * Initial version.
47 *
48 * Hydra_Software_Devel/2   9/16/03 7:03p brianlee
49 * Added enable/disable interrupt and ISR functions.
50 *
51 * Hydra_Software_Devel/1   7/31/03 10:39a brianlee
52 * Private ICAP functions.
53 *
54 ***************************************************************************/
55#ifndef BICP_PRIV_H__
56#define BICP_PRIV_H__
57
58#ifdef __cplusplus
59extern "C" {
60#endif
61
62void BIRB_P_EnableInt(
63        BIRB_Handle     hDev
64);
65
66void BIRB_P_DisableInt(
67        BIRB_Handle     hDev
68);
69
70void BIRB_P_ConfigDataSequence(
71        BIRB_Handle     hDev,
72        uint32_t                *pData,                 /* pointer to data to blast */
73        uint8_t                 bits,                   /* number of bits to blast */
74        bool                    headerPulse             /* header flag */
75);
76
77void BIRB_P_ConfigDataSequenceAB(
78        BIRB_Handle     hDev, 
79        uint32_t                *pDataA,                /* pointer to data A to blast */
80        uint8_t                 bitsA,                  /* number of bits A to blast */
81        uint32_t                *pDataB,                /* pointer to data B to blast */
82        uint8_t                 bitsB,                  /* number of bits B to blast */
83        bool                    headerA,                /* header A flag */
84        bool                    headerB,                /* header B pulse */
85        bool                    fixedFlag               /* fixed Frame flag */
86);
87
88void BIRB_P_ConfigDataSequenceAA(
89        BIRB_Handle     hDev,
90        uint32_t                *pData,                 /* pointer to data to blast */
91        uint8_t                 bits,                   /* number of bits to blast */
92        bool                    headerPulse,    /* header flag */
93        bool                    fixedFlag               /* fixed frame flag */
94);
95
96void BIRB_P_ConfigDataSequenceXmp2(
97    BIRB_Handle     hDev,
98        uint8_t                 *pData,             /* pointer to data to blast */
99        uint8_t                 numByte                         /* number of bytes to send. 1 or 4 */
100);
101
102static void BIRB_P_HandleInterrupt_Isr
103(
104        void *pParam1,                                          /* Device channel handle */
105        int parm2                                                       /* not used */
106);
107
108#ifdef __cplusplus
109}
110#endif
111 
112#endif
113
114
115
Note: See TracBrowser for help on using the repository browser.