[lkml]   [2008]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Toggling GPIO at 38Khz
    Jon Smirl wrote:

    > The existing LIRC driver for a serial port is here:

    That driver basically does busy-wait bitbanging, using rdtsc on x86 if
    available or udelay() if not.

    Your best bet is probably to use hrtimers combined with high res
    timestamps to correct for accumulated error.


     \ /
      Last update: 2008-10-08 19:03    [W:0.021 / U:11.256 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site