mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 21:43:40 +00:00
avr: remove I2C stubs from attiny support
These stubs don't really belong there: attiny currently doesn't directly support I2C at all (although it has hardware to support a software implementation).
This commit is contained in:
committed by
Ron Evans
parent
0535c1bbad
commit
71bbe93ab2
@@ -9,6 +9,13 @@ import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
// I2C on AVR.
|
||||
type I2C struct {
|
||||
}
|
||||
|
||||
// I2C0 is the only I2C interface on most AVRs.
|
||||
var I2C0 = I2C{}
|
||||
|
||||
// I2CConfig is used to store config info for I2C.
|
||||
type I2CConfig struct {
|
||||
Frequency uint32
|
||||
|
||||
Reference in New Issue
Block a user