Tool to recover from an I2C bus lockup on the KL25Z
Embed:
(wiki syntax)
Show/hide line numbers
I2C_busreset.h
00001 /************************************************************************************************** 00002 ***** ***** 00003 ***** Name: KL25Z I2C_busreset.h ***** 00004 ***** Date: 24/11/2013 ***** 00005 ***** Auth: Frank Vannieuwkerke ***** 00006 ***** Func: library for unblocking I2C bus on KL25Z board ***** 00007 ***** Info: MPL3115A2-AN4481 ***** 00008 **************************************************************************************************/ 00009 00010 #include "mbed.h" 00011 00012 #ifndef KL25Z_I2C_RES_H 00013 #define KL25Z_I2C_RES_H 00014 00015 void I2C_busreset(void); 00016 00017 #endif
Generated on Mon Jul 18 2022 05:11:37 by 1.7.2