aboutsummaryrefslogtreecommitdiff
path: root/examples/hwapi
diff options
context:
space:
mode:
authorPaul Sokolovsky2017-02-08 11:14:23 +0300
committerPaul Sokolovsky2017-02-08 11:14:23 +0300
commit181f7d145002731e5baec0f2c43ac57818447f8b (patch)
tree85ac35d44c58eb18b0b394755c31a97d8707b974 /examples/hwapi
parent7ae9bee7905601a827f3d216300f917afbacf07e (diff)
extmod/machine_signal: Implement Signal .on() and .off() methods.
Each method asserts and deasserts signal respectively. They are equivalent to .value(1) and .value(0) but conceptually simpler (and may help to avoid confusion with inverted signals, where "asserted" state means logical 0 output).
Diffstat (limited to 'examples/hwapi')
0 files changed, 0 insertions, 0 deletions