34#include "../../PmicGpioBase.hpp"
127 Status read(uint8_t pin,
bool &high)
override;
AXP517 low-level core driver.
AXP517 GPIO module (REG 0x11).
DriveType getDrive(uint8_t pin) override
Get GPIO pin drive type.
OutputSource getOutputSource(uint8_t pin)
Get current GPIO output source.
bool setOutputSource(uint8_t pin, OutputSource src)
Select GPIO output source.
Status write(uint8_t pin, Level level) override
Set output level.
uint8_t getPinCount() const override
Get number of GPIO pins (1)
Status setDirection(uint8_t pin, Direction dir) override
Set GPIO pin direction.
Status setDrive(uint8_t pin, DriveType drive) override
Set GPIO pin drive type.
Status read(uint8_t pin, bool &high) override
Read input level.
OutputSource
Hardware source selected for the GPIO output path.
Direction getDirection(uint8_t pin) override
Get GPIO pin direction.
int readRaw()
Read raw REG11 for debug.
DriveType
GPIO drive type.
Level
Output level control.
Direction
GPIO pin direction.
Status
GPIO operation status code.