DCMotorConfig Struct Reference
DC motor configuration stucture. More...
#include <dc_motor.h>
Data Fields | |
| PidCfg | pid_cfg |
| Pid control. | |
| PwmDev | pwm_dev |
| Pwm channel. | |
| pwm_freq_t | freq |
| Pwm waveform frequency. | |
| bool | pol |
| Pwm waveform polarity. | |
| adc_ch_t | adc_ch |
| ADC channel. | |
| adcread_t | adc_max |
| ADC max scale value. | |
| adcread_t | adc_min |
| ADC min scale value. | |
| mtime_t | sample_delay |
| Delay before to sampling. | |
| bool | dir |
| Default direction for select DC motor. | |
| int | speed_trm_id |
| Index of trimmer to set speed. | |
| dc_speed_t | speed |
| Default speed value for select DC motor. | |
Detailed Description
DC motor configuration stucture.
Definition at line 74 of file dc_motor.h.
The documentation for this struct was generated from the following file:
