| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2002, 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: bfpga_name.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/2 $ |
|---|
| 12 | * $brcm_Date: 2/4/04 11:38a $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /vobs/rockford/commondrivers/fpga/97038/bfpga_name.h $ |
|---|
| 19 | * |
|---|
| 20 | * Hydra_Software_Devel/2 2/4/04 11:38a marcusk |
|---|
| 21 | * PR9588: Added documentation and comments. |
|---|
| 22 | * |
|---|
| 23 | * Hydra_Software_Devel/1 2/4/04 7:57a marcusk |
|---|
| 24 | * PR9588: Added support for fpga, tested and working. |
|---|
| 25 | * |
|---|
| 26 | ***************************************************************************/ |
|---|
| 27 | |
|---|
| 28 | /*================== Module Overview ===================================== |
|---|
| 29 | This optional module is used in conjuction with the main FPGA module. |
|---|
| 30 | It is used to map textual representation of the various enumerations |
|---|
| 31 | used by the FPGA module (normally used to output current configurations |
|---|
| 32 | or provide debug information). |
|---|
| 33 | =============== End of Module Overview ===================================*/ |
|---|
| 34 | |
|---|
| 35 | #ifndef BFPGA_NAME__ |
|---|
| 36 | #define BFPGA_NAME__ |
|---|
| 37 | |
|---|
| 38 | #include "bfpga.h" |
|---|
| 39 | |
|---|
| 40 | #ifdef __cplusplus |
|---|
| 41 | extern "C" { |
|---|
| 42 | #endif |
|---|
| 43 | |
|---|
| 44 | /* |
|---|
| 45 | Summary: |
|---|
| 46 | This function returns the name of a given ts input. |
|---|
| 47 | */ |
|---|
| 48 | const char * BFPGA_GetTsSelectName( |
|---|
| 49 | BFPGA_TsSelect tsSelect /* Function returns text name of this ts select value */ |
|---|
| 50 | ); |
|---|
| 51 | |
|---|
| 52 | /* |
|---|
| 53 | Summary: |
|---|
| 54 | This function returns the name of a given FPGA output. |
|---|
| 55 | */ |
|---|
| 56 | const char * BFPGA_GetOutputSelectName( |
|---|
| 57 | BFPGA_OutputSelect outSelect /* Function returns text name of this out select value */ |
|---|
| 58 | ); |
|---|
| 59 | |
|---|
| 60 | /* |
|---|
| 61 | Summary: |
|---|
| 62 | This function dumps the current FPGA configure using the BDBG_ERR() function. |
|---|
| 63 | */ |
|---|
| 64 | void BFPGA_DumpConfiguration( |
|---|
| 65 | BFPGA_Handle hFpga /* handle to fpga */ |
|---|
| 66 | ); |
|---|
| 67 | |
|---|
| 68 | #ifdef __cplusplus |
|---|
| 69 | } |
|---|
| 70 | #endif |
|---|
| 71 | |
|---|
| 72 | #endif |
|---|
| 73 | |
|---|