Loading...
Searching...
No Matches
servo_timer_ctx_t Struct Reference

Memory needed for book keeping when using periph_timer_periodic based servo driver. More...

Detailed Description

Memory needed for book keeping when using periph_timer_periodic based servo driver.

Definition at line 97 of file servo.h.

#include <servo.h>

Data Fields

servo_tservo_map [SERVO_TIMER_MAX_CHAN]
 Look up table to get from channel.
 

Field Documentation

◆ servo_map

servo_t* servo_timer_ctx_t::servo_map[SERVO_TIMER_MAX_CHAN]

Look up table to get from channel.

Note
Since timer channel 0 is used to set all servo pins, we use chan - 1 as idx rather than chan to not waste one entry.

Definition at line 104 of file servo.h.


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