Microchip
Microchip Peripheral I/O Python Package
This package provides easy access to various hardware peripherals found on Microchip AT91/SAMA5 processors and Xplained boards running Linux. The API is clean, consistent, flexible, documented, and well tested to make navigating and exercising even the most complex hardware peripherals a trivial task.
Supported Interfaces
ADC - Analog-to-Digital Converter
DevMem - Read and Write System Memory
GPIO - General Purpose I/O
I2C - Inter-Integrated Circuit
SMBus - System Management Bus
Input - Input Subsystem (Mouse/Keyboard/Touchscreen)
LED - Light Emitting Diode Light Sources
PWM - Pulse Width Modulation
SPI - Serial Peripheral Interface Bus
Serial - RS-232
CPU and Board Utilities
Examples
Here’s an example of how simple it is to fire up a Python interpreter and toggle a GPIO.
>>> from mpio import GPIO >>> gpio = GPIO(107, GPIO.OUT) >>> gpio.set(True) >>> gpio.set(False)
Installation
You can install from PyPi by default with:
pip install mpio
License
Microchip Peripheral I/O is released under the terms of the Apache License Version 2. See the LICENSE file for more information. Parts of the code originally provided under other licenses are noted in those source files, including the MIT license and is reproduced in the LICENSE.MIT file.
Metadata
Release files for mpio 1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mpio-1.4.tar.gz | 34.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpio-1.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 72.8 kB
Release files / mpio-1.4.tar.gz
| Download URL | mpio-1.4.tar.gz |
|---|---|
| Size | 34.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4bd59e1f9c0796bd314a486decc81a75f22be47d06ceb2aa74c5cdbbeb615e1
|
|
BLAKE2b-256 checksum How to use checksums |
48d30f08852547c9617d0fb997254d0c713b61ca2a07bce7c15137d7c4fb727d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Release files / mpio-1.4-py2.py3-none-any.whl
| Download URL | mpio-1.4-py2.py3-none-any.whl |
|---|---|
| Size | 38.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
047a2f133303e83e35effefccd54a621ec1ffce260afb828f590a941517e1c6e
|
|
BLAKE2b-256 checksum How to use checksums |
980614cf548bbe4a540d62e989a59dffcde257586a3ef238a3692491031f1403
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Security for mpio 1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.