24-channel Fm+ I2C-bus 57 mA/20 V constant current LED driver
Dependencies: mbed
PCA9956A.h@0:2ae25badaf6a, 2015-02-04 (annotated)
- Committer:
- wataaki
- Date:
- Wed Feb 04 06:09:44 2015 +0000
- Revision:
- 0:2ae25badaf6a
Initial version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wataaki | 0:2ae25badaf6a | 1 | #define PCA9956A_ADDR 0x02 |
wataaki | 0:2ae25badaf6a | 2 | |
wataaki | 0:2ae25badaf6a | 3 | #define MODE1 0x00 |
wataaki | 0:2ae25badaf6a | 4 | #define MODE2 0x01 |
wataaki | 0:2ae25badaf6a | 5 | #define LEDOUT0 0x02 |
wataaki | 0:2ae25badaf6a | 6 | #define LEDOUT1 0x03 |
wataaki | 0:2ae25badaf6a | 7 | #define LEDOUT2 0x04 |
wataaki | 0:2ae25badaf6a | 8 | #define LEDOUT3 0x05 |
wataaki | 0:2ae25badaf6a | 9 | #define LEDOUT4 0x06 |
wataaki | 0:2ae25badaf6a | 10 | #define LEDOUT5 0x07 |
wataaki | 0:2ae25badaf6a | 11 | #define GRPPWM 0x08 |
wataaki | 0:2ae25badaf6a | 12 | #define GRPFREQ 0x09 |
wataaki | 0:2ae25badaf6a | 13 | #define PWM0 0x0A |
wataaki | 0:2ae25badaf6a | 14 | #define PWM1 0x0B |
wataaki | 0:2ae25badaf6a | 15 | #define PWM2 0x0C |
wataaki | 0:2ae25badaf6a | 16 | #define PWM3 0x0D |
wataaki | 0:2ae25badaf6a | 17 | #define PWM4 0x0E |
wataaki | 0:2ae25badaf6a | 18 | #define PWM5 0x0F |
wataaki | 0:2ae25badaf6a | 19 | #define PWM6 0x10 |
wataaki | 0:2ae25badaf6a | 20 | #define PWM7 0x11 |
wataaki | 0:2ae25badaf6a | 21 | #define PWM8 0x12 |
wataaki | 0:2ae25badaf6a | 22 | #define PWM9 0x13 |
wataaki | 0:2ae25badaf6a | 23 | #define PWM10 0x14 |
wataaki | 0:2ae25badaf6a | 24 | #define PWM11 0x15 |
wataaki | 0:2ae25badaf6a | 25 | #define PWM12 0x16 |
wataaki | 0:2ae25badaf6a | 26 | #define PWM13 0x17 |
wataaki | 0:2ae25badaf6a | 27 | #define PWM14 0x18 |
wataaki | 0:2ae25badaf6a | 28 | #define PWM15 0x19 |
wataaki | 0:2ae25badaf6a | 29 | #define PWM16 0x1A |
wataaki | 0:2ae25badaf6a | 30 | #define PWM17 0x1B |
wataaki | 0:2ae25badaf6a | 31 | #define PWM18 0x1C |
wataaki | 0:2ae25badaf6a | 32 | #define PWM19 0x1D |
wataaki | 0:2ae25badaf6a | 33 | #define PWM20 0x1E |
wataaki | 0:2ae25badaf6a | 34 | #define PWM21 0x1F |
wataaki | 0:2ae25badaf6a | 35 | #define PWM22 0x20 |
wataaki | 0:2ae25badaf6a | 36 | #define PWM23 0x21 |
wataaki | 0:2ae25badaf6a | 37 | #define IREF0 0x22 |
wataaki | 0:2ae25badaf6a | 38 | #define IREF1 0x23 |
wataaki | 0:2ae25badaf6a | 39 | #define IREF2 0x24 |
wataaki | 0:2ae25badaf6a | 40 | #define IREF3 0x25 |
wataaki | 0:2ae25badaf6a | 41 | #define IREF4 0x26 |
wataaki | 0:2ae25badaf6a | 42 | #define IREF5 0x27 |
wataaki | 0:2ae25badaf6a | 43 | #define IREF6 0x28 |
wataaki | 0:2ae25badaf6a | 44 | #define IREF7 0x29 |
wataaki | 0:2ae25badaf6a | 45 | #define IREF8 0x2A |
wataaki | 0:2ae25badaf6a | 46 | #define IREF9 0x2B |
wataaki | 0:2ae25badaf6a | 47 | #define IREF10 0x2C |
wataaki | 0:2ae25badaf6a | 48 | #define IREF11 0x2D |
wataaki | 0:2ae25badaf6a | 49 | #define IREF12 0x2E |
wataaki | 0:2ae25badaf6a | 50 | #define IREF13 0x2F |
wataaki | 0:2ae25badaf6a | 51 | #define IREF14 0x30 |
wataaki | 0:2ae25badaf6a | 52 | #define IREF15 0x31 |
wataaki | 0:2ae25badaf6a | 53 | #define IREF16 0x32 |
wataaki | 0:2ae25badaf6a | 54 | #define IREF17 0x33 |
wataaki | 0:2ae25badaf6a | 55 | #define IREF18 0x34 |
wataaki | 0:2ae25badaf6a | 56 | #define IREF19 0x35 |
wataaki | 0:2ae25badaf6a | 57 | #define IREF20 0x36 |
wataaki | 0:2ae25badaf6a | 58 | #define IREF21 0x37 |
wataaki | 0:2ae25badaf6a | 59 | #define IREF22 0x38 |
wataaki | 0:2ae25badaf6a | 60 | #define IREF23 0x39 |
wataaki | 0:2ae25badaf6a | 61 | #define OFFSET 0x3A |
wataaki | 0:2ae25badaf6a | 62 | #define SUBADR1 0x3B |
wataaki | 0:2ae25badaf6a | 63 | #define SUBADR2 0x3C |
wataaki | 0:2ae25badaf6a | 64 | #define SUBADR3 0x3D |
wataaki | 0:2ae25badaf6a | 65 | #define ALLCALLADR 0x3E |
wataaki | 0:2ae25badaf6a | 66 | #define PWMALL 0x3F |
wataaki | 0:2ae25badaf6a | 67 | #define IREFALL 0x40 |
wataaki | 0:2ae25badaf6a | 68 | #define EFLAG0 0x41 |
wataaki | 0:2ae25badaf6a | 69 | #define EFLAG1 0x42 |
wataaki | 0:2ae25badaf6a | 70 | #define EFLAG2 0x43 |
wataaki | 0:2ae25badaf6a | 71 | #define EFLAG3 0x44 |
wataaki | 0:2ae25badaf6a | 72 | #define EFLAG4 0x45 |
wataaki | 0:2ae25badaf6a | 73 | #define EFLAG5 0x46 |