When typedef'ing of a (public) enum, give the enum a (systematic) name

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1522 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Rutger Hofman 16 years ago
parent 2dc3c156f5
commit fd086d2055

@ -37,7 +37,7 @@ typedef struct urj_cable urj_cable_t;
typedef struct urj_cable_driver urj_cable_driver_t;
typedef enum
typedef enum urj_cable_flush_amount
{
URJ_TAP_CABLE_OPTIONALLY,
URJ_TAP_CABLE_TO_OUTPUT,

@ -37,24 +37,24 @@
#include <stdint.h>
#include <stdlib.h>
typedef enum
typedef enum jim_tap_state
{
URJ_JIM_RESET = 0,
URJ_JIM_SELECT_DR = 0 + 1,
URJ_JIM_CAPTURE_DR = 0 + 2,
URJ_JIM_SHIFT_DR = 0 + 3,
URJ_JIM_EXIT1_DR = 0 + 4,
URJ_JIM_PAUSE_DR = 0 + 5,
URJ_JIM_EXIT2_DR = 0 + 6,
URJ_JIM_UPDATE_DR = 0 + 7,
URJ_JIM_IDLE = 8,
URJ_JIM_SELECT_IR = 8 + 1,
URJ_JIM_CAPTURE_IR = 8 + 2,
URJ_JIM_SHIFT_IR = 8 + 3,
URJ_JIM_EXIT1_IR = 8 + 4,
URJ_JIM_PAUSE_IR = 8 + 5,
URJ_JIM_EXIT2_IR = 8 + 6,
URJ_JIM_UPDATE_IR = 8 + 7,
URJ_JIM_RESET = 0,
URJ_JIM_SELECT_DR = 0 + 1,
URJ_JIM_CAPTURE_DR = 0 + 2,
URJ_JIM_SHIFT_DR = 0 + 3,
URJ_JIM_EXIT1_DR = 0 + 4,
URJ_JIM_PAUSE_DR = 0 + 5,
URJ_JIM_EXIT2_DR = 0 + 6,
URJ_JIM_UPDATE_DR = 0 + 7,
URJ_JIM_IDLE = 8,
URJ_JIM_SELECT_IR = 8 + 1,
URJ_JIM_CAPTURE_IR = 8 + 2,
URJ_JIM_SHIFT_IR = 8 + 3,
URJ_JIM_EXIT1_IR = 8 + 4,
URJ_JIM_PAUSE_IR = 8 + 5,
URJ_JIM_EXIT2_IR = 8 + 6,
URJ_JIM_UPDATE_IR = 8 + 7,
}
urj_jim_tap_state_t;

@ -24,7 +24,7 @@
#ifndef URJ_POD_H
#define URJ_POD_H
typedef enum
typedef enum urj_pod_sigsel
{
URJ_POD_CS_NONE = 0, // no/invalid signal
URJ_POD_CS_TDI = (1 << 0), // out: JTAG/SPI data in

Loading…
Cancel
Save