Re: Putting artificial delays in a char driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I can't say I have understood your scenario completely. Maybe you
could turn your LED on when you want to (say in the ISR) and then
start a kernel timer of sufficient duration. In the timer expiry
handler, you could switch it off. By adjusting the duration, you could
make sure that the LED stays on long enough to be visible.

Regards,
Felix.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux