TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141771 times)
  2. FAT32 Library (74870 times)
  3. Network Ethernet Library (59261 times)
  4. USB Device Library (49254 times)
  5. Network WiFi Library (45054 times)
  6. FT800 Library (44604 times)
  7. GSM click (31251 times)
  8. mikroSDK (30176 times)
  9. microSD click (27627 times)
  10. PID Library (27550 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

I2C Library functions with timeout for STM32

Rating:

0

Author: Geoff Ward

Last Updated: 2016-07-14

Package Version: 1.0.0.0

Category: Communication

Downloaded: 588 times

Followed by: 1 user

License: MIT license  

In the current I2C mikroe library for STM32 devices, there is no timeout function.
So if an I2C device fails to respond, the software hangs.
The library provided here allows a timeout period to be set in µs- if the device does not respond within the timeout period, the called function ends setting a status condition.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "I2C Library functions with timeout for STM32" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "I2C Library functions with timeout for STM32" changes.

Do you want to report abuse regarding "I2C Library functions with timeout for STM32".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog

Blog currently doesn't exist!

RELATED CODES

Serial Peripheral Interface (Master-Multislaves)

0

This code demonstrates how to implement SPI master and two slaves to control the direction of a motor mounted to each slave. Proteus ISIS model is included.

[Learn More]

Motor control by virtual terminal

0

This is an example of how to use the uart peripheral to control a motor. When we writing an right access number, we can turn off or turn on a motor. If we write the access number wrong then an alarm will be activated also we can change the acess number and save it in the eeprom. This code was made pic16f887.

[Learn More]

Andro-Arduino Bluetooth Relay Control

0

This is a simple relay controller based on Arduino and Android platform. An Android device is used to connect to an Arduino Nano board via Bluetooth to control four relays wirelessly.

[Learn More]