Files
-
hardware / bubblegum / bubblegum.brd
-
hardware / bubblegum / bubblegum.sch
-
hardware / hackrf-one / baseband.kicad_sch
-
hardware / hackrf-one / clock.kicad_sch
-
hardware / hackrf-one / frontend.kicad_sch
-
hardware / hackrf-one / hackrf-one.kicad_pcb
-
hardware / hackrf-one / hackrf-one.kicad_sch
-
hardware / hackrf-one / mcu.kicad_sch
-
hardware / jawbreaker / baseband.sch
-
hardware / jawbreaker / frontend.sch
-
hardware / jawbreaker / jawbreaker.brd
-
hardware / jawbreaker / jawbreaker.sch
-
hardware / jawbreaker / mcu.sch
-
hardware / jellybean / jellybean.brd
-
hardware / jellybean / jellybean.sch
-
hardware / lemondrop / lemondrop.brd
-
hardware / lemondrop / lemondrop.sch
-
hardware / licorice / licorice.brd
-
hardware / licorice / licorice.sch
-
hardware / LNA915 / LNA915.kicad_pcb
-
hardware / LNA915 / LNA915.sch
-
hardware / lollipop / lollipop.brd
-
hardware / lollipop / lollipop.sch
-
hardware / marzipan / baseband.sch
-
hardware / marzipan / frontend.sch
-
hardware / marzipan / marzipan.kicad_pcb
-
hardware / marzipan / marzipan.sch
-
hardware / marzipan / mcu.sch
-
hardware / neapolitan / baseband.sch
-
hardware / neapolitan / frontend.sch
-
hardware / neapolitan / mcu.sch
-
hardware / neapolitan / neapolitan.kicad_pcb
-
hardware / neapolitan / neapolitan.sch
-
hardware / operacake / operacake.kicad_pcb
-
hardware / operacake / operacake.sch
Last update 2 years 1 month
by
Gianpaolo Macario
Filesfirmwarecommonxapp058 | |
---|---|
.. | |
README | |
lenval.c | |
lenval.h | |
micro.c | |
micro.h | |
ports.c | |
ports.h |
micro.h/***************************************************************************** * File: micro.h * Description: This header file contains the function prototype to the * primary interface function for the XSVF player. * Usage: FIRST - PORTS.C * Customize the ports.c function implementations to establish * the correct protocol for communicating with your JTAG ports * (setPort() and readTDOBit()) and tune the waitTime() delay * function. Also, establish access to the XSVF data source * in the readByte() function. * FINALLY - Call xsvfExecute(). *****************************************************************************/ #ifndef XSVF_MICRO_H #define XSVF_MICRO_H #include "cpld_jtag.h" /* Legacy error codes for xsvfExecute from original XSVF player v2.0 */ #define XSVF_LEGACY_SUCCESS 1 #define XSVF_LEGACY_ERROR 0 /* 4.04 [NEW] Error codes for xsvfExecute. */ /* Must #define XSVF_SUPPORT_ERRORCODES in micro.c to get these codes */ #define XSVF_ERROR_NONE 0 #define XSVF_ERROR_UNKNOWN 1 #define XSVF_ERROR_TDOMISMATCH 2 #define XSVF_ERROR_MAXRETRIES 3 /* TDO mismatch after max retries */ #define XSVF_ERROR_ILLEGALCMD 4 #define XSVF_ERROR_ILLEGALSTATE 5 #define XSVF_ERROR_DATAOVERFLOW 6 /* Data > lenVal MAX_LEN buffer size*/ /* Insert new errors here */ #define XSVF_ERROR_LAST 7 /***************************************************************************** * Function: xsvfExecute * Description: Process, interpret, and apply the XSVF commands. * See port.c:readByte for source of XSVF data. * Parameters: none. * Returns: int - For error codes see above. *****************************************************************************/ extern int xsvfExecute(jtag_gpio_t* const gpio); #endif /* XSVF_MICRO_H */