adafruit_blinka
- Runtime utility objects for re-implementation of CircuitPython API¶
- Author(s): cefn
-
class
adafruit_blinka.
ContextManaged
¶ An object that automatically deinitializes hardware with a context manager.
-
deinit
()¶ Free any hardware used by the object.
-
-
class
adafruit_blinka.
Enum
¶ Object supporting CircuitPython-style of static symbols as seen with Direction.OUTPUT, Pull.UP
-
classmethod
iteritems
()¶ Inspects attributes of the class for instances of the class and returns as key,value pairs mirroring dict#iteritems
-
classmethod
-
class
adafruit_blinka.
Lockable
¶ An object that must be locked to prevent collisions on a microcontroller resource.
-
try_lock
()¶ Attempt to grab the lock. Return True on success, False if the lock is already taken.
-
unlock
()¶ Release the lock so others may use the resource.
-
-
adafruit_blinka.
patch_system
()¶ Patch modules that may be different due to the platform.