Common pin definitions and board configuration options.
More...
Common pin definitions and board configuration options.
- Author
- Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
-
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t
Definition in file board.h.
Go to the source code of this file.
◆ motor_driver_config
Initial value:= {
{
.pwm_dev = 1,
.pwm_frequency = 20000U,
.pwm_resolution = 2250U,
.nb_motors = 1,
.motors = {
{
.pwm_channel = 0,
.gpio_enable = 0,
.gpio_dir0 = ARDUINO_PIN_15,
.gpio_dir1_or_brake = 0,
.gpio_dir_reverse = 0,
.gpio_enable_invert = 0,
.gpio_brake_invert = 0,
},
},
.cb = NULL,
},
}
@ MOTOR_DRIVER_1_DIR
Single GPIO for direction, \ no BRAKE.
@ MOTOR_BRAKE_HIGH
High stage brake.
Definition at line 59 of file board.h.