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.
i2c_api.h
00001 /* Hardware API (HAL) For I2C Peripheral Access */ 00002 #include "mbed.h" // peripheral access library 00003 extern I2C *mbed_i2c; // global i2c peripheral object 00004 00005 int8_t _i8I2CWrite (uint8_t u8Cmd, uint8_t *u8Data, uint8_t u8Size); 00006 int8_t _i8I2CWriteByte (uint8_t u8Cmd); 00007 int8_t _i8I2CRead (uint8_t u8Cmd, uint8_t *u8Data, uint8_t u8Size, uint8_t u8Ack); 00008 int8_t _i8I2CReadByte (uint8_t u8Ack); 00009 void _vI2CStart (void); 00010 void _vI2CStop (void);
Generated on Sun Jul 17 2022 22:35:34 by
1.7.2