The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: i2c_api.h
- Revision:
- 102:da0ca467f8b5
- Parent:
- 98:8ab26030e058
- Child:
- 118:082adc85693f
--- a/i2c_api.h Tue Jun 09 14:29:26 2015 +0100 +++ b/i2c_api.h Wed Jul 08 11:22:30 2015 +0100 @@ -191,7 +191,7 @@ * @param handler The I2C IRQ handler to be set * @param hint DMA hint usage */ -void i2c_transfer_asynch(i2c_t *obj, void *tx, size_t tx_length, void *rx, size_t rx_length, uint32_t address, uint32_t stop, uint32_t handler, uint32_t event, DMAUsage hint); +void i2c_transfer_asynch(i2c_t *obj, const void *tx, size_t tx_length, void *rx, size_t rx_length, uint32_t address, uint32_t stop, uint32_t handler, uint32_t event, DMAUsage hint); /** The asynchronous IRQ handler * @param obj The I2C object which holds the transfer information