mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 07:51:36 +08:00
- make it work again - also supports Kconfig based clk source selection - adapt to recent changes of default PWM limits - support outputting in duty-cycle mode - i2c addr use use hex representation - revert back to common min/max value & move duty-cycle mode to advanced
21 lines
586 B
Plaintext
21 lines
586 B
Plaintext
menuconfig DRIVERS_PCA9685_PWM_OUT
|
|
bool "pca9685_pwm_out"
|
|
default n
|
|
---help---
|
|
Enable support for pca9685_pwm_out
|
|
|
|
if DRIVERS_PCA9685_PWM_OUT
|
|
config PCA9685_USE_EXTERNAL_CRYSTAL
|
|
bool "Use external crystal for clock reference"
|
|
default n
|
|
|
|
config PCA9685_EXTERNAL_CRYSTAL_FREQ
|
|
int "External crystal frequency"
|
|
depends on PCA9685_USE_EXTERNAL_CRYSTAL
|
|
default 25000000
|
|
|
|
config PCA9685_INTERNAL_CRYSTAL_FREQ
|
|
int "Corrected frequency of internal oscillator"
|
|
depends on !PCA9685_USE_EXTERNAL_CRYSTAL
|
|
default 26075000
|
|
endif |