1 #ifndef _L3_H_ 2 #define _L3_H_ 1 3 4 struct l3_pins { 5 void (*setdat)(int); 6 void (*setclk)(int); 7 void (*setmode)(int); 8 int data_hold; 9 int data_setup; 10 int clock_high; 11 int mode_hold; 12 int mode; 13 int mode_setup; 14 }; 15 16 int l3_write(struct l3_pins *adap, u8 addr, u8 *data, int len); 17 18 #endif 19