DCMotor Struct Reference

Context structure for DC motor. More...

#include <dc_motor.h>

Data Fields

const DCMotorConfigcfg
 All configuration for select DC motor.
PidContext pid_ctx
 Pid control.
int index
 DC motor id.
uint32_t status
 Status of select DC motor.
dc_speed_t tgt_speed
 Target speed for select DC motor.
ticks_t expire_time
 Amount of time that dc motor run.

Detailed Description

Context structure for DC motor.

Definition at line 93 of file dc_motor.h.


The documentation for this struct was generated from the following file: