/** * \file * * * \brief FT245RL USB interface hardware-specific definitions * * * \author Francesco Sacchi */ #ifndef HW_FT245RL_H #define HW_FT245RL_H #warning TODO:This is an example implementation, you must implement it! #define FT245RL_DATA_IN() /* Implement me! */ #define FT245RL_DATA_OUT() /* Implement me! */ #define WR_HI /* Implement me! */ #define WR_LO /* Implement me! */ #define RD_HI /* Implement me! */ #define RD_LO /* Implement me! */ #define FT245RL_INIT() \ do \ { \ /* Implement me! */ \ } while(0) #define FT245RL_DATA_RDY() (/* Implement me! */ false) #define FT245RL_GETDATA() ({/* Implement me! */ (0);}) #define FT245RL_TX_ALLOWED() (/* Implement me! */ false) #define FT245RL_SETDATA(data) do {/* Implement me! */ (void)((data)); } while(0) #endif /* HW_FT245RL_H */