TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136550 times)
  2. FAT32 Library (69743 times)
  3. Network Ethernet Library (55848 times)
  4. USB Device Library (46186 times)
  5. Network WiFi Library (41806 times)
  6. FT800 Library (40999 times)
  7. GSM click (28926 times)
  8. PID Library (26385 times)
  9. mikroSDK (26288 times)
  10. microSD click (25301 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: 540 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

USE GAL22V20 AND PROTEUS

0

SHOW HOE USE AND CONFIGURE GAL22V20 AND PROTEUS VIDEO: https://youtu.be/5MvzTkgMiIw

[Learn More]

Using remapping pins to get 2 multiplexed hardware serial ports

0

Using remapping pins to get 2 multiplexed hardware serial ports Video: https://youtu.be/aMOxtDKU2Lo

[Learn More]

MPLABX XC8 SMBUS I2C SLAVE ACER BATTERY PIC18F2550

0

SMBUS - I2C communication implementation in slave mode. Recognition commands and sending data to the host. Warning: Not ready to replace the actual battery. This code is only reference to standard operating observation SMBUS. More info: http://smbus.org/specs/ http://smbus.org/specs/smbus110.pdf

[Learn More]