1
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
5
Copyright (c) 2001-2006 Octasic Inc.
9
This file contains the declaration of all functions exported from the
10
APIMI block. The APIMI block contains only one function:
12
The function is used to mask out the interrupt pin of the chip. This
13
function is used when a deferred procedure call treats the interrupt (new
14
interrupts must not be generated until the signalled interrupt is treated).
16
This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API is
17
free software; you can redistribute it and/or modify it under the terms of
18
the GNU General Public License as published by the Free Software Foundation;
19
either version 2 of the License, or (at your option) any later version.
21
The OCT6100 GPL API is distributed in the hope that it will be useful, but
22
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
26
You should have received a copy of the GNU General Public License
27
along with the OCT6100 GPL API; if not, write to the Free Software
28
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
30
$Octasic_Release: OCT612xAPI-01.00-PR43 $
32
$Octasic_Revision: 5 $
34
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
36
#ifndef __OCT6100_APIMI_H__
37
#define __OCT6100_APIMI_H__
42
#endif /* __cplusplus */
44
/***************************** INCLUDE FILES *******************************/
48
/***************************** TYPES ***************************************/
50
typedef struct _OCT6100_INTERRUPT_MASK_
52
UINT32 ulUserChipIndex;
53
PVOID pProcessContext;
56
} tOCT6100_INTERRUPT_MASK, *tPOCT6100_INTERRUPT_MASK;
58
/************************** FUNCTION PROTOTYPES *****************************/
60
UINT32 Oct6100InterruptMaskDef(
61
OUT tPOCT6100_INTERRUPT_MASK f_pInterruptMask );
62
UINT32 Oct6100InterruptMask(
63
IN tPOCT6100_INTERRUPT_MASK f_pInterruptMask );
67
#endif /* __cplusplus */
69
#endif /* __OCT6100_APIMI_H__ */