circuitpython/shared-bindings/nativeio
Scott Shawcroft 0ae344841f atmel-samd & esp8266: Make sure pins are not already in use.
This prevents corrupting previous functional objects by stealing their pins
out from under them. It prevents this by ensuring that pins are in default
state before claiming them. It also verifies pins are released correctly and
reset on soft reset.

Fixes #4, instantiating a second class will fail.
Fixes #29, pins are now reset too.
2016-12-07 15:21:14 -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 atmel-samd & esp8266: Make sure pins are not already in use. 2016-12-07 15:21:14 -08:00
AnalogIn.h atmel-samd & esp8266: Make sure pins are not already in use. 2016-12-07 15:21:14 -08:00
AnalogOut.c atmel-samd & esp8266: Make sure pins are not already in use. 2016-12-07 15:21:14 -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 atmel-samd & esp8266: Make sure pins are not already in use. 2016-12-07 15:21:14 -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 atmel-samd & esp8266: Make sure pins are not already in use. 2016-12-07 15:21:14 -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 atmel-samd & esp8266: Make sure pins are not already in use. 2016-12-07 15:21:14 -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 atmel-samd & esp8266: Make sure pins are not already in use. 2016-12-07 15:21:14 -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