Subversion Repositories Projects

Rev

Rev 736 | Rev 783 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 736 Rev 762
Line 16... Line 16...
16
 *   along with this program; if not, write to the                          *
16
 *   along with this program; if not, write to the                          *
17
 *   Free Software Foundation, Inc.,                                        *
17
 *   Free Software Foundation, Inc.,                                        *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
19
 ****************************************************************************/
19
 ****************************************************************************/
20
 
20
 
-
 
21
#ifndef _MAX7456_SOFTWARE_SPI_H
-
 
22
#define _MAX7456_SOFTWARE_SPI_H
-
 
23
 
-
 
24
 
21
/* ##########################################################################
25
/* ##########################################################################
22
 * Software SPI to communicate with MAX7456
26
 * Software SPI to communicate with MAX7456
23
 * ##########################################################################*/
27
 * ##########################################################################*/
24
#define MAX_CS_HIGH             PORTA |=  (1 << PA1);
28
#define MAX_CS_HIGH             PORTA |=  (1 << PA1);
25
#define MAX_CS_LOW              PORTA &= ~(1 << PA1);
29
#define MAX_CS_LOW              PORTA &= ~(1 << PA1);
Line 137... Line 141...
137
 
141
 
138
/**
142
/**
139
 * wirte a <position> at <x>/<y> assuming it is a gps position for long-/latitude
143
 * wirte a <position> at <x>/<y> assuming it is a gps position for long-/latitude
140
 */
144
 */
141
void write_gps_pos(uint8_t, uint8_t, int32_t);
145
void write_gps_pos(uint8_t, uint8_t, int32_t);
-
 
146
 
-
 
147
#endif