OpenCores
URL https://opencores.org/ocsvn/gecko3/gecko3/trunk

Subversion Repositories gecko3

[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-fw/] [firmware/] [include/] [gecko3com_common.h] - Diff between revs 9 and 32

Show entire file | Details | Blame | View Log

Rev 9 Rev 32
Line 39... Line 39...
#include "syncdelay.h"
#include "syncdelay.h"
#include "gecko3com_regs.h"
#include "gecko3com_regs.h"
#include "i2c.h"
#include "i2c.h"
#include "gecko3com_i2c.h"
#include "gecko3com_i2c.h"
 
 
#define TRUE            1
#define TRUE            1     /**< TRUE */
#define FALSE           0
#define FALSE           0     /**< FALSE */
 
 
/* Defines for LED output colors */
/* Defines for LED output colors */
#define RED                                     0x02  /**< Switch bi-color LED to RED */
#define RED                                     0x02  /**< Switch bi-color LED to RED */
#define GREEN                                   0x04  /**< Switch bi-color LED to GREEN */
#define GREEN                                   0x04  /**< Switch bi-color LED to GREEN */
#define ORANGE                                  0x06  /**< Switch bi-color LED to ORANGE */
#define ORANGE                                  0x06  /**< Switch bi-color LED to ORANGE */
#define LEDS_OFF                                0x00  /**< Switch bi-color LED off */
#define LEDS_OFF                                0x00  /**< Switch bi-color LED off */
 
 
 
/** flag to store the state of the LED */
extern volatile uint8_t flLED;
extern volatile uint8_t flLED;
 
 
 
 
/* defines and global variable for context switching between EZ-USB and GPIF/FPGA */
/* defines and global variable for context switching between EZ-USB and GPIF/FPGA */
#define GECKO3COM_LOCAL         0 /** firmware parses commands */
#define GECKO3COM_LOCAL       0 /**< firmware parses commands */
#define GECKO3COM_REMOTE        1 /** no commands parsed, data passed to fpga */
#define GECKO3COM_REMOTE      1 /**< no commands parsed, data passed to fpga */
 
 
extern volatile uint8_t flLOCAL; /**< flag to signal who interpretes TMC messages */
/** flag to signal who interpretes TMC messages */
 
extern volatile uint8_t flLOCAL;
 
 
 
 
 
 
/** initialize all board specific stuff */
/** initialize all board specific stuff */
void init_gecko3com (void);
void init_gecko3com (void);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.