mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-03-22 09:41:00 +03:00
rename G0:G070
This commit is contained in:
16
G0:G070,G0B1/i2c/README
Normal file
16
G0:G070,G0B1/i2c/README
Normal file
@@ -0,0 +1,16 @@
|
||||
I2C @ PB6/PB7
|
||||
Scan available addresses, read/write data directly or over DMA
|
||||
|
||||
Proto:
|
||||
|
||||
i0..2 - setup I2C with lowest..highest speed (7.7, 10 and 100kHz)
|
||||
Ia addr - set I2C address
|
||||
Ig - dump content of I2Cbuf
|
||||
Iw bytes - send bytes (hex/dec/oct/bin) to I2C
|
||||
IW bytes - the same over DMA
|
||||
Ir reg n - read n bytes from I2C reg
|
||||
I2 reg16 n - read n bytes from 16-bit register
|
||||
In n - just read n bytes
|
||||
IN n - the same but with DMA
|
||||
Is - scan I2C bus
|
||||
U - send long buffer over USART
|
||||
Reference in New Issue
Block a user