| 1 | /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ |
| 2 | |
| 3 | File: oct6100_apimi.h |
| 4 | |
| 5 | Copyright (c) 2001-2007 Octasic Inc. |
| 6 | |
| 7 | Description: |
| 8 | |
| 9 | This file contains the declaration of all functions exported from the |
| 10 | APIMI block. The APIMI block contains only one function: |
| 11 | Oct6100InterruptMask. |
| 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). |
| 15 | |
| 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. |
| 20 | |
| 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 |
| 24 | for more details. |
| 25 | |
| 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. |
| 29 | |
| 30 | $Octasic_Release: OCT612xAPI-01.00-PR49 $ |
| 31 | |
| 32 | $Octasic_Revision: 6 $ |
| 33 | |
| 34 | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ |
| 35 | |
| 36 | #ifndef __OCT6100_APIMI_H__ |
| 37 | #define __OCT6100_APIMI_H__ |
| 38 | |
| 39 | #ifdef __cplusplus |
| 40 | extern "C" |
| 41 | { |
| 42 | #endif /* __cplusplus */ |
| 43 | |
| 44 | /***************************** INCLUDE FILES *******************************/ |
| 45 | |
| 46 | #include "octdef.h" |
| 47 | |
| 48 | /***************************** TYPES ***************************************/ |
| 49 | |
| 50 | typedef struct _OCT6100_INTERRUPT_MASK_ |
| 51 | { |
| 52 | UINT32 ulUserChipIndex; |
| 53 | PVOID pProcessContext; |
| 54 | |
| 55 | |
| 56 | } tOCT6100_INTERRUPT_MASK, *tPOCT6100_INTERRUPT_MASK; |
| 57 | |
| 58 | /************************** FUNCTION PROTOTYPES *****************************/ |
| 59 | |
| 60 | UINT32 Oct6100InterruptMaskDef( |
| 61 | OUT tPOCT6100_INTERRUPT_MASK f_pInterruptMask ); |
| 62 | UINT32 Oct6100InterruptMask( |
| 63 | IN tPOCT6100_INTERRUPT_MASK f_pInterruptMask ); |
| 64 | |
| 65 | #ifdef __cplusplus |
| 66 | } |
| 67 | #endif /* __cplusplus */ |
| 68 | |
| 69 | #endif /* __OCT6100_APIMI_H__ */ |