Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
Diff: i2c_api.h
- Revision:
- 94:9ad691361fac
- Parent:
- 66:9c8f0e3462fb
- Child:
- 98:8ab26030e058
diff -r e188a91d3eaa -r 9ad691361fac i2c_api.h --- a/i2c_api.h Tue Feb 03 15:31:20 2015 +0000 +++ b/i2c_api.h Mon Feb 16 16:32:49 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