|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Go to the source code of this file.
Classes | |
| class | linux_pwm_out::PCA9685 |
| Main class that exports features for PCA9685 chip. More... | |
Namespaces | |
| linux_pwm_out | |
Macros | |
| #define | MODE1 0x00 |
| #define | MODE2 0x01 |
| #define | SUBADR1 0x02 |
| #define | SUBADR2 0x03 |
| #define | SUBADR3 0x04 |
| #define | ALLCALLADR 0x05 |
| #define | LED0 0x6 |
| #define | LED0_ON_L 0x6 |
| #define | LED0_ON_H 0x7 |
| #define | LED0_OFF_L 0x8 |
| #define | LED0_OFF_H 0x9 |
| #define | LED_MULTIPLYER 4 |
| #define | ALLLED_ON_L 0xFA |
| #define | ALLLED_ON_H 0xFB |
| #define | ALLLED_OFF_L 0xFC |
| #define | ALLLED_OFF_H 0xFD |
| #define | PRE_SCALE 0xFE |
| #define | MAX_PWM_RES 4096 |
| #define | CLOCK_FREQ 25000000.0 |
| #define | PCA9685_DEFAULT_I2C_ADDR 0x40 |
| #define | PCA9685_DEFAULT_I2C_BUS 1 |
| #define CLOCK_FREQ 25000000.0 |
Definition at line 67 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::setPWMFreq().
| #define LED0_OFF_H 0x9 |
Definition at line 59 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::setPWM().
| #define LED0_OFF_L 0x8 |
Definition at line 58 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::setPWM().
| #define LED0_ON_H 0x7 |
Definition at line 57 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::setPWM().
| #define LED0_ON_L 0x6 |
Definition at line 56 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::setPWM().
| #define LED_MULTIPLYER 4 |
Definition at line 60 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::setPWM().
| #define MAX_PWM_RES 4096 |
Definition at line 66 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::setPWMFreq().
| #define MODE1 0x00 |
Definition at line 49 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::reset(), and linux_pwm_out::PCA9685::setPWMFreq().
| #define MODE2 0x01 |
Definition at line 50 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::reset().
| #define PCA9685_DEFAULT_I2C_ADDR 0x40 |
Definition at line 68 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::PCA9685().
| #define PCA9685_DEFAULT_I2C_BUS 1 |
Definition at line 69 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::PCA9685().
| #define PRE_SCALE 0xFE |
Definition at line 65 of file PCA9685.h.
Referenced by linux_pwm_out::PCA9685::setPWMFreq().