Describe DC motor driver with PWM device and motors array. More...
Describe DC motor driver with PWM device and motors array.
Definition at line 167 of file motor_driver.h.
#include <motor_driver.h>
| Data Fields | |
| pwm_t | pwm_dev | 
| PWM device driving motors. | |
| motor_driver_mode_t | mode | 
| driver mode | |
| motor_driver_mode_brake_t | mode_brake | 
| driver brake mode | |
| pwm_mode_t | pwm_mode | 
| PWM mode. | |
| uint32_t | pwm_frequency | 
| PWM device frequency. | |
| uint32_t | pwm_resolution | 
| PWM device resolution. | |
| uint8_t | nb_motors | 
| number of moros | |
| motor_t | motors [CONFIG_MOTOR_DRIVER_MAX] | 
| motors array | |
| motor_driver_cb_t | cb | 
| callback on motor_set | |
| motor_driver_cb_t motor_driver_config_t::cb | 
callback on motor_set
Definition at line 176 of file motor_driver.h.
| motor_driver_mode_t motor_driver_config_t::mode | 
driver mode
Definition at line 169 of file motor_driver.h.
| motor_driver_mode_brake_t motor_driver_config_t::mode_brake | 
driver brake mode
Definition at line 170 of file motor_driver.h.
| motor_t motor_driver_config_t::motors[CONFIG_MOTOR_DRIVER_MAX] | 
motors array
Definition at line 175 of file motor_driver.h.
| uint8_t motor_driver_config_t::nb_motors | 
number of moros
Definition at line 174 of file motor_driver.h.
| pwm_t motor_driver_config_t::pwm_dev | 
PWM device driving motors.
Definition at line 168 of file motor_driver.h.
| uint32_t motor_driver_config_t::pwm_frequency | 
PWM device frequency.
Definition at line 172 of file motor_driver.h.
| pwm_mode_t motor_driver_config_t::pwm_mode | 
PWM mode.
Definition at line 171 of file motor_driver.h.
| uint32_t motor_driver_config_t::pwm_resolution | 
PWM device resolution.
Definition at line 173 of file motor_driver.h.