mbed library sources
Fork of mbed-src by
Diff: hal/i2c_api.h
- Revision:
- 470:07f8455214b5
- Parent:
- 13:0645d8841f51
--- a/hal/i2c_api.h Mon Feb 09 09:30:07 2015 +0000 +++ b/hal/i2c_api.h Wed Feb 11 08:30:07 2015 +0000 @@ -46,6 +46,8 @@ int i2c_slave_receive(i2c_t *obj); int i2c_slave_read (i2c_t *obj, char *data, int length); int i2c_slave_write (i2c_t *obj, const char *data, int length); +int i2c_slave_byte_read(i2c_t *obj, int last); +int i2c_slave_byte_write(i2c_t *obj, int data); void i2c_slave_address(i2c_t *obj, int idx, uint32_t address, uint32_t mask); #endif