Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NUCLEO-F030R8_ExtXtalTest
Fork of mbed-src by
Diff: hal/i2c_api.h
- Revision:
- 470:07f8455214b5
- Parent:
- 13:0645d8841f51
- Child:
- 525:c320967f86b9
diff -r fc4922e0c183 -r 07f8455214b5 hal/i2c_api.h --- 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