RSeries astromech firmware
ServoDispatchPrivate.h File Reference
+ Include dependency graph for ServoDispatchPrivate.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define USE_TIMER1
 
#define SERVOS_PER_TIMER   12
 
#define MAX_SERVOS   (kNumTimers16 * SERVOS_PER_TIMER)
 
#define SERVO_INDEX(_timer, _channel)   ((_timer*SERVOS_PER_TIMER) + _channel)
 

Functions

 ISR (TIMER1_COMPA_vect)
 

Macro Definition Documentation

◆ MAX_SERVOS

#define MAX_SERVOS   (kNumTimers16 * SERVOS_PER_TIMER)

◆ SERVO_INDEX

#define SERVO_INDEX (   _timer,
  _channel 
)    ((_timer*SERVOS_PER_TIMER) + _channel)

◆ SERVOS_PER_TIMER

#define SERVOS_PER_TIMER   12

◆ USE_TIMER1

#define USE_TIMER1

Function Documentation

◆ ISR()

ISR ( TIMER1_COMPA_vect  )