Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
508 kaklik 1
/* 
2
 * Copyright (C) 2004 Darren Hutchinson (dbh@gbdt.com.au)
3
 * 
4
 * This program is free software; you can redistribute it and/or modify
5
 * it under the terms of the GNU Library General Public License as published by
6
 * the Free Software Foundation; either version 2 of the License, or (at your
7
 * option) any later version.
8
 *
9
 * This program is distributed in the hope that it will be useful, but
10
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
12
 * License for more details.
13
 * 
14
 * You should have received a copy of the GNU Library General Public License
15
 * along with this software; see the file COPYING.  If not, write to
16
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
17
 * MA 02111-1307, USA. 
18
 *
19
 * $Id: driver.h,v 1.1.1.1 2004/02/22 08:12:42 dbh Exp $
20
 */
21
 
22
#ifndef _DRIVER_H_
23
#define _DRIVER_H_
24
 
25
/* This file contains the interface for the actual stepper motor driver */
26
 
27
/* Bit use to connect to the "magic" relay that determines which
28
 * set ot RA coils are connected. This allows low current operation when
29
 * not slewing at high speed
30
 */
31
#define MAGIC_PORT      PORTB
32
#define MAGIC_DDR       DDRB
33
#define MAGIC_BIT       PB4
34
 
35
/* Interface prototypes */
36
void driverInit(void);
37
 
38
#endif /* _DRIVER_H_ */
39