1 // Martin Thomas 3/2008
\r
2 #ifndef BC100_SLAVE_H
\r
3 #define BC100_SLAVE_H
\r
5 #define BC100_SLAVE_TEST
\r
10 #define BC100_SLAVE_READ 0x00
\r
11 #define BC100_SLAVE_WRITE 0x40
\r
12 #define BC100_SLAVE_EEPROM 0x80
\r
13 #define BC100_SLAVE_SRAM 0x00
\r
16 void bc100_slave_init( void );
\r
17 uint8_t bc100_slave_read( uint8_t cmd, size_t size, void *buf );
\r
19 #ifdef BC100_SLAVE_TEST
\r
20 uint8_t bc100_slave_test(void);
\r