Skip to content
php-baremetal REGISTRY
Publish a package

php-baremetal/io-ch422g

bm-lib MIT

CH422G I/O expander driver for ext-i2c (Baremetal\I2c\Driver\Ch422g): eight bidirectional and four output pins, also named by other drivers in the board file ("exio2").

bus: i2c

composer.json @ 1.0.0

The metadata this registry serves for the version, as Composer sees it.

json php-baremetal/io-ch422g
{
    "name": "php-baremetal/io-ch422g",
    "version": "1.0.0",
    "type": "bm-lib",
    "extra": {
        "baremetal": {
            "register": {
                "i2c_drivers": [
                    "ch422g_driver_desc"
                ],
                "pin_providers": [
                    "ch422g_pin_provider"
                ]
            },
            "ide-stubs": [
                "ide/io-ch422g.stub"
            ],
            "board-blocks": [
                "expander:ch422g"
            ]
        }
    },
    "source": {
        "url": "https://github.com/php-baremetal/io-ch422g",
        "type": "git",
        "reference": "149d8efd222a414b70511a36b012d097b139f24f"
    },
    "authors": [
        {
            "name": "Gianfrancesco Aurecchia"
        }
    ],
    "license": "MIT",
    "require": {
        "php": ">=8.3",
        "php-baremetal/ext-i2c": "^1.1.1",
        "php-baremetal/ext-gpio": "^1.2",
        "php-baremetal/bm-common": "^1.2"
    },
    "description": "CH422G I/O expander driver for ext-i2c (Baremetal\\I2c\\Driver\\Ch422g): eight bidirectional and four output pins, also named by other drivers in the board file (\"exio2\")."
}