ETB documentation improvement?
This commit is contained in:
parent
07222f68c0
commit
0075f9492c
|
@ -2,6 +2,9 @@
|
||||||
* @file electronic_throttle.cpp
|
* @file electronic_throttle.cpp
|
||||||
* @brief Electronic Throttle driver
|
* @brief Electronic Throttle driver
|
||||||
*
|
*
|
||||||
|
*
|
||||||
|
* Limited user documentation at https://github.com/rusefi/rusefi_documentation/wiki/HOWTO_electronic_throttle_body
|
||||||
|
*
|
||||||
* todo: make this more universal if/when we get other hardware options
|
* todo: make this more universal if/when we get other hardware options
|
||||||
*
|
*
|
||||||
* Sep 2019 two-wire TLE9201 official driving around the block! https://www.youtube.com/watch?v=1vCeICQnbzI
|
* Sep 2019 two-wire TLE9201 official driving around the block! https://www.youtube.com/watch?v=1vCeICQnbzI
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
/**
|
/**
|
||||||
* @file dc_motor.h
|
* @file dc_motor.h
|
||||||
|
*
|
||||||
|
* ETB user documentation at https://github.com/rusefi/rusefi_documentation/wiki/HOWTO_electronic_throttle_body
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @date Dec 22, 2018
|
* @date Dec 22, 2018
|
||||||
* @author Matthew Kennedy, (c) 2018
|
* @author Matthew Kennedy, (c) 2018
|
||||||
*/
|
*/
|
||||||
|
@ -35,13 +38,8 @@ public:
|
||||||
class SimplePwm;
|
class SimplePwm;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Represents a DC motor controller (H bridge) with one pin for enable (PWM),
|
* @brief Represents a DC motor controller (H-bridge) with some combination of PWM and on/off control pins.
|
||||||
* and two pins for direction control.
|
*
|
||||||
*
|
|
||||||
* The enable pin is used for PWM and disable, and the two direction pins are used
|
|
||||||
* to set the polarity of each half of the H bridge. setting {dir1,dir2} = 10 should,
|
|
||||||
* turn the motor one direction (positive duty), and = 01 should turn the other way (negative
|
|
||||||
* duty).
|
|
||||||
*/
|
*/
|
||||||
class TwoPinDcMotor : public DcMotor
|
class TwoPinDcMotor : public DcMotor
|
||||||
{
|
{
|
||||||
|
@ -54,6 +52,11 @@ public:
|
||||||
*/
|
*/
|
||||||
PwmDirectionPins,
|
PwmDirectionPins,
|
||||||
/**
|
/**
|
||||||
|
* The control/enable pin is used for PWM and disable, and the two direction pins are used
|
||||||
|
* to set the polarity of each half of the H bridge. setting {dir1,dir2} = 10 should,
|
||||||
|
* turn the motor one direction (positive duty), and = 01 should turn the other way (negative
|
||||||
|
* duty).
|
||||||
|
*
|
||||||
* For example VNH2SP30 - three control wires:
|
* For example VNH2SP30 - three control wires:
|
||||||
* PWM on 'enable' PIN, two binary pins for direction
|
* PWM on 'enable' PIN, two binary pins for direction
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue