path: root/digital/avr/modules/motor/output/output.txt
diff options
authorNicolas Schodet2012-04-12 01:00:56 +0200
committerNicolas Schodet2012-04-12 01:00:56 +0200
commit6aa0c014072a6f1bc9decd4c1ed73a8eced50018 (patch)
tree065d2f28fca9735c9c54b9b8a2cc291bbe0ecde8 /digital/avr/modules/motor/output/output.txt
parentcc86d56d1fe75a50a89b98ec4c3d5b57b06e4372 (diff)
digital/avr/modules/motor/output: add brake control
Diffstat (limited to 'digital/avr/modules/motor/output/output.txt')
1 files changed, 4 insertions, 0 deletions
diff --git a/digital/avr/modules/motor/output/output.txt b/digital/avr/modules/motor/output/output.txt
index e63ca61a..7ab24aa5 100644
--- a/digital/avr/modules/motor/output/output.txt
+++ b/digital/avr/modules/motor/output/output.txt
@@ -25,6 +25,10 @@ filter value (saturation with `max`, dead zone with `min`, optional negation
if `reverse` is set) and store it for next update. Each output hardware will
reflect this value once `output_update` is called.
+You can engage of disengage brake using `output_brake` if the output hardware
+supports it. Brake is always engaged once a non zero output value is
+requested. It will also be updated once `output_update` is called.
An output can be reversed by setting the `reverse` field before `output_init`
is called or using `output_set_reverse` function.