Subversion Repositories MK3Mag

Rev

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

Rev 37 Rev 40
Line 2... Line 2...
2
#define _TWI_SLAVE_H_
2
#define _TWI_SLAVE_H_
Line 3... Line 3...
3
 
3
 
Line 4... Line 4...
4
#include <inttypes.h>
4
#include <inttypes.h>
5
 
5
 
Line 6... Line 6...
6
#define I2C_SLAVE_ADDRESS               0x50
6
#define I2C_SLAVE_ADDRESS               0x50
7
#define I2C_PROTOCOL_COMP               1
7
#define I2C_PROTOCOL_COMP               2
8
 
8
 
9
#define I2C_CMD_VERSION                 0x01
9
#define I2C_CMD_VERSION                 0x01