forked from liyanboy74/soft-i2c
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
# Soft I2C | ||
|
||
That is Edited version of [Original version](https://schkorea.tistory.com/437) for stm32 | ||
|
||
原作者:https://schkorea.tistory.com/437 | ||
|
||
精简了部分代码,增加8/16bit寄存器地址的突发(连续)读写函数 | ||
|
||
移植到展锐8850平台 | ||
Features: | ||
- various speed support (400 clock pulses per second and more on 288 MHz CPU) | ||
- multi-bus support | ||
- transmit/receive in blocking mode only | ||
- no interrupts, no timers required | ||
- concurrent access protected (mutex) | ||
- support for reading without a register | ||
|
||
Tested on FreeRTOS 10, Artery AT32f437, zero loss on 1000 samples | ||
|
||
# Fork source | ||
https://github.com/liyanboy74/soft-i2c |