Defines | Functions | Variables
scheduler.c File Reference
#include <avr/io.h>
#include <avr/interrupt.h>
#include <publisher.h>
#include <scheduler.h>
#include <servo.h>
#include <stepper.h>
#include <utils.h>
Include dependency graph for scheduler.c:

Go to the source code of this file.

Defines

#define SCHED1   25
 AVR includes.

Functions

 ISR (TIMER4_COMPA_vect)
int8_t scheduler_Get_sl1 ()
void scheduler_init ()
void scheduler_layer0 ()
void scheduler_layer1 ()
void scheduler_Set_sl1 (int8_t stat)

Variables

static uint8_t p_count
static char sl1_isEnabled
static uint8_t t_count

Detailed Description

Code for scheduler. In this case, regulates the output throughput

Version:
1.0
Author:
Julio Sagardoy

Definition in file scheduler.c.


Define Documentation

#define SCHED1   25

AVR includes.

Own includes

Definition at line 28 of file scheduler.c.


Function Documentation

ISR ( TIMER4_COMPA_vect  )

avoid interrupts

reactivate interrupts

Definition at line 92 of file scheduler.c.

int8_t scheduler_Get_sl1 ( void  )

Definition at line 78 of file scheduler.c.

void scheduler_init ( void  )

Scheduler init routine

Definition at line 114 of file scheduler.c.

void scheduler_layer0 ( void  )

Check whether its time to pan

Check whether its time to tilt

Definition at line 34 of file scheduler.c.

void scheduler_layer1 ( void  )

Layer 1 gets updated position and sends them

Definition at line 84 of file scheduler.c.

void scheduler_Set_sl1 ( int8_t  stat)

Get-set scheduler value

Definition at line 75 of file scheduler.c.


Variable Documentation

uint8_t p_count [static]

Definition at line 31 of file scheduler.c.

char sl1_isEnabled [static]

Definition at line 30 of file scheduler.c.

uint8_t t_count [static]

Definition at line 32 of file scheduler.c.



cob_3d_mapping_demonstrator
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:03:46