diff options
author | David Madison <dmadison@users.noreply.github.com> | 2020-07-23 06:38:35 -0400 |
---|---|---|
committer | David Madison <dmadison@users.noreply.github.com> | 2020-07-23 06:38:35 -0400 |
commit | 41870576b451062921f9e35be411efa56be37ea1 (patch) | |
tree | 4a0f8da4185436714fccb33db8b592db8a8b83b2 /libraries/Wire/src/utility/twi.h | |
parent | 924299c159b619852d4c5eb1fc106db8a459d661 (diff) | |
parent | 3055c1efa3c6980c864f661e6c8cc5d5ac773af4 (diff) |
Merge tag '1.8.3' into upstream-updates
Release 1.8.3
Diffstat (limited to 'libraries/Wire/src/utility/twi.h')
-rw-r--r-- | libraries/Wire/src/utility/twi.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/Wire/src/utility/twi.h b/libraries/Wire/src/utility/twi.h index d27325e..85b9837 100644 --- a/libraries/Wire/src/utility/twi.h +++ b/libraries/Wire/src/utility/twi.h @@ -15,6 +15,8 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Modified 2020 by Greyson Christoforo (grey@christoforo.net) to implement timeouts */ #ifndef twi_h @@ -50,6 +52,8 @@ void twi_reply(uint8_t); void twi_stop(void); void twi_releaseBus(void); + void twi_setTimeoutInMicros(uint32_t, bool); + void twi_handleTimeout(bool); + bool twi_manageTimeoutFlag(bool); #endif - |