example of i2c slave device supporting block transfers
Dependencies: lib_i2c_slave_block
Tested on nucleo board as slave. Use with i2c_master_block_example on raspberry pi as master.
Master I2C write will print on serial terminal 115200. User button will raise an irq; the RPi test program will service the interrupt.
See lib_i2c_slave_block for explanation of code.
Revisions of cmds.h
Revision | Date | Message | Actions |
---|---|---|---|
3:0288d257446a | 2019-02-03 | indicate errors if reported by i2c | File Diff Annotate |
2:d7e05c75f240 | 2019-01-21 | add buffer for read/write integrity test | File Diff Annotate |
0:3ccfaf358115 | 2019-01-18 | initial commit | File Diff Annotate |