PCA9685 device initialization parameters.
More...
PCA9685 device initialization parameters.
Definition at line 178 of file pca9685.h.
#include <pca9685.h>
◆ ext_freq
uint32_t pca9685_params_t::ext_freq |
If not 0, EXTCLK pin is used with this frequency.
Definition at line 190 of file pca9685.h.
◆ freq
uint32_t pca9685_params_t::freq |
PWM frequency in Hz (default 100)
Definition at line 185 of file pca9685.h.
◆ i2c_addr
uint8_t pca9685_params_t::i2c_addr |
I2C slave address.
Definition at line 181 of file pca9685.h.
◆ i2c_dev
i2c_t pca9685_params_t::i2c_dev |
◆ inv
bool pca9685_params_t::inv |
Invert outputs, e.g., for LEDs (default yes)
Definition at line 188 of file pca9685.h.
◆ mode
◆ oe_pin
gpio_t pca9685_params_t::oe_pin |
◆ out_drv
Output driver mode.
Definition at line 193 of file pca9685.h.
◆ out_ne
Output-not-enabled mode.
Definition at line 194 of file pca9685.h.
◆ res
uint16_t pca9685_params_t::res |
PWM resolution (default 4096)
Definition at line 186 of file pca9685.h.
The documentation for this struct was generated from the following file: