Loading...
Searching...
No Matches
servo_timer_params_t Struct Reference

Timer configuration parameters for a servos. More...

Detailed Description

Timer configuration parameters for a servos.

Definition at line 110 of file servo.h.

#include <servo.h>

Data Fields

tim_t timer
 Timer to use.
 
uint32_t timer_freq
 Timer frequency to use.
 
uint16_t servo_freq
 Servo frequency (typically 50 Hz or 100 Hz)
 
servo_timer_ctx_tctx
 Per-timer state needed for book keeping.
 

Field Documentation

◆ ctx

servo_timer_ctx_t* servo_timer_params_t::ctx

Per-timer state needed for book keeping.

Definition at line 114 of file servo.h.

◆ servo_freq

uint16_t servo_timer_params_t::servo_freq

Servo frequency (typically 50 Hz or 100 Hz)

Definition at line 113 of file servo.h.

◆ timer

tim_t servo_timer_params_t::timer

Timer to use.

Definition at line 111 of file servo.h.

◆ timer_freq

uint32_t servo_timer_params_t::timer_freq

Timer frequency to use.

Definition at line 112 of file servo.h.


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