Subversion Repositories Projects

Rev

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

Rev 761 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 _SPI_H
-
 
22
#define _SPI_H
-
 
23
 
21
/*
24
/*
22
 * structs 'n union for easy SPI transfer
25
 * structs 'n union for easy SPI transfer
23
 */
26
 */
24
typedef struct {
27
typedef struct {
25
    int16_t ampere;
28
    int16_t ampere;
Line 61... Line 64...
61
 
64
 
62
/**
65
/**
63
 * send next command through spi
66
 * send next command through spi
64
 */
67
 */
65
void spi_send_next();
68
void spi_send_next();
-
 
69
 
-
 
70
#endif