TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (402 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (129 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 (140775 times)
  2. FAT32 Library (73360 times)
  3. Network Ethernet Library (58201 times)
  4. USB Device Library (48386 times)
  5. Network WiFi Library (43981 times)
  6. FT800 Library (43538 times)
  7. GSM click (30471 times)
  8. mikroSDK (29175 times)
  9. PID Library (27173 times)
  10. microSD click (26848 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: 568 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

DMX 512 Receiver MikroC PRO

0

It is a simple code how to make DMX 512 receiver, using PIC18F4520 and Mikroelektronika's RS485 Click board. Temporary, the device uses two DMX Channels, displayed on 2x16 characters parallel LCD. Thanks to Daan Tamsyn for the support!

[Learn More]

i2c_software

0

I share with you an i2c software library(without library of mikroc) In this example ,we are gonna write values an i2c device dac mcp4725 to get sine wave in the exit.

[Learn More]

PIC18F14K50 USB HID LIBRARY

0

The PIC18F14K50 brings advanced features and exceptional value to the embedded USB market. This low cost PIC® Microcontroller features a full speed USB 2.0 compliant interface that can automatically change clock sources and power levels upon connection to a host, making it an exceptional device for battery-powered applications.

[Learn More]