BeRTOS
|
Low-level stepper timer module for AVR (inplementation). More...
#include "stepper_avr.h"
#include "cfg/cfg_stepper.h"
#include <cfg/macros.h>
#include <cfg/debug.h>
#include <cpu/types.h>
#include <cpu/irq.h>
Go to the source code of this file.
Functions | |
void | stepper_tc_setup (int index, stepper_isr_t callback, struct Stepper *motor) |
< Static array of timer counter struct for stepper. | |
void | stepper_tc_init (void) |
Timer counter init. |
Low-level stepper timer module for AVR (inplementation).
Definition in file stepper_avr.c.
void stepper_tc_setup | ( | int | index, |
stepper_isr_t | callback, | ||
struct Stepper * | motor | ||
) |
< Static array of timer counter struct for stepper.
Timer couter setup.
Timer couter setup.
This function apply to select timer couter all needed settings. Every settings are stored in stepper_timers[].
Definition at line 70 of file stepper_avr.c.