[−][src]Crate pca9685_lib
Structs
| PCA9685 | A Representation of a PCA9685 Chip |
Constants
| FREQUENCY_OSCILLATOR | Int. osc. frequency in datasheet |
| MODE1_ALLCAL | Respond to LED All Call I2C-bus address |
| MODE1_SLEEP | Low power mode. Oscillator off |
| MODE1_AI | Auto-Increment enabled |
| MODE1_EXTCLK | Use EXTCLK pin clock |
| MODE1_RESTART | Restart Enabled |
| MODE2_OUTDRV | totem pole structure vs open-drain |
| MODE2_OCH | Outputs change on ACK vs STOP |
| MODE2_INVRT | Output logic state inverted |
| MODE1_SUB1 | respond to I2C-bus subaddress 1 |
| MODE1_SUB2 | respond to I2C-bus subaddress 2 |
| MODE1_SUB3 | respond to I2C-bus subaddress 3 |
| MODE2_OUTNE_0 | Active LOW output enable input |
| MODE2_OUTNE_1 | Active LOW output enable input - high impedence |
| PCA9685_ALLCALLADR | LED All Call I2C-bus address |
| PCA9685_ALLLED_ON_L | Where to turn all signals on, low byte |
| PCA9685_ALLLED_ON_H | Where to turn all signals on, high byte |
| PCA9685_ALLLED_OFF_L | Where to turn all signals off, low byte |
| PCA9685_ALLLED_OFF_H | Where to turn all signals off, high byte |
| PCA9685_PRESCALE | Prescaler for PWM Output frequency |
| PCA9685_TESTMODE | Defines the test mode to be entered |
| PCA9685_PRESCALE_MIN | < |
| PCA9685_PRESCALE_MAX | Maximum prescale value |
| PCA9685_LED0_ON_L | Where to turn the signal on, low byte |
| PCA9685_LED0_ON_H | Where to turn the signal on, high byte |
| PCA9685_LED0_OFF_L | Where to turn the signal off, low byte |
| PCA9685_LED0_OFF_H | Where to turn the signal off, high byte |
| PCA9685_MODE1 | Mode Register 1 |
| PCA9685_MODE2 | Mode Register 2 |
| PCA9865_SUBADR1 | I2C-Bus subaddress 1 |
| PCA9865_SUBADR2 | I2C-Bus subaddress 2 |
| PCA9865_SUBADR3 | I2C-Bus subaddress 3 |