diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-11-30 15:08:34 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-12-02 15:46:12 -0800 |
| commit | 26229efe78f6c5f8598d6f9f1b2261c5a84d7a7b (patch) | |
| tree | 52db4d80c256af97639543bbc814a238ce7acdc8 /py/stackctrl.c | |
| parent | 03f49f8209e9a35524864960c3c90db5343b35b3 (diff) | |
Add try_lock and unlock to I2C and SPI classes to make sure things
are shared well between threads and underlying MicroPython (SPI Flash
for example.)
It is recommended to use the bus device classes to manage the locks
and other transaction state.
https://github.com/adafruit/Adafruit_MicroPython_BusDevice
Fixed #58
Fixed #59
Fixed #60
Diffstat (limited to 'py/stackctrl.c')
0 files changed, 0 insertions, 0 deletions
