Functions | Variables

serv.h File Reference

This graph shows which files directly or indirectly include this file:

Functions

void tc1 (void) __attribute__((interrupt))
void init_servo (unsigned rx_isr_vect)
 Initialize servos.
void set_servo (char position)
 Sets serv position.

Variables

volatile unsigned int time_ms
 gobal time

Function Documentation

void init_servo ( unsigned  rx_isr_vect  ) 

Initialize servos.

Note:
All three servos - should be fixed FIXME

Here is the call graph for this function:

Here is the caller graph for this function:

void set_servo ( char  position  ) 

Sets serv position.

Returns:
0
Note:
VPB = APB - name conflict FIXME
Parameters:
servo define servo
position new position for servo
void tc1 ( void   ) 

Here is the caller graph for this function:


Variable Documentation

volatile unsigned int time_ms

gobal time

Note:
incremented twenty 20ms, overrun every 1194hours