BeRTOS
|
00001 00044 #ifndef DRV_FT245RL_H 00045 #define DRV_FT245RL_H 00046 00047 #include <io/kfile.h> 00048 #include <cfg/compiler.h> 00049 00053 #define KFT_FT245RL MAKE_ID('F', '2', '4', '5') 00054 00058 typedef struct Ft245rl 00059 { 00060 KFile fd; 00061 } Ft245rl; 00062 00063 00067 INLINE Ft245rl * FT245RL_CAST(KFile *fd) 00068 { 00069 ASSERT(fd->_type == KFT_FT245RL); 00070 return (Ft245rl *)fd; 00071 } 00072 00073 void ft245rl_init(Ft245rl *fd); 00074 00075 #endif /* DRV_FT245RL_H */