TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
TM_SERVO_t Struct Reference

Servo structure. More...

#include <tm_stm32f4_servo.h>

Data Fields

TM_PWM_TIM_t PWM
 
TIM_TypeDef * TIM
 
TM_PWM_Channel_t Channel
 
TM_PWM_PinsPack_t Pinspack
 
float Degrees
 
uint16_t Micros
 

Detailed Description

Servo structure.

Field Documentation

Output channel on specific timer

float Degrees

Position of servo in degrees

uint16_t Micros

Pulse length in micro seconds for current servo position

Pinspack for specific channel

PWM settings

TIM_TypeDef* TIM

Pointer to specific timer you will use for servo