aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorDaniel Krueger <[email protected]>2014-04-07 14:20:32 +0200
committerLinus Walleij <[email protected]>2014-04-28 12:35:08 -0700
commit1e0d9823178f8793dec7d1e9cd08f9bee5123871 (patch)
tree6776551c46d61207f6ab6a4a5f10abf9bfabc3a4 /scripts/stackusage
parent9ea8d8102bbd32d97fe25decd4bf47ad2a63e031 (diff)
gpio-sch: set output level after configuration of direction
According to the datasheet, writing to the level register has no effect when GPIO is programmed as input. Actually the the level register is read-only when configured as input. Thus presetting the output level before switching to output is _NOT_ possible. Any writes are lost! Hence we set the level after configuring the GPIO as output. But we cannot prevent a short low pulse if direction is set to high and an external pull-up is connected. Signed-off-by: Daniel Krueger <[email protected]> Signed-off-by: Alexander Stein <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions