mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Configurable I2C clock stretching limit
Use Wire.setClockStretchLimit(limit) limit is in uSeconds
This commit is contained in:
@ -29,6 +29,7 @@ extern "C" {
|
||||
void twi_init(unsigned char sda, unsigned char scl);
|
||||
void twi_stop(void);
|
||||
void twi_setClock(unsigned int freq);
|
||||
void twi_setClockStretchLimit(uint32_t limit);
|
||||
uint8_t twi_writeTo(unsigned char address, unsigned char * buf, unsigned int len, unsigned char sendStop);
|
||||
uint8_t twi_readFrom(unsigned char address, unsigned char * buf, unsigned int len, unsigned char sendStop);
|
||||
|
||||
|
Reference in New Issue
Block a user