|
PCA9685 Driver
API reference
|
Classes | |
| class | I2cInterface |
| CRTP-based template interface for I2C bus operations. More... | |
| class | PCA9685 |
| Driver for the PCA9685 16-channel 12-bit PWM controller. More... | |
Enumerations | |
| enum class | CtrlPin : uint8_t { OE = 0 } |
| Identifies the hardware control pins of the PCA9685. More... | |
| enum class | GpioSignal : uint8_t { INACTIVE = 0 , ACTIVE = 1 } |
| Abstract signal level for control pins. More... | |
Functions | |
| const char * | GetDriverVersion () noexcept |
|
strong |
Identifies the hardware control pins of the PCA9685.
Used with GpioSet() / GpioSetActive() / GpioSetInactive() to control the IC's dedicated GPIO pins through the I2cInterface.
The mapping from GpioSignal::ACTIVE / INACTIVE to physical HIGH / LOW is determined by the platform bus implementation:
| Enumerator | |
|---|---|
| OE | Output Enable (active-low on the physical pin) |
|
strong |
|
inlinenoexcept |