mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 21:13:39 +00:00
committed by
Ayke van Laethem
parent
8f7b7e6ee3
commit
e4fa1a8288
@@ -0,0 +1,9 @@
|
||||
// +build avr nrf
|
||||
|
||||
package machine
|
||||
|
||||
// TWI_FREQ is the I2C bus speed. Normally either 100 kHz, or 400 kHz for high-speed bus.
|
||||
const (
|
||||
TWI_FREQ_100KHZ = 100000
|
||||
TWI_FREQ_400KHZ = 400000
|
||||
)
|
||||
Reference in New Issue
Block a user