Am Donnerstag, den 07.07.2011, 12:15 +0200 schrieb Detlev Zundel:
Hi Wolfgang,
Dear Detlev Zundel,
In message m2aacrlsen@ohwell.denx.de you wrote:
I'd say clear/set/toggle are changeable, don't see any legit
return-value-usage here. For 100% backward compatibility, one could
On Fri, Jul 15, 2011 at 03:39, Detlev Zundel wrote:
On Wednesday, July 06, 2011 06:36:00 Wolfgang Denk wrote:
For consistency I would prefer to have all commands return the same
type of information, i. e. either an error status (like we do with all
other commands - any result values would then
Hi Mike,
On Wednesday, July 06, 2011 06:36:00 Wolfgang Denk wrote:
For consistency I would prefer to have all commands return the same
type of information, i. e. either an error status (like we do with all
other commands - any result values would then have to be passed as
environment
On Wednesday, July 06, 2011 06:36:00 Wolfgang Denk wrote:
For consistency I would prefer to have all commands return the same
type of information, i. e. either an error status (like we do with all
other commands - any result values would then have to be passed as
environment settings)
going
Hi Wolfgang,
Dear Detlev Zundel,
In message m2aacrlsen@ohwell.denx.de you wrote:
I'd say clear/set/toggle are changeable, don't see any legit
return-value-usage here. For 100% backward compatibility, one could
leave them as they are and use 0|1 as new actions with return 0, as
Hi Andreas,
I'd say clear/set/toggle are changeable, don't see any legit
return-value-usage here. For 100% backward compatibility, one could
leave them as they are and use 0|1 as new actions with return 0, as
proposed.
So these variants:
gpio clear|0 = set to output, write 0, return
Dear Detlev Zundel,
In message m2aacrlsen@ohwell.denx.de you wrote:
I'd say clear/set/toggle are changeable, don't see any legit
return-value-usage here. For 100% backward compatibility, one could
leave them as they are and use 0|1 as new actions with return 0, as
proposed.
Hm... I
As of today (2011.06), the generic gpio command (common/cmd_gpio.c)
gpio input|set|clear|toggle portpin
- input/set/clear/toggle the specified pin (e.g. PF10)
always returns the value read or set.
While this is sensible for read (input) and maybe (questionable) for
toggle, I
On Tuesday, July 05, 2011 12:59:16 Andreas Pretzsch wrote:
As of today (2011.06), the generic gpio command (common/cmd_gpio.c)
gpio input|set|clear|toggle portpin
- input/set/clear/toggle the specified pin (e.g. PF10)
always returns the value read or set.
While this is
Am Dienstag, den 05.07.2011, 13:44 -0400 schrieb Mike Frysinger:
On Tuesday, July 05, 2011 12:59:16 Andreas Pretzsch wrote:
As of today (2011.06), the generic gpio command (common/cmd_gpio.c)
gpio input|set|clear|toggle portpin
- input/set/clear/toggle the specified pin (e.g.
On Tuesday, July 05, 2011 15:15:15 Andreas Pretzsch wrote:
Am Dienstag, den 05.07.2011, 13:44 -0400 schrieb Mike Frysinger:
unintentional side effects like gpio value. then we could change all
the others to return 0/1 based on whether they succeeded, not based on
the level of the gpio pin.
11 matches
Mail list logo