99 int mask_mode_pulse_d2 = 0x00;
100 int mask_pulse_d1 = 0x02;
101 unsigned char data = 0x00;
105 data = data | mask_pulse_d1 | mask_mode_pulse_d2;
110 struct timeval ti, tc;
111 struct timeval tempo;
113 gettimeofday(&ti, 0L);
115 gettimeofday(&tc, 0L);
116 }
while (tc.tv_usec < ti.tv_usec + tempo.tv_usec);
118 data = data & (~mask_pulse_d1);