| 1 |
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ |
| 2 |
|
| 3 |
File: oct6100_debug_pub.h |
| 4 |
|
| 5 |
Copyright (c) 2001-2007 Octasic Inc. |
| 6 |
|
| 7 |
Description: |
| 8 |
|
| 9 |
File containing all defines, macros, and structures pertaining to the file |
| 10 |
oct6100_debug.c. All elements defined in this file are for public |
| 11 |
usage of the API. |
| 12 |
|
| 13 |
This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API is |
| 14 |
free software; you can redistribute it and/or modify it under the terms of |
| 15 |
the GNU General Public License as published by the Free Software Foundation; |
| 16 |
either version 2 of the License, or (at your option) any later version. |
| 17 |
|
| 18 |
The OCT6100 GPL API is distributed in the hope that it will be useful, but |
| 19 |
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 20 |
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 21 |
for more details. |
| 22 |
|
| 23 |
You should have received a copy of the GNU General Public License |
| 24 |
along with the OCT6100 GPL API; if not, write to the Free Software |
| 25 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| 26 |
|
| 27 |
$Octasic_Release: OCT612xAPI-01.00-PR49 $ |
| 28 |
|
| 29 |
$Octasic_Revision: 14 $ |
| 30 |
|
| 31 |
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ |
| 32 |
|
| 33 |
#ifndef __OCT6100_DEBUG_PUB_H__ |
| 34 |
#define __OCT6100_DEBUG_PUB_H__ |
| 35 |
|
| 36 |
/***************************** INCLUDE FILES *******************************/ |
| 37 |
|
| 38 |
|
| 39 |
/***************************** DEFINES *************************************/ |
| 40 |
|
| 41 |
|
| 42 |
/***************************** TYPES ***************************************/ |
| 43 |
|
| 44 |
typedef struct _OCT6100_DEBUG_SELECT_CHANNEL_ |
| 45 |
{ |
| 46 |
UINT32 ulChannelHndl; |
| 47 |
|
| 48 |
} tOCT6100_DEBUG_SELECT_CHANNEL, *tPOCT6100_DEBUG_SELECT_CHANNEL; |
| 49 |
|
| 50 |
typedef struct _OCT6100_DEBUG_GET_DATA_ |
| 51 |
{ |
| 52 |
UINT32 ulGetDataMode; |
| 53 |
UINT32 ulGetDataContent; |
| 54 |
UINT32 ulRemainingNumBytes; |
| 55 |
UINT32 ulTotalNumBytes; |
| 56 |
UINT32 ulMaxBytes; |
| 57 |
UINT32 ulValidNumBytes; |
| 58 |
PUINT8 pbyData; |
| 59 |
|
| 60 |
} tOCT6100_DEBUG_GET_DATA, *tPOCT6100_DEBUG_GET_DATA; |
| 61 |
|
| 62 |
/************************** FUNCTION PROTOTYPES *****************************/ |
| 63 |
|
| 64 |
UINT32 Oct6100DebugSelectChannelDef( |
| 65 |
OUT tPOCT6100_DEBUG_SELECT_CHANNEL f_pSelectDebugChan ); |
| 66 |
UINT32 Oct6100DebugSelectChannel( |
| 67 |
IN OUT tPOCT6100_INSTANCE_API f_pApiInst, |
| 68 |
IN OUT tPOCT6100_DEBUG_SELECT_CHANNEL f_pSelectDebugChan ); |
| 69 |
|
| 70 |
UINT32 Oct6100DebugGetDataDef( |
| 71 |
OUT tPOCT6100_DEBUG_GET_DATA f_pGetData ); |
| 72 |
UINT32 Oct6100DebugGetData( |
| 73 |
IN OUT tPOCT6100_INSTANCE_API f_pApiInst, |
| 74 |
IN OUT tPOCT6100_DEBUG_GET_DATA f_pGetData ); |
| 75 |
|
| 76 |
#endif /* __OCT6100_DEBUG_PUB_H__ */ |