lkml.org 
[lkml]   [2009]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] gpio sysfs: add a "toggle" value
On Thu, 4 Jun 2009 04:52:35 -0400 Mike Frysinger <vapier.adi@gmail.com> wrote:

> my next request was for a 1 letter command set and chaining
> operations. say you want to toggle a gpio line 4 times, having to go
> between kernel and userspace for that seems kind of heavy.
> echo TTTT > value

I was wondering whether "t" would be better than "toggle".

If you're going to do that, wouldn't you need a "d"(elay) too? To
prevent large variations in interval between different platforms. 1
millisec, perhaps.

0d1dd0d1ddd0d1, too.

This could be fun.


\
 
 \ /
  Last update: 2009-06-04 11:09    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site