TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 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 (136797 times)
  2. FAT32 Library (69982 times)
  3. Network Ethernet Library (55951 times)
  4. USB Device Library (46274 times)
  5. Network WiFi Library (41892 times)
  6. FT800 Library (41187 times)
  7. GSM click (28989 times)
  8. PID Library (26420 times)
  9. mikroSDK (26375 times)
  10. microSD click (25382 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: 541 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

Controlling a PIC Microcontroller from a PC Graphical User Interface (GUI)

0

In this article we are going to design a Graphical User Interface using C#. The computer will connect to the microcontroller using an RS232 serial cable. The PIC microcontroller will receive commands from the computer to control devices connected to it such as motors, LEDs etc.

[Learn More]

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]

PS2 Mouse Read

5

Returns the Delta X (hor), the Delta Y values (vert), the Delta Z (scrolwheel) values and the button status if one of those has changed. Only tested on P18 with 48 MHz MCU clock (will work probably also on 16 and on lower MCU clock speeds).

[Learn More]