Zap'Em Blast'Em Robots
robots that play laser tag!
Loading...
Searching...
No Matches
motor_t Struct Reference

Motor object data structure. More...

#include <motor_driver.h>

Data Fields

TIM_HandleTypeDef * tim
uint32_t chan1
uint32_t chan2

Detailed Description

Motor object data structure.

Holds the timer handle and channel configuration for bidirectional PWM.

Field Documentation

◆ chan1

uint32_t chan1

PWM channel 1

◆ chan2

uint32_t chan2

PWM channel 2

◆ tim

TIM_HandleTypeDef* tim

Timer handle for PWM


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