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 (142040 times)
  2. FAT32 Library (75267 times)
  3. Network Ethernet Library (59482 times)
  4. USB Device Library (49501 times)
  5. Network WiFi Library (45276 times)
  6. FT800 Library (44896 times)
  7. GSM click (31422 times)
  8. mikroSDK (30422 times)
  9. microSD click (27782 times)
  10. PID Library (27618 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: 590 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

ESP8266

0

ESP8266 Example

[Learn More]

Management mcp23s17 with PIC18F45K22 .

0

The management of the port expander mcp23s17 is made using the PIC18F45K22 .The device is read using an interrupt of CCP4 required now from port A when there is a change of state of one of its 8 input pins , which are connected to the buttons.The pressed key is recognized.

[Learn More]

Software UART using TMR0 Interrupt, and ring buffer

0

This is a C coded sw UART, based on AN555. You can choose serial frame handling: bit number, Parity and Handshake . With TMR0 interruptions, and larger buffer, the TX/RX could run silently, freeing the main code. Here, an EasyBluetooth was handled by sw UART, connected to FT232 on a Ready for PIC board, in a back-to-back bridge.

[Learn More]