circuitpython/shared-bindings/nativeio
Scott Shawcroft 26229efe78 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
2016-12-02 15:46:12 -08:00
..
__init__.c shared-bindings: Fix blinky example. Fixes #55 2016-11-29 14:37:25 -08:00
__init__.h This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware. 2016-11-21 14:11:52 -08:00
AnalogIn.c shared-bindings: Ensure pin objects are actually pins. 2016-11-29 15:50:01 -08:00
AnalogIn.h This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware. 2016-11-21 14:11:52 -08:00
AnalogOut.c shared-bindings: Ensure pin objects are actually pins. 2016-11-29 15:50:01 -08:00
AnalogOut.h This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware. 2016-11-21 14:11:52 -08:00
DigitalInOut.c shared-bindings: Ensure pin objects are actually pins. 2016-11-29 15:50:01 -08:00
DigitalInOut.h This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware. 2016-11-21 14:11:52 -08:00
I2C.c Add try_lock and unlock to I2C and SPI classes to make sure things 2016-12-02 15:46:12 -08:00
I2C.h Add try_lock and unlock to I2C and SPI classes to make sure things 2016-12-02 15:46:12 -08:00
PWMOut.c Fix two bugs found by clang: 2016-12-01 10:33:50 -08:00
PWMOut.h This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware. 2016-11-21 14:11:52 -08:00
SPI.c Add try_lock and unlock to I2C and SPI classes to make sure things 2016-12-02 15:46:12 -08:00
SPI.h Add try_lock and unlock to I2C and SPI classes to make sure things 2016-12-02 15:46:12 -08:00