![](/media/cache/group/i2c_logo.png.50x50_q85.png)
16-channel Fm+ I2C-bus 57 mA/20 V constant current LED driver
Dependencies: mbed
PCA9955A.h@0:a872e4dd8ec3, 2015-02-04 (annotated)
- Committer:
- wataaki
- Date:
- Wed Feb 04 06:09:08 2015 +0000
- Revision:
- 0:a872e4dd8ec3
Initial version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wataaki | 0:a872e4dd8ec3 | 1 | //#define PCA9955_ADDR 0xEC |
wataaki | 0:a872e4dd8ec3 | 2 | #define PCA9955A_ADDR 0x02 |
wataaki | 0:a872e4dd8ec3 | 3 | |
wataaki | 0:a872e4dd8ec3 | 4 | #define MODE1 0x00 |
wataaki | 0:a872e4dd8ec3 | 5 | #define MODE2 0x01 |
wataaki | 0:a872e4dd8ec3 | 6 | #define LEDOUT0 0x02 |
wataaki | 0:a872e4dd8ec3 | 7 | #define LEDOUT1 0x03 |
wataaki | 0:a872e4dd8ec3 | 8 | #define LEDOUT2 0x04 |
wataaki | 0:a872e4dd8ec3 | 9 | #define LEDOUT3 0x05 |
wataaki | 0:a872e4dd8ec3 | 10 | #define GRPPWM 0x06 |
wataaki | 0:a872e4dd8ec3 | 11 | #define GRPFREQ 0x07 |
wataaki | 0:a872e4dd8ec3 | 12 | #define PWM0 0x08 |
wataaki | 0:a872e4dd8ec3 | 13 | #define PWM1 0x09 |
wataaki | 0:a872e4dd8ec3 | 14 | #define PWM2 0x0A |
wataaki | 0:a872e4dd8ec3 | 15 | #define PWM3 0x0B |
wataaki | 0:a872e4dd8ec3 | 16 | #define PWM4 0x0C |
wataaki | 0:a872e4dd8ec3 | 17 | #define PWM5 0x0D |
wataaki | 0:a872e4dd8ec3 | 18 | #define PWM6 0x0E |
wataaki | 0:a872e4dd8ec3 | 19 | #define PWM7 0x0F |
wataaki | 0:a872e4dd8ec3 | 20 | #define PWM8 0x10 |
wataaki | 0:a872e4dd8ec3 | 21 | #define PWM9 0x11 |
wataaki | 0:a872e4dd8ec3 | 22 | #define PWM10 0x12 |
wataaki | 0:a872e4dd8ec3 | 23 | #define PWM11 0x13 |
wataaki | 0:a872e4dd8ec3 | 24 | #define PWM12 0x14 |
wataaki | 0:a872e4dd8ec3 | 25 | #define PWM13 0x15 |
wataaki | 0:a872e4dd8ec3 | 26 | #define PWM14 0x16 |
wataaki | 0:a872e4dd8ec3 | 27 | #define PWM15 0x17 |
wataaki | 0:a872e4dd8ec3 | 28 | #define IREF0 0x18 |
wataaki | 0:a872e4dd8ec3 | 29 | #define IREF1 0x19 |
wataaki | 0:a872e4dd8ec3 | 30 | #define IREF2 0x1A |
wataaki | 0:a872e4dd8ec3 | 31 | #define IREF3 0x1B |
wataaki | 0:a872e4dd8ec3 | 32 | #define IREF4 0x1C |
wataaki | 0:a872e4dd8ec3 | 33 | #define IREF5 0x1D |
wataaki | 0:a872e4dd8ec3 | 34 | #define IREF6 0x1E |
wataaki | 0:a872e4dd8ec3 | 35 | #define IREF7 0x1F |
wataaki | 0:a872e4dd8ec3 | 36 | #define IREF8 0x20 |
wataaki | 0:a872e4dd8ec3 | 37 | #define IREF9 0x21 |
wataaki | 0:a872e4dd8ec3 | 38 | #define IREF10 0x22 |
wataaki | 0:a872e4dd8ec3 | 39 | #define IREF11 0x23 |
wataaki | 0:a872e4dd8ec3 | 40 | #define IREF12 0x24 |
wataaki | 0:a872e4dd8ec3 | 41 | #define IREF13 0x25 |
wataaki | 0:a872e4dd8ec3 | 42 | #define IREF14 0x26 |
wataaki | 0:a872e4dd8ec3 | 43 | #define IREF15 0x27 |
wataaki | 0:a872e4dd8ec3 | 44 | #define RAMP_RATE_GRP0 0x28 |
wataaki | 0:a872e4dd8ec3 | 45 | #define STEP_TIME_GRP0 0x29 |
wataaki | 0:a872e4dd8ec3 | 46 | #define HOLD_CNTL_GRP0 0x2A |
wataaki | 0:a872e4dd8ec3 | 47 | #define IREF_GRP0 0x2B |
wataaki | 0:a872e4dd8ec3 | 48 | #define RAMP_RATE_GRP1 0x2C |
wataaki | 0:a872e4dd8ec3 | 49 | #define STEP_TIME_GRP1 0x2D |
wataaki | 0:a872e4dd8ec3 | 50 | #define HOLD_CNTL_GRP1 0x2E |
wataaki | 0:a872e4dd8ec3 | 51 | #define IREF_GRP1 0x2F |
wataaki | 0:a872e4dd8ec3 | 52 | #define RAMP_RATE_GRP2 0x30 |
wataaki | 0:a872e4dd8ec3 | 53 | #define STEP_TIME_GRP2 0x31 |
wataaki | 0:a872e4dd8ec3 | 54 | #define HOLD_CNTL_GRP2 0x32 |
wataaki | 0:a872e4dd8ec3 | 55 | #define IREF_GRP2 0x33 |
wataaki | 0:a872e4dd8ec3 | 56 | #define RAMP_RATE_GRP3 0x34 |
wataaki | 0:a872e4dd8ec3 | 57 | #define STEP_TIME_GRP3 0x35 |
wataaki | 0:a872e4dd8ec3 | 58 | #define HOLD_CNTL_GRP3 0x36 |
wataaki | 0:a872e4dd8ec3 | 59 | #define IREF_GRP3 0x37 |
wataaki | 0:a872e4dd8ec3 | 60 | #define GRAD_MODE_SEL0 0x38 |
wataaki | 0:a872e4dd8ec3 | 61 | #define GRAD_MODE_SEL1 0x39 |
wataaki | 0:a872e4dd8ec3 | 62 | #define GRAD_GRP_SEL0 0x3A |
wataaki | 0:a872e4dd8ec3 | 63 | #define GRAD_GRP_SEL1 0x3B |
wataaki | 0:a872e4dd8ec3 | 64 | #define GRAD_GRP_SEL2 0x3C |
wataaki | 0:a872e4dd8ec3 | 65 | #define GRAD_GRP_SEL3 0x3D |
wataaki | 0:a872e4dd8ec3 | 66 | #define GRAD_CNTL 0x3E |
wataaki | 0:a872e4dd8ec3 | 67 | #define OFFSET 0x3F |
wataaki | 0:a872e4dd8ec3 | 68 | #define SUBADR1 0x40 |
wataaki | 0:a872e4dd8ec3 | 69 | #define SUBADR2 0x41 |
wataaki | 0:a872e4dd8ec3 | 70 | #define SUBADR3 0x42 |
wataaki | 0:a872e4dd8ec3 | 71 | #define ALLCALLADR 0x43 |
wataaki | 0:a872e4dd8ec3 | 72 | #define PWMALL 0x44 |
wataaki | 0:a872e4dd8ec3 | 73 | #define IREFALL 0x45 |
wataaki | 0:a872e4dd8ec3 | 74 | #define EFLAG0 0x46 |
wataaki | 0:a872e4dd8ec3 | 75 | #define EFLAG1 0x47 |
wataaki | 0:a872e4dd8ec3 | 76 | #define EFLAG2 0x48 |
wataaki | 0:a872e4dd8ec3 | 77 | #define EFLAG3 0x49 |