ft245rl.h

Go to the documentation of this file.
00001 
00041 #ifndef DRV_FT245RL_H
00042 #define DRV_FT245RL_H
00043 
00044 #include <kern/kfile.h>
00045 #include <cfg/compiler.h>
00046 
00050 #define KFT_FT245RL MAKE_ID('F', '2', '4', '5')
00051 
00055 typedef struct Ft245rl
00056 {
00057     KFile fd; 
00058 } Ft245rl;
00059 
00060 
00064 INLINE Ft245rl * FT245RL_CAST(KFile *fd)
00065 {
00066     ASSERT(fd->_type == KFT_FT245RL);
00067     return (Ft245rl *)fd;
00068 }
00069 
00070 void ft245rl_init(Ft245rl *fd);
00071 
00072 #endif /* DRV_FT245RL_H */