1981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* 2981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * scanCncnDbg.h 3981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 4981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Copyright(c) 1998 - 2009 Texas Instruments. All rights reserved. 5981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * All rights reserved. 6981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 7981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Redistribution and use in source and binary forms, with or without 8981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * modification, are permitted provided that the following conditions 9981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * are met: 10981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 11981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * * Redistributions of source code must retain the above copyright 12981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * notice, this list of conditions and the following disclaimer. 13981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * * Redistributions in binary form must reproduce the above copyright 14981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * notice, this list of conditions and the following disclaimer in 15981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * the documentation and/or other materials provided with the 16981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * distribution. 17981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * * Neither the name Texas Instruments nor the names of its 18981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * contributors may be used to endorse or promote products derived 19981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * from this software without specific prior written permission. 20981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 21981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 33981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 34981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/** \file ScanCncn.h 35981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \brief This file include private definitions for the scan concentrator debug module. 36981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \ 37981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \date 30-Dec-2004 38981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 39981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 40981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#ifndef __SCANCNCNDBG_H__ 41981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define __SCANCNCNDBG_H__ 42981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 43981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* 44981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 45981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Constant definitions. 46981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 47981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 48981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 49981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* debug functions */ 50981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define DBG_SCAN_CNCN_PRINT_HELP 0 51981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define DBG_SCAN_SRV_PRINT_STATUS 1 52981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 53981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* 54981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 55981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Enums. 56981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 57981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 58981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 59981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* 60981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 61981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Typedefs. 62981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 63981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 64981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 65981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* 66981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 67981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Structure definitions. 68981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 69981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 70981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 71981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* 72981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 73981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * External data definitions. 74981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 75981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 76981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 77981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* 78981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 79981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * External functions definitions 80981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt *********************************************************************** 81981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 82981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 83981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/** 84981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \\n 85981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \date 14-Feb-2005\n 86981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \brief Main scan concentrator debug function 87981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 88981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Function Scope \e Public.\n 89981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \param hScanCncn - handle to the scan concentrator object.\n 90981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \param funcType - the specific debug function.\n 91981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \param pParam - parameters for the debug function.\n 92981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 93981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidtvoid scanConcentratorDebugFunction( TI_HANDLE hScanCncn, TI_HANDLE hScanSrv, TI_UINT32 funcType, void *pParam ); 94981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 95981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/** 96981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \\n 97981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \date 14-Feb-2005\n 98981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \brief Prints scan concentrator debug menu 99981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 100981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Function Scope \e Public.\n 101981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 102981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidtvoid printScanConcentratorDbgFunctions(void); 103981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 104981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/** 105981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \\n 106981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \date 14-Feb-2005\n 107981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \brief Performs a driver scan from within an app scan.\n 108981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 109981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Function Scope \e Public.\n 110981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \param hScanCncn - handle to the scan concentrator object.\n 111981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 112981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidtvoid appDriverScan( TI_HANDLE hScanCncn ); 113981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 114981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/** 115981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \\n 116981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \date 14-Feb-2005\n 117981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \brief Performs an app scan from within a driver scan.\n 118981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 119981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Function Scope \e Public.\n 120981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \param hScanCncn - handle to the scan concentrator object.\n 121981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 122981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidtvoid driverAppScan( TI_HANDLE hScanCncn ); 123981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 124981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#endif /* __SCANCNCNDBG_H__ */ 125