Subversion Repositories FlightCtrl

Rev

Rev 687 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 687 Rev 694
Line 16... Line 16...
16
#define I2C_TX_DATA_ACK    0x28
16
#define I2C_TX_DATA_ACK    0x28
17
#define I2C_RX_SLA_ACK     0x40
17
#define I2C_RX_SLA_ACK     0x40
Line 18... Line 18...
18
#define I2C_RX_DATA_ACK    0x50
18
#define I2C_RX_DATA_ACK    0x50
Line 19... Line 19...
19
 
19
 
20
//############################################################################
20
//############################################################################
21
 
21
 
22
extern uint8_t twi_state;
22
extern volatile uint8_t twi_state;
Line 23... Line 23...
23
extern uint8_t motor;
23
extern volatile uint8_t motor;
24
extern uint8_t motorread;
24
extern volatile uint8_t motorread;
25
extern uint8_t motor_rx[8];
25
extern volatile uint8_t motor_rx[8];
26
 
26
 
27
void i2c_reset(void);
27
void i2c_reset(void);
28
extern void i2c_init (void); // I2C initialisieren
28
extern void i2c_init (void); // I2C initialisieren
Line 29... Line 29...
29
extern char i2c_start (void); // Start I2C
29
extern void i2c_start (void); // Start I2C