stm32: i2c implementation for F7, L5 and L4 MCUs

This commit is contained in:
Kenneth Bell
2021-03-20 21:39:04 -07:00
committed by Ron Evans
parent 9f3dcf3733
commit 46a7993fb8
12 changed files with 421 additions and 9 deletions
+1
View File
@@ -56,6 +56,7 @@ func nanosecondsToTicks(ns int64) timeUnit {
}
// number of ticks (microseconds) since start.
//go:linkname ticks runtime.ticks
func ticks() timeUnit {
return timeUnit(tickCount.Get())
}