ft245rl.h

Go to the documentation of this file.
00001 
00045 #ifndef DRV_FT245RL_H
00046 #define DRV_FT245RL_H
00047 
00048 #include <kern/kfile.h>
00049 #include <cfg/compiler.h>
00050 
00054 #define KFT_FT245RL MAKE_ID('F', '2', '4', '5')
00055 
00059 typedef struct Ft245rl
00060 {
00061     KFile fd; 
00062 } Ft245rl;
00063 
00064 
00068 INLINE Ft245rl * FT245RL_CAST(KFile *fd)
00069 {
00070     ASSERT(fd->_type == KFT_FT245RL);
00071     return (Ft245rl *)fd;
00072 }
00073 
00074 void ft245rl_init(Ft245rl *fd);
00075 
00076 #endif /* DRV_FT245RL_H */