stepper_avr.c File Reference
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. | |
Detailed Description
Low-level stepper timer module for AVR (inplementation).
- Version:
- Id
- stepper_avr.c 1456 2008-06-11 17:51:39Z asterix
Definition in file stepper_avr.c.
Function Documentation
| 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 71 of file stepper_avr.c.
