Default configuration for the PCA9685 I2C PWM controller. More...
Default configuration for the PCA9685 I2C PWM controller.
Definition in file pca9685_params.h.
Include dependency graph for pca9685_params.h:Go to the source code of this file.
Variables | |
| static const pca9685_params_t | pca9685_params [] |
| Allocate some memory to store the actual configuration. More... | |
| static const pca9685_saul_pwm_params_t | pca9685_saul_pwm_params [] |
| Additional meta information to keep in the SAUL registry. More... | |
Set default configuration parameters | |
| #define | PCA9685_PARAM_DEV I2C_DEV(0) |
| device is I2C_DEV(0) | |
| #define | PCA9685_PARAM_ADDR (PCA9685_I2C_BASE_ADDR + 0) |
| device address is PCA9685_I2C_ADDR | |
| #define | PCA9685_PARAM_INV (false) |
| Invert outputs: yes. | |
| #define | PCA9685_PARAM_MODE (PWM_LEFT) |
| PWM mode for all channels: PWM_LEFT. | |
| #define | PCA9685_PARAM_FREQ (100) |
| PWM frequency in Hz: 100. | |
| #define | PCA9685_PARAM_RES (4096) |
| PWM resolution: 4096. | |
| #define | PCA9685_PARAM_OE_PIN (GPIO_UNDEF) |
| Output enable pin: not used. | |
| #define | PCA9685_PARAM_EXT_FREQ (0) |
| EXTCLK frequency and pin: not used. | |
| #define | PCA9685_PARAM_OUT_DRV (PCA9685_TOTEM_POLE) |
| Output driver mode: totem pole. | |
| #define | PCA9685_PARAM_OUT_NE (PCA9685_OFF) |
| Output driver mode: totem pole. | |
| #define | PCA9685_PARAMS |
| #define | PCA9685_SAUL_PWM_PARAMS |
| Example for mapping PWM channels to SAUL. More... | |
| #define PCA9685_PARAMS |
Definition at line 82 of file pca9685_params.h.
| #define PCA9685_SAUL_PWM_PARAMS |
Example for mapping PWM channels to SAUL.
Definition at line 98 of file pca9685_params.h.
|
static |
Allocate some memory to store the actual configuration.
Definition at line 122 of file pca9685_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 131 of file pca9685_params.h.