{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/8"},{"label":"Hardware","url":"https://skillfed.io/packages/category/system-hardware"},{"label":"Embedded Systems","url":"https://skillfed.io/packages/category/software-development-embedded-systems"}],"enrichment":{"capability":"Provides I2CDevice and SPIDevice helper classes that manage bus transactions, locking, chip select, and protocol state for CircuitPython microcontroller projects.","skillfed_tags":["circuitpython","embedded-systems","hardware-abstraction"],"use_cases":["Manage I2C communication with multiple sensors or peripherals on a shared bus without race conditions.","Handle SPI device transactions with automatic chip select and protocol mode management.","Simplify driver development for CircuitPython-compatible boards by abstracting bus locking and state.","Ensure safe concurrent access to shared hardware buses in multi-device embedded projects.","Port hardware drivers between different CircuitPython boards with consistent bus abstractions."],"what_it_does":"Adafruit CircuitPython BusDevice is a helper library for managing I2C and SPI bus communication on CircuitPython microcontroller boards. It provides I2CDevice and SPIDevice classes that wrap low-level bus operations with transaction state management\u2014locking the bus to prevent concurrent access conflicts, handling chip select and protocol mode changes for SPI, and managing device addressing for I2C. The library abstracts away common boilerplate, making it easier to write reliable hardware drivers.\n\nThe package is designed for embedded systems and microcontroller projects where multiple devices may share a single bus. It depends on Adafruit-Blinka and adafruit-circuitpython-typing. Note that CircuitPython v6.3.0 and newer may include this package as builtin firmware; the documentation recommends checking your board's module support matrix to avoid conflicts if both the builtin and add-on versions are present.","worth_installing":"Yes, if you are developing CircuitPython projects that use I2C or SPI buses. The library is actively maintained, has no known vulnerabilities, and solves a real problem in embedded systems\u2014managing bus state and preventing conflicts. Check your board's firmware first to confirm whether it's already builtin; if not, the low-friction install and permissive MIT license make it a straightforward addition. Not relevant for standard Python environments."},"id":"adafruit-circuitpython-busdevice","links":{"html":"https://skillfed.io/packages/adafruit-circuitpython-busdevice","md":"https://skillfed.io/packages/adafruit-circuitpython-busdevice.md","pypi":"https://pypi.org/project/adafruit-circuitpython-busdevice/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-23","license_spdx":"MIT","license_treatment":"permissive","name":"adafruit-circuitpython-busdevice","python_support":"unspecified","summary":"CircuitPython bus device classes to manage bus sharing."},"popularity":{"monthly_downloads":177149,"position":10225,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.2.17"}
