diff options
| author | Ryan <fauxpark@gmail.com> | 2024-02-12 13:19:45 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-12 02:19:45 +0000 |
| commit | 3ba88f7798065f4e0734859bb3f416045952b58d (patch) | |
| tree | 71e9abe03bf429b8c7097f98f2418d83783bf222 /drivers/led | |
| parent | 3e5f5bda4af1f04bd6faf8cc58acf0c993b6c0ac (diff) | |
LED drivers: update PWM register defines for `g_<driver>_leds` (#23052)
Diffstat (limited to 'drivers/led')
| -rw-r--r-- | drivers/led/aw20216s.h | 684 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3733-mono.h | 406 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3733.h | 612 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3736-mono.h | 324 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3736.h | 214 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3737-mono.h | 310 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3737.h | 468 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3742a-mono.h | 360 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3742a.h | 360 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3743a-mono.h | 396 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3743a.h | 627 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3745-mono.h | 288 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3745.h | 288 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3746a-mono.h | 150 | ||||
| -rw-r--r-- | drivers/led/issi/is31fl3746a.h | 150 | ||||
| -rw-r--r-- | drivers/led/snled27351-mono.h | 612 | ||||
| -rw-r--r-- | drivers/led/snled27351.h | 612 |
17 files changed, 4094 insertions, 2767 deletions
diff --git a/drivers/led/aw20216s.h b/drivers/led/aw20216s.h index b8d8afc4cb..4dd7f7949a 100644 --- a/drivers/led/aw20216s.h +++ b/drivers/led/aw20216s.h | |||
| @@ -101,230 +101,460 @@ void aw20216s_update_pwm_buffers(pin_t cs_pin, uint8_t index); | |||
| 101 | 101 | ||
| 102 | void aw20216s_flush(void); | 102 | void aw20216s_flush(void); |
| 103 | 103 | ||
| 104 | #define CS1_SW1 0x00 | 104 | #define SW1_CS1 0x00 |
| 105 | #define CS2_SW1 0x01 | 105 | #define SW1_CS2 0x01 |
| 106 | #define CS3_SW1 0x02 | 106 | #define SW1_CS3 0x02 |
| 107 | #define CS4_SW1 0x03 | 107 | #define SW1_CS4 0x03 |
| 108 | #define CS5_SW1 0x04 | 108 | #define SW1_CS5 0x04 |
| 109 | #define CS6_SW1 0x05 | 109 | #define SW1_CS6 0x05 |
| 110 | #define CS7_SW1 0x06 | 110 | #define SW1_CS7 0x06 |
| 111 | #define CS8_SW1 0x07 | 111 | #define SW1_CS8 0x07 |
| 112 | #define CS9_SW1 0x08 | 112 | #define SW1_CS9 0x08 |
| 113 | #define CS10_SW1 0x09 | 113 | #define SW1_CS10 0x09 |
| 114 | #define CS11_SW1 0x0A | 114 | #define SW1_CS11 0x0A |
| 115 | #define CS12_SW1 0x0B | 115 | #define SW1_CS12 0x0B |
| 116 | #define CS13_SW1 0x0C | 116 | #define SW1_CS13 0x0C |
| 117 | #define CS14_SW1 0x0D | 117 | #define SW1_CS14 0x0D |
| 118 | #define CS15_SW1 0x0E | 118 | #define SW1_CS15 0x0E |
| 119 | #define CS16_SW1 0x0F | 119 | #define SW1_CS16 0x0F |
| 120 | #define CS17_SW1 0x10 | 120 | #define SW1_CS17 0x10 |
| 121 | #define CS18_SW1 0x11 | 121 | #define SW1_CS18 0x11 |
| 122 | 122 | ||
| 123 | #define CS1_SW2 0x12 | 123 | #define SW2_CS1 0x12 |
| 124 | #define CS2_SW2 0x13 | 124 | #define SW2_CS2 0x13 |
| 125 | #define CS3_SW2 0x14 | 125 | #define SW2_CS3 0x14 |
| 126 | #define CS4_SW2 0x15 | 126 | #define SW2_CS4 0x15 |
| 127 | #define CS5_SW2 0x16 | 127 | #define SW2_CS5 0x16 |
| 128 | #define CS6_SW2 0x17 | 128 | #define SW2_CS6 0x17 |
| 129 | #define CS7_SW2 0x18 | 129 | #define SW2_CS7 0x18 |
| 130 | #define CS8_SW2 0x19 | 130 | #define SW2_CS8 0x19 |
| 131 | #define CS9_SW2 0x1A | 131 | #define SW2_CS9 0x1A |
| 132 | #define CS10_SW2 0x1B | 132 | #define SW2_CS10 0x1B |
| 133 | #define CS11_SW2 0x1C | 133 | #define SW2_CS11 0x1C |
| 134 | #define CS12_SW2 0x1D | 134 | #define SW2_CS12 0x1D |
| 135 | #define CS13_SW2 0x1E | 135 | #define SW2_CS13 0x1E |
| 136 | #define CS14_SW2 0x1F | 136 | #define SW2_CS14 0x1F |
| 137 | #define CS15_SW2 0x20 | 137 | #define SW2_CS15 0x20 |
| 138 | #define CS16_SW2 0x21 | 138 | #define SW2_CS16 0x21 |
| 139 | #define CS17_SW2 0x22 | 139 | #define SW2_CS17 0x22 |
| 140 | #define CS18_SW2 0x23 | 140 | #define SW2_CS18 0x23 |
| 141 | 141 | ||
| 142 | #define CS1_SW3 0x24 | 142 | #define SW3_CS1 0x24 |
| 143 | #define CS2_SW3 0x25 | 143 | #define SW3_CS2 0x25 |
| 144 | #define CS3_SW3 0x26 | 144 | #define SW3_CS3 0x26 |
| 145 | #define CS4_SW3 0x27 | 145 | #define SW3_CS4 0x27 |
| 146 | #define CS5_SW3 0x28 | 146 | #define SW3_CS5 0x28 |
| 147 | #define CS6_SW3 0x29 | 147 | #define SW3_CS6 0x29 |
| 148 | #define CS7_SW3 0x2A | 148 | #define SW3_CS7 0x2A |
| 149 | #define CS8_SW3 0x2B | 149 | #define SW3_CS8 0x2B |
| 150 | #define CS9_SW3 0x2C | 150 | #define SW3_CS9 0x2C |
| 151 | #define CS10_SW3 0x2D | 151 | #define SW3_CS10 0x2D |
| 152 | #define CS11_SW3 0x2E | 152 | #define SW3_CS11 0x2E |
| 153 | #define CS12_SW3 0x2F | 153 | #define SW3_CS12 0x2F |
| 154 | #define CS13_SW3 0x30 | 154 | #define SW3_CS13 0x30 |
| 155 | #define CS14_SW3 0x31 | 155 | #define SW3_CS14 0x31 |
| 156 | #define CS15_SW3 0x32 | 156 | #define SW3_CS15 0x32 |
| 157 | #define CS16_SW3 0x33 | 157 | #define SW3_CS16 0x33 |
| 158 | #define CS17_SW3 0x34 | 158 | #define SW3_CS17 0x34 |
| 159 | #define CS18_SW3 0x35 | 159 | #define SW3_CS18 0x35 |
| 160 | 160 | ||
| 161 | #define CS1_SW4 0x36 | 161 | #define SW4_CS1 0x36 |
| 162 | #define CS2_SW4 0x37 | 162 | #define SW4_CS2 0x37 |
| 163 | #define CS3_SW4 0x38 | 163 | #define SW4_CS3 0x38 |
| 164 | #define CS4_SW4 0x39 | 164 | #define SW4_CS4 0x39 |
| 165 | #define CS5_SW4 0x3A | 165 | #define SW4_CS5 0x3A |
| 166 | #define CS6_SW4 0x3B | 166 | #define SW4_CS6 0x3B |
| 167 | #define CS7_SW4 0x3C | 167 | #define SW4_CS7 0x3C |
| 168 | #define CS8_SW4 0x3D | 168 | #define SW4_CS8 0x3D |
| 169 | #define CS9_SW4 0x3E | 169 | #define SW4_CS9 0x3E |
| 170 | #define CS10_SW4 0x3F | 170 | #define SW4_CS10 0x3F |
| 171 | #define CS11_SW4 0x40 | 171 | #define SW4_CS11 0x40 |
| 172 | #define CS12_SW4 0x41 | 172 | #define SW4_CS12 0x41 |
| 173 | #define CS13_SW4 0x42 | 173 | #define SW4_CS13 0x42 |
| 174 | #define CS14_SW4 0x43 | 174 | #define SW4_CS14 0x43 |
| 175 | #define CS15_SW4 0x44 | 175 | #define SW4_CS15 0x44 |
| 176 | #define CS16_SW4 0x45 | 176 | #define SW4_CS16 0x45 |
| 177 | #define CS17_SW4 0x46 | 177 | #define SW4_CS17 0x46 |
| 178 | #define CS18_SW4 0x47 | 178 | #define SW4_CS18 0x47 |
| 179 | 179 | ||
| 180 | #define CS1_SW5 0x48 | 180 | #define SW5_CS1 0x48 |
| 181 | #define CS2_SW5 0x49 | 181 | #define SW5_CS2 0x49 |
| 182 | #define CS3_SW5 0x4A | 182 | #define SW5_CS3 0x4A |
| 183 | #define CS4_SW5 0x4B | 183 | #define SW5_CS4 0x4B |
| 184 | #define CS5_SW5 0x4C | 184 | #define SW5_CS5 0x4C |
| 185 | #define CS6_SW5 0x4D | 185 | #define SW5_CS6 0x4D |
| 186 | #define CS7_SW5 0x4E | 186 | #define SW5_CS7 0x4E |
| 187 | #define CS8_SW5 0x4F | 187 | #define SW5_CS8 0x4F |
| 188 | #define CS9_SW5 0x50 | 188 | #define SW5_CS9 0x50 |
| 189 | #define CS10_SW5 0x51 | 189 | #define SW5_CS10 0x51 |
| 190 | #define CS11_SW5 0x52 | 190 | #define SW5_CS11 0x52 |
| 191 | #define CS12_SW5 0x53 | 191 | #define SW5_CS12 0x53 |
| 192 | #define CS13_SW5 0x54 | 192 | #define SW5_CS13 0x54 |
| 193 | #define CS14_SW5 0x55 | 193 | #define SW5_CS14 0x55 |
| 194 | #define CS15_SW5 0x56 | 194 | #define SW5_CS15 0x56 |
| 195 | #define CS16_SW5 0x57 | 195 | #define SW5_CS16 0x57 |
| 196 | #define CS17_SW5 0x58 | 196 | #define SW5_CS17 0x58 |
| 197 | #define CS18_SW5 0x59 | 197 | #define SW5_CS18 0x59 |
| 198 | 198 | ||
| 199 | #define CS1_SW6 0x5A | 199 | #define SW6_CS1 0x5A |
| 200 | #define CS2_SW6 0x5B | 200 | #define SW6_CS2 0x5B |
| 201 | #define CS3_SW6 0x5C | 201 | #define SW6_CS3 0x5C |
| 202 | #define CS4_SW6 0x5D | 202 | #define SW6_CS4 0x5D |
| 203 | #define CS5_SW6 0x5E | 203 | #define SW6_CS5 0x5E |
| 204 | #define CS6_SW6 0x5F | 204 | #define SW6_CS6 0x5F |
| 205 | #define CS7_SW6 0x60 | 205 | #define SW6_CS7 0x60 |
| 206 | #define CS8_SW6 0x61 | 206 | #define SW6_CS8 0x61 |
| 207 | #define CS9_SW6 0x62 | 207 | #define SW6_CS9 0x62 |
| 208 | #define CS10_SW6 0x63 | 208 | #define SW6_CS10 0x63 |
| 209 | #define CS11_SW6 0x64 | 209 | #define SW6_CS11 0x64 |
| 210 | #define CS12_SW6 0x65 | 210 | #define SW6_CS12 0x65 |
| 211 | #define CS13_SW6 0x66 | 211 | #define SW6_CS13 0x66 |
| 212 | #define CS14_SW6 0x67 | 212 | #define SW6_CS14 0x67 |
| 213 | #define CS15_SW6 0x68 | 213 | #define SW6_CS15 0x68 |
| 214 | #define CS16_SW6 0x69 | 214 | #define SW6_CS16 0x69 |
| 215 | #define CS17_SW6 0x6A | 215 | #define SW6_CS17 0x6A |
| 216 | #define CS18_SW6 0x6B | 216 | #define SW6_CS18 0x6B |
| 217 | 217 | ||
| 218 | #define CS1_SW7 0x6C | 218 | #define SW7_CS1 0x6C |
| 219 | #define CS2_SW7 0x6D | 219 | #define SW7_CS2 0x6D |
| 220 | #define CS3_SW7 0x6E | 220 | #define SW7_CS3 0x6E |
| 221 | #define CS4_SW7 0x6F | 221 | #define SW7_CS4 0x6F |
| 222 | #define CS5_SW7 0x70 | 222 | #define SW7_CS5 0x70 |
| 223 | #define CS6_SW7 0x71 | 223 | #define SW7_CS6 0x71 |
| 224 | #define CS7_SW7 0x72 | 224 | #define SW7_CS7 0x72 |
| 225 | #define CS8_SW7 0x73 | 225 | #define SW7_CS8 0x73 |
| 226 | #define CS9_SW7 0x74 | 226 | #define SW7_CS9 0x74 |
| 227 | #define CS10_SW7 0x75 | 227 | #define SW7_CS10 0x75 |
| 228 | #define CS11_SW7 0x76 | 228 | #define SW7_CS11 0x76 |
| 229 | #define CS12_SW7 0x77 | 229 | #define SW7_CS12 0x77 |
| 230 | #define CS13_SW7 0x78 | 230 | #define SW7_CS13 0x78 |
| 231 | #define CS14_SW7 0x79 | 231 | #define SW7_CS14 0x79 |
| 232 | #define CS15_SW7 0x7A | 232 | #define SW7_CS15 0x7A |
| 233 | #define CS16_SW7 0x7B | 233 | #define SW7_CS16 0x7B |
| 234 | #define CS17_SW7 0x7C | 234 | #define SW7_CS17 0x7C |
| 235 | #define CS18_SW7 0x7D | 235 | #define SW7_CS18 0x7D |
| 236 | 236 | ||
| 237 | #define CS1_SW8 0x7E | 237 | #define SW8_CS1 0x7E |
| 238 | #define CS2_SW8 0x7F | 238 | #define SW8_CS2 0x7F |
| 239 | #define CS3_SW8 0x80 | 239 | #define SW8_CS3 0x80 |
| 240 | #define CS4_SW8 0x81 | 240 | #define SW8_CS4 0x81 |
| 241 | #define CS5_SW8 0x82 | 241 | #define SW8_CS5 0x82 |
| 242 | #define CS6_SW8 0x83 | 242 | #define SW8_CS6 0x83 |
| 243 | #define CS7_SW8 0x84 | 243 | #define SW8_CS7 0x84 |
| 244 | #define CS8_SW8 0x85 | 244 | #define SW8_CS8 0x85 |
| 245 | #define CS9_SW8 0x86 | 245 | #define SW8_CS9 0x86 |
| 246 | #define CS10_SW8 0x87 | 246 | #define SW8_CS10 0x87 |
| 247 | #define CS11_SW8 0x88 | 247 | #define SW8_CS11 0x88 |
| 248 | #define CS12_SW8 0x89 | 248 | #define SW8_CS12 0x89 |
| 249 | #define CS13_SW8 0x8A | 249 | #define SW8_CS13 0x8A |
| 250 | #define CS14_SW8 0x8B | 250 | #define SW8_CS14 0x8B |
| 251 | #define CS15_SW8 0x8C | 251 | #define SW8_CS15 0x8C |
| 252 | #define CS16_SW8 0x8D | 252 | #define SW8_CS16 0x8D |
| 253 | #define CS17_SW8 0x8E | 253 | #define SW8_CS17 0x8E |
| 254 | #define CS18_SW8 0x8F | 254 | #define SW8_CS18 0x8F |
| 255 | 255 | ||
| 256 | #define CS1_SW9 0x90 | 256 | #define SW9_CS1 0x90 |
| 257 | #define CS2_SW9 0x91 | 257 | #define SW9_CS2 0x91 |
| 258 | #define CS3_SW9 0x92 | 258 | #define SW9_CS3 0x92 |
| 259 | #define CS4_SW9 0x93 | 259 | #define SW9_CS4 0x93 |
| 260 | #define CS5_SW9 0x94 | 260 | #define SW9_CS5 0x94 |
| 261 | #define CS6_SW9 0x95 | 261 | #define SW9_CS6 0x95 |
| 262 | #define CS7_SW9 0x96 | 262 | #define SW9_CS7 0x96 |
| 263 | #define CS8_SW9 0x97 | 263 | #define SW9_CS8 0x97 |
| 264 | #define CS9_SW9 0x98 | 264 | #define SW9_CS9 0x98 |
| 265 | #define CS10_SW9 0x99 | 265 | #define SW9_CS10 0x99 |
| 266 | #define CS11_SW9 0x9A | 266 | #define SW9_CS11 0x9A |
| 267 | #define CS12_SW9 0x9B | 267 | #define SW9_CS12 0x9B |
| 268 | #define CS13_SW9 0x9C | 268 | #define SW9_CS13 0x9C |
| 269 | #define CS14_SW9 0x9D | 269 | #define SW9_CS14 0x9D |
| 270 | #define CS15_SW9 0x9E | 270 | #define SW9_CS15 0x9E |
| 271 | #define CS16_SW9 0x9F | 271 | #define SW9_CS16 0x9F |
| 272 | #define CS17_SW9 0xA0 | 272 | #define SW9_CS17 0xA0 |
| 273 | #define CS18_SW9 0xA1 | 273 | #define SW9_CS18 0xA1 |
| 274 | 274 | ||
| 275 | #define CS1_SW10 0xA2 | 275 | #define SW10_CS1 0xA2 |
| 276 | #define CS2_SW10 0xA3 | 276 | #define SW10_CS2 0xA3 |
| 277 | #define CS3_SW10 0xA4 | 277 | #define SW10_CS3 0xA4 |
| 278 | #define CS4_SW10 0xA5 | 278 | #define SW10_CS4 0xA5 |
| 279 | #define CS5_SW10 0xA6 | 279 | #define SW10_CS5 0xA6 |
| 280 | #define CS6_SW10 0xA7 | 280 | #define SW10_CS6 0xA7 |
| 281 | #define CS7_SW10 0xA8 | 281 | #define SW10_CS7 0xA8 |
| 282 | #define CS8_SW10 0xA9 | 282 | #define SW10_CS8 0xA9 |
| 283 | #define CS9_SW10 0xAA | 283 | #define SW10_CS9 0xAA |
| 284 | #define CS10_SW10 0xAB | 284 | #define SW10_CS10 0xAB |
| 285 | #define CS11_SW10 0xAC | 285 | #define SW10_CS11 0xAC |
| 286 | #define CS12_SW10 0xAD | 286 | #define SW10_CS12 0xAD |
| 287 | #define CS13_SW10 0xAE | 287 | #define SW10_CS13 0xAE |
| 288 | #define CS14_SW10 0xAF | 288 | #define SW10_CS14 0xAF |
| 289 | #define CS15_SW10 0xB0 | 289 | #define SW10_CS15 0xB0 |
| 290 | #define CS16_SW10 0xB1 | 290 | #define SW10_CS16 0xB1 |
| 291 | #define CS17_SW10 0xB2 | 291 | #define SW10_CS17 0xB2 |
| 292 | #define CS18_SW10 0xB3 | 292 | #define SW10_CS18 0xB3 |
| 293 | 293 | ||
| 294 | #define CS1_SW11 0xB4 | 294 | #define SW11_CS1 0xB4 |
| 295 | #define CS2_SW11 0xB5 | 295 | #define SW11_CS2 0xB5 |
| 296 | #define CS3_SW11 0xB6 | 296 | #define SW11_CS3 0xB6 |
| 297 | #define CS4_SW11 0xB7 | 297 | #define SW11_CS4 0xB7 |
| 298 | #define CS5_SW11 0xB8 | 298 | #define SW11_CS5 0xB8 |
| 299 | #define CS6_SW11 0xB9 | 299 | #define SW11_CS6 0xB9 |
| 300 | #define CS7_SW11 0xBA | 300 | #define SW11_CS7 0xBA |
| 301 | #define CS8_SW11 0xBB | 301 | #define SW11_CS8 0xBB |
| 302 | #define CS9_SW11 0xBC | 302 | #define SW11_CS9 0xBC |
| 303 | #define CS10_SW11 0xBD | 303 | #define SW11_CS10 0xBD |
| 304 | #define CS11_SW11 0xBE | 304 | #define SW11_CS11 0xBE |
| 305 | #define CS12_SW11 0xBF | 305 | #define SW11_CS12 0xBF |
| 306 | #define CS13_SW11 0xC0 | 306 | #define SW11_CS13 0xC0 |
| 307 | #define CS14_SW11 0xC1 | 307 | #define SW11_CS14 0xC1 |
| 308 | #define CS15_SW11 0xC2 | 308 | #define SW11_CS15 0xC2 |
| 309 | #define CS16_SW11 0xC3 | 309 | #define SW11_CS16 0xC3 |
| 310 | #define CS17_SW11 0xC4 | 310 | #define SW11_CS17 0xC4 |
| 311 | #define CS18_SW11 0xC5 | 311 | #define SW11_CS18 0xC5 |
| 312 | 312 | ||
| 313 | #define CS1_SW12 0xC6 | 313 | #define SW12_CS1 0xC6 |
| 314 | #define CS2_SW12 0xC7 | 314 | #define SW12_CS2 0xC7 |
| 315 | #define CS3_SW12 0xC8 | 315 | #define SW12_CS3 0xC8 |
| 316 | #define CS4_SW12 0xC9 | 316 | #define SW12_CS4 0xC9 |
| 317 | #define CS5_SW12 0xCA | 317 | #define SW12_CS5 0xCA |
| 318 | #define CS6_SW12 0xCB | 318 | #define SW12_CS6 0xCB |
| 319 | #define CS7_SW12 0xCC | 319 | #define SW12_CS7 0xCC |
| 320 | #define CS8_SW12 0xCD | 320 | #define SW12_CS8 0xCD |
| 321 | #define CS9_SW12 0xCE | 321 | #define SW12_CS9 0xCE |
| 322 | #define CS10_SW12 0xCF | 322 | #define SW12_CS10 0xCF |
| 323 | #define CS11_SW12 0xD0 | 323 | #define SW12_CS11 0xD0 |
| 324 | #define CS12_SW12 0xD1 | 324 | #define SW12_CS12 0xD1 |
| 325 | #define CS13_SW12 0xD2 | 325 | #define SW12_CS13 0xD2 |
| 326 | #define CS14_SW12 0xD3 | 326 | #define SW12_CS14 0xD3 |
| 327 | #define CS15_SW12 0xD4 | 327 | #define SW12_CS15 0xD4 |
| 328 | #define CS16_SW12 0xD5 | 328 | #define SW12_CS16 0xD5 |
| 329 | #define CS17_SW12 0xD6 | 329 | #define SW12_CS17 0xD6 |
| 330 | #define CS18_SW12 0xD7 | 330 | #define SW12_CS18 0xD7 |
| 331 | |||
| 332 | // DEPRECATED - DO NOT USE | ||
| 333 | |||
| 334 | #define CS1_SW1 SW1_CS1 | ||
| 335 | #define CS2_SW1 SW1_CS2 | ||
| 336 | #define CS3_SW1 SW1_CS3 | ||
| 337 | #define CS4_SW1 SW1_CS4 | ||
| 338 | #define CS5_SW1 SW1_CS5 | ||
| 339 | #define CS6_SW1 SW1_CS6 | ||
| 340 | #define CS7_SW1 SW1_CS7 | ||
| 341 | #define CS8_SW1 SW1_CS8 | ||
| 342 | #define CS9_SW1 SW1_CS9 | ||
| 343 | #define CS10_SW1 SW1_CS10 | ||
| 344 | #define CS11_SW1 SW1_CS11 | ||
| 345 | #define CS12_SW1 SW1_CS12 | ||
| 346 | #define CS13_SW1 SW1_CS13 | ||
| 347 | #define CS14_SW1 SW1_CS14 | ||
| 348 | #define CS15_SW1 SW1_CS15 | ||
| 349 | #define CS16_SW1 SW1_CS16 | ||
| 350 | #define CS17_SW1 SW1_CS17 | ||
| 351 | #define CS18_SW1 SW1_CS18 | ||
| 352 | |||
| 353 | #define CS1_SW2 SW2_CS1 | ||
| 354 | #define CS2_SW2 SW2_CS2 | ||
| 355 | #define CS3_SW2 SW2_CS3 | ||
| 356 | #define CS4_SW2 SW2_CS4 | ||
| 357 | #define CS5_SW2 SW2_CS5 | ||
| 358 | #define CS6_SW2 SW2_CS6 | ||
| 359 | #define CS7_SW2 SW2_CS7 | ||
| 360 | #define CS8_SW2 SW2_CS8 | ||
| 361 | #define CS9_SW2 SW2_CS9 | ||
| 362 | #define CS10_SW2 SW2_CS10 | ||
| 363 | #define CS11_SW2 SW2_CS11 | ||
| 364 | #define CS12_SW2 SW2_CS12 | ||
| 365 | #define CS13_SW2 SW2_CS13 | ||
| 366 | #define CS14_SW2 SW2_CS14 | ||
| 367 | #define CS15_SW2 SW2_CS15 | ||
| 368 | #define CS16_SW2 SW2_CS16 | ||
| 369 | #define CS17_SW2 SW2_CS17 | ||
| 370 | #define CS18_SW2 SW2_CS18 | ||
| 371 | |||
| 372 | #define CS1_SW3 SW3_CS1 | ||
| 373 | #define CS2_SW3 SW3_CS2 | ||
| 374 | #define CS3_SW3 SW3_CS3 | ||
| 375 | #define CS4_SW3 SW3_CS4 | ||
| 376 | #define CS5_SW3 SW3_CS5 | ||
| 377 | #define CS6_SW3 SW3_CS6 | ||
| 378 | #define CS7_SW3 SW3_CS7 | ||
| 379 | #define CS8_SW3 SW3_CS8 | ||
| 380 | #define CS9_SW3 SW3_CS9 | ||
| 381 | #define CS10_SW3 SW3_CS10 | ||
| 382 | #define CS11_SW3 SW3_CS11 | ||
| 383 | #define CS12_SW3 SW3_CS12 | ||
| 384 | #define CS13_SW3 SW3_CS13 | ||
| 385 | #define CS14_SW3 SW3_CS14 | ||
| 386 | #define CS15_SW3 SW3_CS15 | ||
| 387 | #define CS16_SW3 SW3_CS16 | ||
| 388 | #define CS17_SW3 SW3_CS17 | ||
| 389 | #define CS18_SW3 SW3_CS18 | ||
| 390 | |||
| 391 | #define CS1_SW4 SW4_CS1 | ||
| 392 | #define CS2_SW4 SW4_CS2 | ||
| 393 | #define CS3_SW4 SW4_CS3 | ||
| 394 | #define CS4_SW4 SW4_CS4 | ||
| 395 | #define CS5_SW4 SW4_CS5 | ||
| 396 | #define CS6_SW4 SW4_CS6 | ||
| 397 | #define CS7_SW4 SW4_CS7 | ||
| 398 | #define CS8_SW4 SW4_CS8 | ||
| 399 | #define CS9_SW4 SW4_CS9 | ||
| 400 | #define CS10_SW4 SW4_CS10 | ||
| 401 | #define CS11_SW4 SW4_CS11 | ||
| 402 | #define CS12_SW4 SW4_CS12 | ||
| 403 | #define CS13_SW4 SW4_CS13 | ||
| 404 | #define CS14_SW4 SW4_CS14 | ||
| 405 | #define CS15_SW4 SW4_CS15 | ||
| 406 | #define CS16_SW4 SW4_CS16 | ||
| 407 | #define CS17_SW4 SW4_CS17 | ||
| 408 | #define CS18_SW4 SW4_CS18 | ||
| 409 | |||
| 410 | #define CS1_SW5 SW5_CS1 | ||
| 411 | #define CS2_SW5 SW5_CS2 | ||
| 412 | #define CS3_SW5 SW5_CS3 | ||
| 413 | #define CS4_SW5 SW5_CS4 | ||
| 414 | #define CS5_SW5 SW5_CS5 | ||
| 415 | #define CS6_SW5 SW5_CS6 | ||
| 416 | #define CS7_SW5 SW5_CS7 | ||
| 417 | #define CS8_SW5 SW5_CS8 | ||
| 418 | #define CS9_SW5 SW5_CS9 | ||
| 419 | #define CS10_SW5 SW5_CS10 | ||
| 420 | #define CS11_SW5 SW5_CS11 | ||
| 421 | #define CS12_SW5 SW5_CS12 | ||
| 422 | #define CS13_SW5 SW5_CS13 | ||
| 423 | #define CS14_SW5 SW5_CS14 | ||
| 424 | #define CS15_SW5 SW5_CS15 | ||
| 425 | #define CS16_SW5 SW5_CS16 | ||
| 426 | #define CS17_SW5 SW5_CS17 | ||
| 427 | #define CS18_SW5 SW5_CS18 | ||
| 428 | |||
| 429 | #define CS1_SW6 SW6_CS1 | ||
| 430 | #define CS2_SW6 SW6_CS2 | ||
| 431 | #define CS3_SW6 SW6_CS3 | ||
| 432 | #define CS4_SW6 SW6_CS4 | ||
| 433 | #define CS5_SW6 SW6_CS5 | ||
| 434 | #define CS6_SW6 SW6_CS6 | ||
| 435 | #define CS7_SW6 SW6_CS7 | ||
| 436 | #define CS8_SW6 SW6_CS8 | ||
| 437 | #define CS9_SW6 SW6_CS9 | ||
| 438 | #define CS10_SW6 SW6_CS10 | ||
| 439 | #define CS11_SW6 SW6_CS11 | ||
| 440 | #define CS12_SW6 SW6_CS12 | ||
| 441 | #define CS13_SW6 SW6_CS13 | ||
| 442 | #define CS14_SW6 SW6_CS14 | ||
| 443 | #define CS15_SW6 SW6_CS15 | ||
| 444 | #define CS16_SW6 SW6_CS16 | ||
| 445 | #define CS17_SW6 SW6_CS17 | ||
| 446 | #define CS18_SW6 SW6_CS18 | ||
| 447 | |||
| 448 | #define CS1_SW7 SW7_CS1 | ||
| 449 | #define CS2_SW7 SW7_CS2 | ||
| 450 | #define CS3_SW7 SW7_CS3 | ||
| 451 | #define CS4_SW7 SW7_CS4 | ||
| 452 | #define CS5_SW7 SW7_CS5 | ||
| 453 | #define CS6_SW7 SW7_CS6 | ||
| 454 | #define CS7_SW7 SW7_CS7 | ||
| 455 | #define CS8_SW7 SW7_CS8 | ||
| 456 | #define CS9_SW7 SW7_CS9 | ||
| 457 | #define CS10_SW7 SW7_CS10 | ||
| 458 | #define CS11_SW7 SW7_CS11 | ||
| 459 | #define CS12_SW7 SW7_CS12 | ||
| 460 | #define CS13_SW7 SW7_CS13 | ||
| 461 | #define CS14_SW7 SW7_CS14 | ||
| 462 | #define CS15_SW7 SW7_CS15 | ||
| 463 | #define CS16_SW7 SW7_CS16 | ||
| 464 | #define CS17_SW7 SW7_CS17 | ||
| 465 | #define CS18_SW7 SW7_CS18 | ||
| 466 | |||
| 467 | #define CS1_SW8 SW8_CS1 | ||
| 468 | #define CS2_SW8 SW8_CS2 | ||
| 469 | #define CS3_SW8 SW8_CS3 | ||
| 470 | #define CS4_SW8 SW8_CS4 | ||
| 471 | #define CS5_SW8 SW8_CS5 | ||
| 472 | #define CS6_SW8 SW8_CS6 | ||
| 473 | #define CS7_SW8 SW8_CS7 | ||
| 474 | #define CS8_SW8 SW8_CS8 | ||
| 475 | #define CS9_SW8 SW8_CS9 | ||
| 476 | #define CS10_SW8 SW8_CS10 | ||
| 477 | #define CS11_SW8 SW8_CS11 | ||
| 478 | #define CS12_SW8 SW8_CS12 | ||
| 479 | #define CS13_SW8 SW8_CS13 | ||
| 480 | #define CS14_SW8 SW8_CS14 | ||
| 481 | #define CS15_SW8 SW8_CS15 | ||
| 482 | #define CS16_SW8 SW8_CS16 | ||
| 483 | #define CS17_SW8 SW8_CS17 | ||
| 484 | #define CS18_SW8 SW8_CS18 | ||
| 485 | |||
| 486 | #define CS1_SW9 SW9_CS1 | ||
| 487 | #define CS2_SW9 SW9_CS2 | ||
| 488 | #define CS3_SW9 SW9_CS3 | ||
| 489 | #define CS4_SW9 SW9_CS4 | ||
| 490 | #define CS5_SW9 SW9_CS5 | ||
| 491 | #define CS6_SW9 SW9_CS6 | ||
| 492 | #define CS7_SW9 SW9_CS7 | ||
| 493 | #define CS8_SW9 SW9_CS8 | ||
| 494 | #define CS9_SW9 SW9_CS9 | ||
| 495 | #define CS10_SW9 SW9_CS10 | ||
| 496 | #define CS11_SW9 SW9_CS11 | ||
| 497 | #define CS12_SW9 SW9_CS12 | ||
| 498 | #define CS13_SW9 SW9_CS13 | ||
| 499 | #define CS14_SW9 SW9_CS14 | ||
| 500 | #define CS15_SW9 SW9_CS15 | ||
| 501 | #define CS16_SW9 SW9_CS16 | ||
| 502 | #define CS17_SW9 SW9_CS17 | ||
| 503 | #define CS18_SW9 SW9_CS18 | ||
| 504 | |||
| 505 | #define CS1_SW10 SW10_CS1 | ||
| 506 | #define CS2_SW10 SW10_CS2 | ||
| 507 | #define CS3_SW10 SW10_CS3 | ||
| 508 | #define CS4_SW10 SW10_CS4 | ||
| 509 | #define CS5_SW10 SW10_CS5 | ||
| 510 | #define CS6_SW10 SW10_CS6 | ||
| 511 | #define CS7_SW10 SW10_CS7 | ||
| 512 | #define CS8_SW10 SW10_CS8 | ||
| 513 | #define CS9_SW10 SW10_CS9 | ||
| 514 | #define CS10_SW10 SW10_CS10 | ||
| 515 | #define CS11_SW10 SW10_CS11 | ||
| 516 | #define CS12_SW10 SW10_CS12 | ||
| 517 | #define CS13_SW10 SW10_CS13 | ||
| 518 | #define CS14_SW10 SW10_CS14 | ||
| 519 | #define CS15_SW10 SW10_CS15 | ||
| 520 | #define CS16_SW10 SW10_CS16 | ||
| 521 | #define CS17_SW10 SW10_CS17 | ||
| 522 | #define CS18_SW10 SW10_CS18 | ||
| 523 | |||
| 524 | #define CS1_SW11 SW11_CS1 | ||
| 525 | #define CS2_SW11 SW11_CS2 | ||
| 526 | #define CS3_SW11 SW11_CS3 | ||
| 527 | #define CS4_SW11 SW11_CS4 | ||
| 528 | #define CS5_SW11 SW11_CS5 | ||
| 529 | #define CS6_SW11 SW11_CS6 | ||
| 530 | #define CS7_SW11 SW11_CS7 | ||
| 531 | #define CS8_SW11 SW11_CS8 | ||
| 532 | #define CS9_SW11 SW11_CS9 | ||
| 533 | #define CS10_SW11 SW11_CS10 | ||
| 534 | #define CS11_SW11 SW11_CS11 | ||
| 535 | #define CS12_SW11 SW11_CS12 | ||
| 536 | #define CS13_SW11 SW11_CS13 | ||
| 537 | #define CS14_SW11 SW11_CS14 | ||
| 538 | #define CS15_SW11 SW11_CS15 | ||
| 539 | #define CS16_SW11 SW11_CS16 | ||
| 540 | #define CS17_SW11 SW11_CS17 | ||
| 541 | #define CS18_SW11 SW11_CS18 | ||
| 542 | |||
| 543 | #define CS1_SW12 SW12_CS1 | ||
| 544 | #define CS2_SW12 SW12_CS2 | ||
| 545 | #define CS3_SW12 SW12_CS3 | ||
| 546 | #define CS4_SW12 SW12_CS4 | ||
| 547 | #define CS5_SW12 SW12_CS5 | ||
| 548 | #define CS6_SW12 SW12_CS6 | ||
| 549 | #define CS7_SW12 SW12_CS7 | ||
| 550 | #define CS8_SW12 SW12_CS8 | ||
| 551 | #define CS9_SW12 SW12_CS9 | ||
| 552 | #define CS10_SW12 SW12_CS10 | ||
| 553 | #define CS11_SW12 SW12_CS11 | ||
| 554 | #define CS12_SW12 SW12_CS12 | ||
| 555 | #define CS13_SW12 SW12_CS13 | ||
| 556 | #define CS14_SW12 SW12_CS14 | ||
| 557 | #define CS15_SW12 SW12_CS15 | ||
| 558 | #define CS16_SW12 SW12_CS16 | ||
| 559 | #define CS17_SW12 SW12_CS17 | ||
| 560 | #define CS18_SW12 SW12_CS18 | ||
diff --git a/drivers/led/issi/is31fl3733-mono.h b/drivers/led/issi/is31fl3733-mono.h index 1e88e49ed5..3786b2ed71 100644 --- a/drivers/led/issi/is31fl3733-mono.h +++ b/drivers/led/issi/is31fl3733-mono.h | |||
| @@ -161,206 +161,206 @@ void is31fl3733_flush(void); | |||
| 161 | #define IS31FL3733_SYNC_MASTER 0b01 | 161 | #define IS31FL3733_SYNC_MASTER 0b01 |
| 162 | #define IS31FL3733_SYNC_SLAVE 0b10 | 162 | #define IS31FL3733_SYNC_SLAVE 0b10 |
| 163 | 163 | ||
| 164 | #define A_1 0x00 | 164 | #define SW1_CS1 0x00 |
| 165 | #define A_2 0x01 | 165 | #define SW1_CS2 0x01 |
| 166 | #define A_3 0x02 | 166 | #define SW1_CS3 0x02 |
| 167 | #define A_4 0x03 | 167 | #define SW1_CS4 0x03 |
| 168 | #define A_5 0x04 | 168 | #define SW1_CS5 0x04 |
| 169 | #define A_6 0x05 | 169 | #define SW1_CS6 0x05 |
| 170 | #define A_7 0x06 | 170 | #define SW1_CS7 0x06 |
| 171 | #define A_8 0x07 | 171 | #define SW1_CS8 0x07 |
| 172 | #define A_9 0x08 | 172 | #define SW1_CS9 0x08 |
| 173 | #define A_10 0x09 | 173 | #define SW1_CS10 0x09 |
| 174 | #define A_11 0x0A | 174 | #define SW1_CS11 0x0A |
| 175 | #define A_12 0x0B | 175 | #define SW1_CS12 0x0B |
| 176 | #define A_13 0x0C | 176 | #define SW1_CS13 0x0C |
| 177 | #define A_14 0x0D | 177 | #define SW1_CS14 0x0D |
| 178 | #define A_15 0x0E | 178 | #define SW1_CS15 0x0E |
| 179 | #define A_16 0x0F | 179 | #define SW1_CS16 0x0F |
| 180 | 180 | ||
| 181 | #define B_1 0x10 | 181 | #define SW2_CS1 0x10 |
| 182 | #define B_2 0x11 | 182 | #define SW2_CS2 0x11 |
| 183 | #define B_3 0x12 | 183 | #define SW2_CS3 0x12 |
| 184 | #define B_4 0x13 | 184 | #define SW2_CS4 0x13 |
| 185 | #define B_5 0x14 | 185 | #define SW2_CS5 0x14 |
| 186 | #define B_6 0x15 | 186 | #define SW2_CS6 0x15 |
| 187 | #define B_7 0x16 | 187 | #define SW2_CS7 0x16 |
| 188 | #define B_8 0x17 | 188 | #define SW2_CS8 0x17 |
| 189 | #define B_9 0x18 | 189 | #define SW2_CS9 0x18 |
| 190 | #define B_10 0x19 | 190 | #define SW2_CS10 0x19 |
| 191 | #define B_11 0x1A | 191 | #define SW2_CS11 0x1A |
| 192 | #define B_12 0x1B | 192 | #define SW2_CS12 0x1B |
| 193 | #define B_13 0x1C | 193 | #define SW2_CS13 0x1C |
| 194 | #define B_14 0x1D | 194 | #define SW2_CS14 0x1D |
| 195 | #define B_15 0x1E | 195 | #define SW2_CS15 0x1E |
| 196 | #define B_16 0x1F | 196 | #define SW2_CS16 0x1F |
| 197 | 197 | ||
| 198 | #define C_1 0x20 | 198 | #define SW3_CS1 0x20 |
| 199 | #define C_2 0x21 | 199 | #define SW3_CS2 0x21 |
| 200 | #define C_3 0x22 | 200 | #define SW3_CS3 0x22 |
| 201 | #define C_4 0x23 | 201 | #define SW3_CS4 0x23 |
| 202 | #define C_5 0x24 | 202 | #define SW3_CS5 0x24 |
| 203 | #define C_6 0x25 | 203 | #define SW3_CS6 0x25 |
| 204 | #define C_7 0x26 | 204 | #define SW3_CS7 0x26 |
| 205 | #define C_8 0x27 | 205 | #define SW3_CS8 0x27 |
| 206 | #define C_9 0x28 | 206 | #define SW3_CS9 0x28 |
| 207 | #define C_10 0x29 | 207 | #define SW3_CS10 0x29 |
| 208 | #define C_11 0x2A | 208 | #define SW3_CS11 0x2A |
| 209 | #define C_12 0x2B | 209 | #define SW3_CS12 0x2B |
| 210 | #define C_13 0x2C | 210 | #define SW3_CS13 0x2C |
| 211 | #define C_14 0x2D | 211 | #define SW3_CS14 0x2D |
| 212 | #define C_15 0x2E | 212 | #define SW3_CS15 0x2E |
| 213 | #define C_16 0x2F | 213 | #define SW3_CS16 0x2F |
| 214 | 214 | ||
| 215 | #define D_1 0x30 | 215 | #define SW4_CS1 0x30 |
| 216 | #define D_2 0x31 | 216 | #define SW4_CS2 0x31 |
| 217 | #define D_3 0x32 | 217 | #define SW4_CS3 0x32 |
| 218 | #define D_4 0x33 | 218 | #define SW4_CS4 0x33 |
| 219 | #define D_5 0x34 | 219 | #define SW4_CS5 0x34 |
| 220 | #define D_6 0x35 | 220 | #define SW4_CS6 0x35 |
| 221 | #define D_7 0x36 | 221 | #define SW4_CS7 0x36 |
| 222 | #define D_8 0x37 | 222 | #define SW4_CS8 0x37 |
| 223 | #define D_9 0x38 | 223 | #define SW4_CS9 0x38 |
| 224 | #define D_10 0x39 | 224 | #define SW4_CS10 0x39 |
| 225 | #define D_11 0x3A | 225 | #define SW4_CS11 0x3A |
| 226 | #define D_12 0x3B | 226 | #define SW4_CS12 0x3B |
| 227 | #define D_13 0x3C | 227 | #define SW4_CS13 0x3C |
| 228 | #define D_14 0x3D | 228 | #define SW4_CS14 0x3D |
| 229 | #define D_15 0x3E | 229 | #define SW4_CS15 0x3E |
| 230 | #define D_16 0x3F | 230 | #define SW4_CS16 0x3F |
| 231 | 231 | ||
| 232 | #define E_1 0x40 | 232 | #define SW5_CS1 0x40 |
| 233 | #define E_2 0x41 | 233 | #define SW5_CS2 0x41 |
| 234 | #define E_3 0x42 | 234 | #define SW5_CS3 0x42 |
| 235 | #define E_4 0x43 | 235 | #define SW5_CS4 0x43 |
| 236 | #define E_5 0x44 | 236 | #define SW5_CS5 0x44 |
| 237 | #define E_6 0x45 | 237 | #define SW5_CS6 0x45 |
| 238 | #define E_7 0x46 | 238 | #define SW5_CS7 0x46 |
| 239 | #define E_8 0x47 | 239 | #define SW5_CS8 0x47 |
| 240 | #define E_9 0x48 | 240 | #define SW5_CS9 0x48 |
| 241 | #define E_10 0x49 | 241 | #define SW5_CS10 0x49 |
| 242 | #define E_11 0x4A | 242 | #define SW5_CS11 0x4A |
| 243 | #define E_12 0x4B | 243 | #define SW5_CS12 0x4B |
| 244 | #define E_13 0x4C | 244 | #define SW5_CS13 0x4C |
| 245 | #define E_14 0x4D | 245 | #define SW5_CS14 0x4D |
| 246 | #define E_15 0x4E | 246 | #define SW5_CS15 0x4E |
| 247 | #define E_16 0x4F | 247 | #define SW5_CS16 0x4F |
| 248 | 248 | ||
| 249 | #define F_1 0x50 | 249 | #define SW6_CS1 0x50 |
| 250 | #define F_2 0x51 | 250 | #define SW6_CS2 0x51 |
| 251 | #define F_3 0x52 | 251 | #define SW6_CS3 0x52 |
| 252 | #define F_4 0x53 | 252 | #define SW6_CS4 0x53 |
| 253 | #define F_5 0x54 | 253 | #define SW6_CS5 0x54 |
| 254 | #define F_6 0x55 | 254 | #define SW6_CS6 0x55 |
| 255 | #define F_7 0x56 | 255 | #define SW6_CS7 0x56 |
| 256 | #define F_8 0x57 | 256 | #define SW6_CS8 0x57 |
| 257 | #define F_9 0x58 | 257 | #define SW6_CS9 0x58 |
| 258 | #define F_10 0x59 | 258 | #define SW6_CS10 0x59 |
| 259 | #define F_11 0x5A | 259 | #define SW6_CS11 0x5A |
| 260 | #define F_12 0x5B | 260 | #define SW6_CS12 0x5B |
| 261 | #define F_13 0x5C | 261 | #define SW6_CS13 0x5C |
| 262 | #define F_14 0x5D | 262 | #define SW6_CS14 0x5D |
| 263 | #define F_15 0x5E | 263 | #define SW6_CS15 0x5E |
| 264 | #define F_16 0x5F | 264 | #define SW6_CS16 0x5F |
| 265 | 265 | ||
| 266 | #define G_1 0x60 | 266 | #define SW7_CS1 0x60 |
| 267 | #define G_2 0x61 | 267 | #define SW7_CS2 0x61 |
| 268 | #define G_3 0x62 | 268 | #define SW7_CS3 0x62 |
| 269 | #define G_4 0x63 | 269 | #define SW7_CS4 0x63 |
| 270 | #define G_5 0x64 | 270 | #define SW7_CS5 0x64 |
| 271 | #define G_6 0x65 | 271 | #define SW7_CS6 0x65 |
| 272 | #define G_7 0x66 | 272 | #define SW7_CS7 0x66 |
| 273 | #define G_8 0x67 | 273 | #define SW7_CS8 0x67 |
| 274 | #define G_9 0x68 | 274 | #define SW7_CS9 0x68 |
| 275 | #define G_10 0x69 | 275 | #define SW7_CS10 0x69 |
| 276 | #define G_11 0x6A | 276 | #define SW7_CS11 0x6A |
| 277 | #define G_12 0x6B | 277 | #define SW7_CS12 0x6B |
| 278 | #define G_13 0x6C | 278 | #define SW7_CS13 0x6C |
| 279 | #define G_14 0x6D | 279 | #define SW7_CS14 0x6D |
| 280 | #define G_15 0x6E | 280 | #define SW7_CS15 0x6E |
| 281 | #define G_16 0x6F | 281 | #define SW7_CS16 0x6F |
| 282 | 282 | ||
| 283 | #define H_1 0x70 | 283 | #define SW8_CS1 0x70 |
| 284 | #define H_2 0x71 | 284 | #define SW8_CS2 0x71 |
| 285 | #define H_3 0x72 | 285 | #define SW8_CS3 0x72 |
| 286 | #define H_4 0x73 | 286 | #define SW8_CS4 0x73 |
| 287 | #define H_5 0x74 | 287 | #define SW8_CS5 0x74 |
| 288 | #define H_6 0x75 | 288 | #define SW8_CS6 0x75 |
| 289 | #define H_7 0x76 | 289 | #define SW8_CS7 0x76 |
| 290 | #define H_8 0x77 | 290 | #define SW8_CS8 0x77 |
| 291 | #define H_9 0x78 | 291 | #define SW8_CS9 0x78 |
| 292 | #define H_10 0x79 | 292 | #define SW8_CS10 0x79 |
| 293 | #define H_11 0x7A | 293 | #define SW8_CS11 0x7A |
| 294 | #define H_12 0x7B | 294 | #define SW8_CS12 0x7B |
| 295 | #define H_13 0x7C | 295 | #define SW8_CS13 0x7C |
| 296 | #define H_14 0x7D | 296 | #define SW8_CS14 0x7D |
| 297 | #define H_15 0x7E | 297 | #define SW8_CS15 0x7E |
| 298 | #define H_16 0x7F | 298 | #define SW8_CS16 0x7F |
| 299 | 299 | ||
| 300 | #define I_1 0x80 | 300 | #define SW9_CS1 0x80 |
| 301 | #define I_2 0x81 | 301 | #define SW9_CS2 0x81 |
| 302 | #define I_3 0x82 | 302 | #define SW9_CS3 0x82 |
| 303 | #define I_4 0x83 | 303 | #define SW9_CS4 0x83 |
| 304 | #define I_5 0x84 | 304 | #define SW9_CS5 0x84 |
| 305 | #define I_6 0x85 | 305 | #define SW9_CS6 0x85 |
| 306 | #define I_7 0x86 | 306 | #define SW9_CS7 0x86 |
| 307 | #define I_8 0x87 | 307 | #define SW9_CS8 0x87 |
| 308 | #define I_9 0x88 | 308 | #define SW9_CS9 0x88 |
| 309 | #define I_10 0x89 | 309 | #define SW9_CS10 0x89 |
| 310 | #define I_11 0x8A | 310 | #define SW9_CS11 0x8A |
| 311 | #define I_12 0x8B | 311 | #define SW9_CS12 0x8B |
| 312 | #define I_13 0x8C | 312 | #define SW9_CS13 0x8C |
| 313 | #define I_14 0x8D | 313 | #define SW9_CS14 0x8D |
| 314 | #define I_15 0x8E | 314 | #define SW9_CS15 0x8E |
| 315 | #define I_16 0x8F | 315 | #define SW9_CS16 0x8F |
| 316 | 316 | ||
| 317 | #define J_1 0x90 | 317 | #define SW10_CS1 0x90 |
| 318 | #define J_2 0x91 | 318 | #define SW10_CS2 0x91 |
| 319 | #define J_3 0x92 | 319 | #define SW10_CS3 0x92 |
| 320 | #define J_4 0x93 | 320 | #define SW10_CS4 0x93 |
| 321 | #define J_5 0x94 | 321 | #define SW10_CS5 0x94 |
| 322 | #define J_6 0x95 | 322 | #define SW10_CS6 0x95 |
| 323 | #define J_7 0x96 | 323 | #define SW10_CS7 0x96 |
| 324 | #define J_8 0x97 | 324 | #define SW10_CS8 0x97 |
| 325 | #define J_9 0x98 | 325 | #define SW10_CS9 0x98 |
| 326 | #define J_10 0x99 | 326 | #define SW10_CS10 0x99 |
| 327 | #define J_11 0x9A | 327 | #define SW10_CS11 0x9A |
| 328 | #define J_12 0x9B | 328 | #define SW10_CS12 0x9B |
| 329 | #define J_13 0x9C | 329 | #define SW10_CS13 0x9C |
| 330 | #define J_14 0x9D | 330 | #define SW10_CS14 0x9D |
| 331 | #define J_15 0x9E | 331 | #define SW10_CS15 0x9E |
| 332 | #define J_16 0x9F | 332 | #define SW10_CS16 0x9F |
| 333 | 333 | ||
| 334 | #define K_1 0xA0 | 334 | #define SW11_CS1 0xA0 |
| 335 | #define K_2 0xA1 | 335 | #define SW11_CS2 0xA1 |
| 336 | #define K_3 0xA2 | 336 | #define SW11_CS3 0xA2 |
| 337 | #define K_4 0xA3 | 337 | #define SW11_CS4 0xA3 |
| 338 | #define K_5 0xA4 | 338 | #define SW11_CS5 0xA4 |
| 339 | #define K_6 0xA5 | 339 | #define SW11_CS6 0xA5 |
| 340 | #define K_7 0xA6 | 340 | #define SW11_CS7 0xA6 |
| 341 | #define K_8 0xA7 | 341 | #define SW11_CS8 0xA7 |
| 342 | #define K_9 0xA8 | 342 | #define SW11_CS9 0xA8 |
| 343 | #define K_10 0xA9 | 343 | #define SW11_CS10 0xA9 |
| 344 | #define K_11 0xAA | 344 | #define SW11_CS11 0xAA |
| 345 | #define K_12 0xAB | 345 | #define SW11_CS12 0xAB |
| 346 | #define K_13 0xAC | 346 | #define SW11_CS13 0xAC |
| 347 | #define K_14 0xAD | 347 | #define SW11_CS14 0xAD |
| 348 | #define K_15 0xAE | 348 | #define SW11_CS15 0xAE |
| 349 | #define K_16 0xAF | 349 | #define SW11_CS16 0xAF |
| 350 | 350 | ||
| 351 | #define L_1 0xB0 | 351 | #define SW12_CS1 0xB0 |
| 352 | #define L_2 0xB1 | 352 | #define SW12_CS2 0xB1 |
| 353 | #define L_3 0xB2 | 353 | #define SW12_CS3 0xB2 |
| 354 | #define L_4 0xB3 | 354 | #define SW12_CS4 0xB3 |
| 355 | #define L_5 0xB4 | 355 | #define SW12_CS5 0xB4 |
| 356 | #define L_6 0xB5 | 356 | #define SW12_CS6 0xB5 |
| 357 | #define L_7 0xB6 | 357 | #define SW12_CS7 0xB6 |
| 358 | #define L_8 0xB7 | 358 | #define SW12_CS8 0xB7 |
| 359 | #define L_9 0xB8 | 359 | #define SW12_CS9 0xB8 |
| 360 | #define L_10 0xB9 | 360 | #define SW12_CS10 0xB9 |
| 361 | #define L_11 0xBA | 361 | #define SW12_CS11 0xBA |
| 362 | #define L_12 0xBB | 362 | #define SW12_CS12 0xBB |
| 363 | #define L_13 0xBC | 363 | #define SW12_CS13 0xBC |
| 364 | #define L_14 0xBD | 364 | #define SW12_CS14 0xBD |
| 365 | #define L_15 0xBE | 365 | #define SW12_CS15 0xBE |
| 366 | #define L_16 0xBF | 366 | #define SW12_CS16 0xBF |
diff --git a/drivers/led/issi/is31fl3733.h b/drivers/led/issi/is31fl3733.h index eef8efc455..fb60c76c2d 100644 --- a/drivers/led/issi/is31fl3733.h +++ b/drivers/led/issi/is31fl3733.h | |||
| @@ -186,206 +186,412 @@ void is31fl3733_flush(void); | |||
| 186 | #define IS31FL3733_SYNC_MASTER 0b01 | 186 | #define IS31FL3733_SYNC_MASTER 0b01 |
| 187 | #define IS31FL3733_SYNC_SLAVE 0b10 | 187 | #define IS31FL3733_SYNC_SLAVE 0b10 |
| 188 | 188 | ||
| 189 | #define A_1 0x00 | 189 | #define SW1_CS1 0x00 |
| 190 | #define A_2 0x01 | 190 | #define SW1_CS2 0x01 |
| 191 | #define A_3 0x02 | 191 | #define SW1_CS3 0x02 |
| 192 | #define A_4 0x03 | 192 | #define SW1_CS4 0x03 |
| 193 | #define A_5 0x04 | 193 | #define SW1_CS5 0x04 |
| 194 | #define A_6 0x05 | 194 | #define SW1_CS6 0x05 |
| 195 | #define A_7 0x06 | 195 | #define SW1_CS7 0x06 |
| 196 | #define A_8 0x07 | 196 | #define SW1_CS8 0x07 |
| 197 | #define A_9 0x08 | 197 | #define SW1_CS9 0x08 |
| 198 | #define A_10 0x09 | 198 | #define SW1_CS10 0x09 |
| 199 | #define A_11 0x0A | 199 | #define SW1_CS11 0x0A |
| 200 | #define A_12 0x0B | 200 | #define SW1_CS12 0x0B |
| 201 | #define A_13 0x0C | 201 | #define SW1_CS13 0x0C |
| 202 | #define A_14 0x0D | 202 | #define SW1_CS14 0x0D |
| 203 | #define A_15 0x0E | 203 | #define SW1_CS15 0x0E |
| 204 | #define A_16 0x0F | 204 | #define SW1_CS16 0x0F |
| 205 | 205 | ||
| 206 | #define B_1 0x10 | 206 | #define SW2_CS1 0x10 |
| 207 | #define B_2 0x11 | 207 | #define SW2_CS2 0x11 |
| 208 | #define B_3 0x12 | 208 | #define SW2_CS3 0x12 |
| 209 | #define B_4 0x13 | 209 | #define SW2_CS4 0x13 |
| 210 | #define B_5 0x14 | 210 | #define SW2_CS5 0x14 |
| 211 | #define B_6 0x15 | 211 | #define SW2_CS6 0x15 |
| 212 | #define B_7 0x16 | 212 | #define SW2_CS7 0x16 |
| 213 | #define B_8 0x17 | 213 | #define SW2_CS8 0x17 |
| 214 | #define B_9 0x18 | 214 | #define SW2_CS9 0x18 |
| 215 | #define B_10 0x19 | 215 | #define SW2_CS10 0x19 |
| 216 | #define B_11 0x1A | 216 | #define SW2_CS11 0x1A |
| 217 | #define B_12 0x1B | 217 | #define SW2_CS12 0x1B |
| 218 | #define B_13 0x1C | 218 | #define SW2_CS13 0x1C |
| 219 | #define B_14 0x1D | 219 | #define SW2_CS14 0x1D |
| 220 | #define B_15 0x1E | 220 | #define SW2_CS15 0x1E |
| 221 | #define B_16 0x1F | 221 | #define SW2_CS16 0x1F |
| 222 | 222 | ||
| 223 | #define C_1 0x20 | 223 | #define SW3_CS1 0x20 |
| 224 | #define C_2 0x21 | 224 | #define SW3_CS2 0x21 |
| 225 | #define C_3 0x22 | 225 | #define SW3_CS3 0x22 |
| 226 | #define C_4 0x23 | 226 | #define SW3_CS4 0x23 |
| 227 | #define C_5 0x24 | 227 | #define SW3_CS5 0x24 |
| 228 | #define C_6 0x25 | 228 | #define SW3_CS6 0x25 |
| 229 | #define C_7 0x26 | 229 | #define SW3_CS7 0x26 |
| 230 | #define C_8 0x27 | 230 | #define SW3_CS8 0x27 |
| 231 | #define C_9 0x28 | 231 | #define SW3_CS9 0x28 |
| 232 | #define C_10 0x29 | 232 | #define SW3_CS10 0x29 |
| 233 | #define C_11 0x2A | 233 | #define SW3_CS11 0x2A |
| 234 | #define C_12 0x2B | 234 | #define SW3_CS12 0x2B |
| 235 | #define C_13 0x2C | 235 | #define SW3_CS13 0x2C |
| 236 | #define C_14 0x2D | 236 | #define SW3_CS14 0x2D |
| 237 | #define C_15 0x2E | 237 | #define SW3_CS15 0x2E |
| 238 | #define C_16 0x2F | 238 | #define SW3_CS16 0x2F |
| 239 | 239 | ||
| 240 | #define D_1 0x30 | 240 | #define SW4_CS1 0x30 |
| 241 | #define D_2 0x31 | 241 | #define SW4_CS2 0x31 |
| 242 | #define D_3 0x32 | 242 | #define SW4_CS3 0x32 |
| 243 | #define D_4 0x33 | 243 | #define SW4_CS4 0x33 |
| 244 | #define D_5 0x34 | 244 | #define SW4_CS5 0x34 |
| 245 | #define D_6 0x35 | 245 | #define SW4_CS6 0x35 |
| 246 | #define D_7 0x36 | 246 | #define SW4_CS7 0x36 |
| 247 | #define D_8 0x37 | 247 | #define SW4_CS8 0x37 |
| 248 | #define D_9 0x38 | 248 | #define SW4_CS9 0x38 |
| 249 | #define D_10 0x39 | 249 | #define SW4_CS10 0x39 |
| 250 | #define D_11 0x3A | 250 | #define SW4_CS11 0x3A |
| 251 | #define D_12 0x3B | 251 | #define SW4_CS12 0x3B |
| 252 | #define D_13 0x3C | 252 | #define SW4_CS13 0x3C |
| 253 | #define D_14 0x3D | 253 | #define SW4_CS14 0x3D |
| 254 | #define D_15 0x3E | 254 | #define SW4_CS15 0x3E |
| 255 | #define D_16 0x3F | 255 | #define SW4_CS16 0x3F |
| 256 | 256 | ||
| 257 | #define E_1 0x40 | 257 | #define SW5_CS1 0x40 |
| 258 | #define E_2 0x41 | 258 | #define SW5_CS2 0x41 |
| 259 | #define E_3 0x42 | 259 | #define SW5_CS3 0x42 |
| 260 | #define E_4 0x43 | 260 | #define SW5_CS4 0x43 |
| 261 | #define E_5 0x44 | 261 | #define SW5_CS5 0x44 |
| 262 | #define E_6 0x45 | 262 | #define SW5_CS6 0x45 |
| 263 | #define E_7 0x46 | 263 | #define SW5_CS7 0x46 |
| 264 | #define E_8 0x47 | 264 | #define SW5_CS8 0x47 |
| 265 | #define E_9 0x48 | 265 | #define SW5_CS9 0x48 |
| 266 | #define E_10 0x49 | 266 | #define SW5_CS10 0x49 |
| 267 | #define E_11 0x4A | 267 | #define SW5_CS11 0x4A |
| 268 | #define E_12 0x4B | 268 | #define SW5_CS12 0x4B |
| 269 | #define E_13 0x4C | 269 | #define SW5_CS13 0x4C |
| 270 | #define E_14 0x4D | 270 | #define SW5_CS14 0x4D |
| 271 | #define E_15 0x4E | 271 | #define SW5_CS15 0x4E |
| 272 | #define E_16 0x4F | 272 | #define SW5_CS16 0x4F |
| 273 | 273 | ||
| 274 | #define F_1 0x50 | 274 | #define SW6_CS1 0x50 |
| 275 | #define F_2 0x51 | 275 | #define SW6_CS2 0x51 |
| 276 | #define F_3 0x52 | 276 | #define SW6_CS3 0x52 |
| 277 | #define F_4 0x53 | 277 | #define SW6_CS4 0x53 |
| 278 | #define F_5 0x54 | 278 | #define SW6_CS5 0x54 |
| 279 | #define F_6 0x55 | 279 | #define SW6_CS6 0x55 |
| 280 | #define F_7 0x56 | 280 | #define SW6_CS7 0x56 |
| 281 | #define F_8 0x57 | 281 | #define SW6_CS8 0x57 |
| 282 | #define F_9 0x58 | 282 | #define SW6_CS9 0x58 |
| 283 | #define F_10 0x59 | 283 | #define SW6_CS10 0x59 |
| 284 | #define F_11 0x5A | 284 | #define SW6_CS11 0x5A |
| 285 | #define F_12 0x5B | 285 | #define SW6_CS12 0x5B |
| 286 | #define F_13 0x5C | 286 | #define SW6_CS13 0x5C |
| 287 | #define F_14 0x5D | 287 | #define SW6_CS14 0x5D |
| 288 | #define F_15 0x5E | 288 | #define SW6_CS15 0x5E |
| 289 | #define F_16 0x5F | 289 | #define SW6_CS16 0x5F |
| 290 | 290 | ||
| 291 | #define G_1 0x60 | 291 | #define SW7_CS1 0x60 |
| 292 | #define G_2 0x61 | 292 | #define SW7_CS2 0x61 |
| 293 | #define G_3 0x62 | 293 | #define SW7_CS3 0x62 |
| 294 | #define G_4 0x63 | 294 | #define SW7_CS4 0x63 |
| 295 | #define G_5 0x64 | 295 | #define SW7_CS5 0x64 |
| 296 | #define G_6 0x65 | 296 | #define SW7_CS6 0x65 |
| 297 | #define G_7 0x66 | 297 | #define SW7_CS7 0x66 |
| 298 | #define G_8 0x67 | 298 | #define SW7_CS8 0x67 |
| 299 | #define G_9 0x68 | 299 | #define SW7_CS9 0x68 |
| 300 | #define G_10 0x69 | 300 | #define SW7_CS10 0x69 |
| 301 | #define G_11 0x6A | 301 | #define SW7_CS11 0x6A |
| 302 | #define G_12 0x6B | 302 | #define SW7_CS12 0x6B |
| 303 | #define G_13 0x6C | 303 | #define SW7_CS13 0x6C |
| 304 | #define G_14 0x6D | 304 | #define SW7_CS14 0x6D |
| 305 | #define G_15 0x6E | 305 | #define SW7_CS15 0x6E |
| 306 | #define G_16 0x6F | 306 | #define SW7_CS16 0x6F |
| 307 | 307 | ||
| 308 | #define H_1 0x70 | 308 | #define SW8_CS1 0x70 |
| 309 | #define H_2 0x71 | 309 | #define SW8_CS2 0x71 |
| 310 | #define H_3 0x72 | 310 | #define SW8_CS3 0x72 |
| 311 | #define H_4 0x73 | 311 | #define SW8_CS4 0x73 |
| 312 | #define H_5 0x74 | 312 | #define SW8_CS5 0x74 |
| 313 | #define H_6 0x75 | 313 | #define SW8_CS6 0x75 |
| 314 | #define H_7 0x76 | 314 | #define SW8_CS7 0x76 |
| 315 | #define H_8 0x77 | 315 | #define SW8_CS8 0x77 |
| 316 | #define H_9 0x78 | 316 | #define SW8_CS9 0x78 |
| 317 | #define H_10 0x79 | 317 | #define SW8_CS10 0x79 |
| 318 | #define H_11 0x7A | 318 | #define SW8_CS11 0x7A |
| 319 | #define H_12 0x7B | 319 | #define SW8_CS12 0x7B |
| 320 | #define H_13 0x7C | 320 | #define SW8_CS13 0x7C |
| 321 | #define H_14 0x7D | 321 | #define SW8_CS14 0x7D |
| 322 | #define H_15 0x7E | 322 | #define SW8_CS15 0x7E |
| 323 | #define H_16 0x7F | 323 | #define SW8_CS16 0x7F |
| 324 | 324 | ||
| 325 | #define I_1 0x80 | 325 | #define SW9_CS1 0x80 |
| 326 | #define I_2 0x81 | 326 | #define SW9_CS2 0x81 |
| 327 | #define I_3 0x82 | 327 | #define SW9_CS3 0x82 |
| 328 | #define I_4 0x83 | 328 | #define SW9_CS4 0x83 |
| 329 | #define I_5 0x84 | 329 | #define SW9_CS5 0x84 |
| 330 | #define I_6 0x85 | 330 | #define SW9_CS6 0x85 |
| 331 | #define I_7 0x86 | 331 | #define SW9_CS7 0x86 |
| 332 | #define I_8 0x87 | 332 | #define SW9_CS8 0x87 |
| 333 | #define I_9 0x88 | 333 | #define SW9_CS9 0x88 |
| 334 | #define I_10 0x89 | 334 | #define SW9_CS10 0x89 |
| 335 | #define I_11 0x8A | 335 | #define SW9_CS11 0x8A |
| 336 | #define I_12 0x8B | 336 | #define SW9_CS12 0x8B |
| 337 | #define I_13 0x8C | 337 | #define SW9_CS13 0x8C |
| 338 | #define I_14 0x8D | 338 | #define SW9_CS14 0x8D |
| 339 | #define I_15 0x8E | 339 | #define SW9_CS15 0x8E |
| 340 | #define I_16 0x8F | 340 | #define SW9_CS16 0x8F |
| 341 | 341 | ||
| 342 | #define J_1 0x90 | 342 | #define SW10_CS1 0x90 |
| 343 | #define J_2 0x91 | 343 | #define SW10_CS2 0x91 |
| 344 | #define J_3 0x92 | 344 | #define SW10_CS3 0x92 |
| 345 | #define J_4 0x93 | 345 | #define SW10_CS4 0x93 |
| 346 | #define J_5 0x94 | 346 | #define SW10_CS5 0x94 |
| 347 | #define J_6 0x95 | 347 | #define SW10_CS6 0x95 |
| 348 | #define J_7 0x96 | 348 | #define SW10_CS7 0x96 |
| 349 | #define J_8 0x97 | 349 | #define SW10_CS8 0x97 |
| 350 | #define J_9 0x98 | 350 | #define SW10_CS9 0x98 |
| 351 | #define J_10 0x99 | 351 | #define SW10_CS10 0x99 |
| 352 | #define J_11 0x9A | 352 | #define SW10_CS11 0x9A |
| 353 | #define J_12 0x9B | 353 | #define SW10_CS12 0x9B |
| 354 | #define J_13 0x9C | 354 | #define SW10_CS13 0x9C |
| 355 | #define J_14 0x9D | 355 | #define SW10_CS14 0x9D |
| 356 | #define J_15 0x9E | 356 | #define SW10_CS15 0x9E |
| 357 | #define J_16 0x9F | 357 | #define SW10_CS16 0x9F |
| 358 | 358 | ||
| 359 | #define K_1 0xA0 | 359 | #define SW11_CS1 0xA0 |
| 360 | #define K_2 0xA1 | 360 | #define SW11_CS2 0xA1 |
| 361 | #define K_3 0xA2 | 361 | #define SW11_CS3 0xA2 |
| 362 | #define K_4 0xA3 | 362 | #define SW11_CS4 0xA3 |
| 363 | #define K_5 0xA4 | 363 | #define SW11_CS5 0xA4 |
| 364 | #define K_6 0xA5 | 364 | #define SW11_CS6 0xA5 |
| 365 | #define K_7 0xA6 | 365 | #define SW11_CS7 0xA6 |
| 366 | #define K_8 0xA7 | 366 | #define SW11_CS8 0xA7 |
| 367 | #define K_9 0xA8 | 367 | #define SW11_CS9 0xA8 |
| 368 | #define K_10 0xA9 | 368 | #define SW11_CS10 0xA9 |
| 369 | #define K_11 0xAA | 369 | #define SW11_CS11 0xAA |
| 370 | #define K_12 0xAB | 370 | #define SW11_CS12 0xAB |
| 371 | #define K_13 0xAC | 371 | #define SW11_CS13 0xAC |
| 372 | #define K_14 0xAD | 372 | #define SW11_CS14 0xAD |
| 373 | #define K_15 0xAE | 373 | #define SW11_CS15 0xAE |
| 374 | #define K_16 0xAF | 374 | #define SW11_CS16 0xAF |
| 375 | 375 | ||
| 376 | #define L_1 0xB0 | 376 | #define SW12_CS1 0xB0 |
| 377 | #define L_2 0xB1 | 377 | #define SW12_CS2 0xB1 |
| 378 | #define L_3 0xB2 | 378 | #define SW12_CS3 0xB2 |
| 379 | #define L_4 0xB3 | 379 | #define SW12_CS4 0xB3 |
| 380 | #define L_5 0xB4 | 380 | #define SW12_CS5 0xB4 |
| 381 | #define L_6 0xB5 | 381 | #define SW12_CS6 0xB5 |
| 382 | #define L_7 0xB6 | 382 | #define SW12_CS7 0xB6 |
| 383 | #define L_8 0xB7 | 383 | #define SW12_CS8 0xB7 |
| 384 | #define L_9 0xB8 | 384 | #define SW12_CS9 0xB8 |
| 385 | #define L_10 0xB9 | 385 | #define SW12_CS10 0xB9 |
| 386 | #define L_11 0xBA | 386 | #define SW12_CS11 0xBA |
| 387 | #define L_12 0xBB | 387 | #define SW12_CS12 0xBB |
| 388 | #define L_13 0xBC | 388 | #define SW12_CS13 0xBC |
| 389 | #define L_14 0xBD | 389 | #define SW12_CS14 0xBD |
| 390 | #define L_15 0xBE | 390 | #define SW12_CS15 0xBE |
| 391 | #define L_16 0xBF | 391 | #define SW12_CS16 0xBF |
| 392 | |||
| 393 | // DEPRECATED - DO NOT USE | ||
| 394 | |||
| 395 | #define A_1 SW1_CS1 | ||
| 396 | #define A_2 SW1_CS2 | ||
| 397 | #define A_3 SW1_CS3 | ||
| 398 | #define A_4 SW1_CS4 | ||
| 399 | #define A_5 SW1_CS5 | ||
| 400 | #define A_6 SW1_CS6 | ||
| 401 | #define A_7 SW1_CS7 | ||
| 402 | #define A_8 SW1_CS8 | ||
| 403 | #define A_9 SW1_CS9 | ||
| 404 | #define A_10 SW1_CS10 | ||
| 405 | #define A_11 SW1_CS11 | ||
| 406 | #define A_12 SW1_CS12 | ||
| 407 | #define A_13 SW1_CS13 | ||
| 408 | #define A_14 SW1_CS14 | ||
| 409 | #define A_15 SW1_CS15 | ||
| 410 | #define A_16 SW1_CS16 | ||
| 411 | |||
| 412 | #define B_1 SW2_CS1 | ||
| 413 | #define B_2 SW2_CS2 | ||
| 414 | #define B_3 SW2_CS3 | ||
| 415 | #define B_4 SW2_CS4 | ||
| 416 | #define B_5 SW2_CS5 | ||
| 417 | #define B_6 SW2_CS6 | ||
| 418 | #define B_7 SW2_CS7 | ||
| 419 | #define B_8 SW2_CS8 | ||
| 420 | #define B_9 SW2_CS9 | ||
| 421 | #define B_10 SW2_CS10 | ||
| 422 | #define B_11 SW2_CS11 | ||
| 423 | #define B_12 SW2_CS12 | ||
| 424 | #define B_13 SW2_CS13 | ||
| 425 | #define B_14 SW2_CS14 | ||
| 426 | #define B_15 SW2_CS15 | ||
| 427 | #define B_16 SW2_CS16 | ||
| 428 | |||
| 429 | #define C_1 SW3_CS1 | ||
| 430 | #define C_2 SW3_CS2 | ||
| 431 | #define C_3 SW3_CS3 | ||
| 432 | #define C_4 SW3_CS4 | ||
| 433 | #define C_5 SW3_CS5 | ||
| 434 | #define C_6 SW3_CS6 | ||
| 435 | #define C_7 SW3_CS7 | ||
| 436 | #define C_8 SW3_CS8 | ||
| 437 | #define C_9 SW3_CS9 | ||
| 438 | #define C_10 SW3_CS10 | ||
| 439 | #define C_11 SW3_CS11 | ||
| 440 | #define C_12 SW3_CS12 | ||
| 441 | #define C_13 SW3_CS13 | ||
| 442 | #define C_14 SW3_CS14 | ||
| 443 | #define C_15 SW3_CS15 | ||
| 444 | #define C_16 SW3_CS16 | ||
| 445 | |||
| 446 | #define D_1 SW4_CS1 | ||
| 447 | #define D_2 SW4_CS2 | ||
| 448 | #define D_3 SW4_CS3 | ||
| 449 | #define D_4 SW4_CS4 | ||
| 450 | #define D_5 SW4_CS5 | ||
| 451 | #define D_6 SW4_CS6 | ||
| 452 | #define D_7 SW4_CS7 | ||
| 453 | #define D_8 SW4_CS8 | ||
| 454 | #define D_9 SW4_CS9 | ||
| 455 | #define D_10 SW4_CS10 | ||
| 456 | #define D_11 SW4_CS11 | ||
| 457 | #define D_12 SW4_CS12 | ||
| 458 | #define D_13 SW4_CS13 | ||
| 459 | #define D_14 SW4_CS14 | ||
| 460 | #define D_15 SW4_CS15 | ||
| 461 | #define D_16 SW4_CS16 | ||
| 462 | |||
| 463 | #define E_1 SW5_CS1 | ||
| 464 | #define E_2 SW5_CS2 | ||
| 465 | #define E_3 SW5_CS3 | ||
| 466 | #define E_4 SW5_CS4 | ||
| 467 | #define E_5 SW5_CS5 | ||
| 468 | #define E_6 SW5_CS6 | ||
| 469 | #define E_7 SW5_CS7 | ||
| 470 | #define E_8 SW5_CS8 | ||
| 471 | #define E_9 SW5_CS9 | ||
| 472 | #define E_10 SW5_CS10 | ||
| 473 | #define E_11 SW5_CS11 | ||
| 474 | #define E_12 SW5_CS12 | ||
| 475 | #define E_13 SW5_CS13 | ||
| 476 | #define E_14 SW5_CS14 | ||
| 477 | #define E_15 SW5_CS15 | ||
| 478 | #define E_16 SW5_CS16 | ||
| 479 | |||
| 480 | #define F_1 SW6_CS1 | ||
| 481 | #define F_2 SW6_CS2 | ||
| 482 | #define F_3 SW6_CS3 | ||
| 483 | #define F_4 SW6_CS4 | ||
| 484 | #define F_5 SW6_CS5 | ||
| 485 | #define F_6 SW6_CS6 | ||
| 486 | #define F_7 SW6_CS7 | ||
| 487 | #define F_8 SW6_CS8 | ||
| 488 | #define F_9 SW6_CS9 | ||
| 489 | #define F_10 SW6_CS10 | ||
| 490 | #define F_11 SW6_CS11 | ||
| 491 | #define F_12 SW6_CS12 | ||
| 492 | #define F_13 SW6_CS13 | ||
| 493 | #define F_14 SW6_CS14 | ||
| 494 | #define F_15 SW6_CS15 | ||
| 495 | #define F_16 SW6_CS16 | ||
| 496 | |||
| 497 | #define G_1 SW7_CS1 | ||
| 498 | #define G_2 SW7_CS2 | ||
| 499 | #define G_3 SW7_CS3 | ||
| 500 | #define G_4 SW7_CS4 | ||
| 501 | #define G_5 SW7_CS5 | ||
| 502 | #define G_6 SW7_CS6 | ||
| 503 | #define G_7 SW7_CS7 | ||
| 504 | #define G_8 SW7_CS8 | ||
| 505 | #define G_9 SW7_CS9 | ||
| 506 | #define G_10 SW7_CS10 | ||
| 507 | #define G_11 SW7_CS11 | ||
| 508 | #define G_12 SW7_CS12 | ||
| 509 | #define G_13 SW7_CS13 | ||
| 510 | #define G_14 SW7_CS14 | ||
| 511 | #define G_15 SW7_CS15 | ||
| 512 | #define G_16 SW7_CS16 | ||
| 513 | |||
| 514 | #define H_1 SW8_CS1 | ||
| 515 | #define H_2 SW8_CS2 | ||
| 516 | #define H_3 SW8_CS3 | ||
| 517 | #define H_4 SW8_CS4 | ||
| 518 | #define H_5 SW8_CS5 | ||
| 519 | #define H_6 SW8_CS6 | ||
| 520 | #define H_7 SW8_CS7 | ||
| 521 | #define H_8 SW8_CS8 | ||
| 522 | #define H_9 SW8_CS9 | ||
| 523 | #define H_10 SW8_CS10 | ||
| 524 | #define H_11 SW8_CS11 | ||
| 525 | #define H_12 SW8_CS12 | ||
| 526 | #define H_13 SW8_CS13 | ||
| 527 | #define H_14 SW8_CS14 | ||
| 528 | #define H_15 SW8_CS15 | ||
| 529 | #define H_16 SW8_CS16 | ||
| 530 | |||
| 531 | #define I_1 SW9_CS1 | ||
| 532 | #define I_2 SW9_CS2 | ||
| 533 | #define I_3 SW9_CS3 | ||
| 534 | #define I_4 SW9_CS4 | ||
| 535 | #define I_5 SW9_CS5 | ||
| 536 | #define I_6 SW9_CS6 | ||
| 537 | #define I_7 SW9_CS7 | ||
| 538 | #define I_8 SW9_CS8 | ||
| 539 | #define I_9 SW9_CS9 | ||
| 540 | #define I_10 SW9_CS10 | ||
| 541 | #define I_11 SW9_CS11 | ||
| 542 | #define I_12 SW9_CS12 | ||
| 543 | #define I_13 SW9_CS13 | ||
| 544 | #define I_14 SW9_CS14 | ||
| 545 | #define I_15 SW9_CS15 | ||
| 546 | #define I_16 SW9_CS16 | ||
| 547 | |||
| 548 | #define J_1 SW10_CS1 | ||
| 549 | #define J_2 SW10_CS2 | ||
| 550 | #define J_3 SW10_CS3 | ||
| 551 | #define J_4 SW10_CS4 | ||
| 552 | #define J_5 SW10_CS5 | ||
| 553 | #define J_6 SW10_CS6 | ||
| 554 | #define J_7 SW10_CS7 | ||
| 555 | #define J_8 SW10_CS8 | ||
| 556 | #define J_9 SW10_CS9 | ||
| 557 | #define J_10 SW10_CS10 | ||
| 558 | #define J_11 SW10_CS11 | ||
| 559 | #define J_12 SW10_CS12 | ||
| 560 | #define J_13 SW10_CS13 | ||
| 561 | #define J_14 SW10_CS14 | ||
| 562 | #define J_15 SW10_CS15 | ||
| 563 | #define J_16 SW10_CS16 | ||
| 564 | |||
| 565 | #define K_1 SW11_CS1 | ||
| 566 | #define K_2 SW11_CS2 | ||
| 567 | #define K_3 SW11_CS3 | ||
| 568 | #define K_4 SW11_CS4 | ||
| 569 | #define K_5 SW11_CS5 | ||
| 570 | #define K_6 SW11_CS6 | ||
| 571 | #define K_7 SW11_CS7 | ||
| 572 | #define K_8 SW11_CS8 | ||
| 573 | #define K_9 SW11_CS9 | ||
| 574 | #define K_10 SW11_CS10 | ||
| 575 | #define K_11 SW11_CS11 | ||
| 576 | #define K_12 SW11_CS12 | ||
| 577 | #define K_13 SW11_CS13 | ||
| 578 | #define K_14 SW11_CS14 | ||
| 579 | #define K_15 SW11_CS15 | ||
| 580 | #define K_16 SW11_CS16 | ||
| 581 | |||
| 582 | #define L_1 SW12_CS1 | ||
| 583 | #define L_2 SW12_CS2 | ||
| 584 | #define L_3 SW12_CS3 | ||
| 585 | #define L_4 SW12_CS4 | ||
| 586 | #define L_5 SW12_CS5 | ||
| 587 | #define L_6 SW12_CS6 | ||
| 588 | #define L_7 SW12_CS7 | ||
| 589 | #define L_8 SW12_CS8 | ||
| 590 | #define L_9 SW12_CS9 | ||
| 591 | #define L_10 SW12_CS10 | ||
| 592 | #define L_11 SW12_CS11 | ||
| 593 | #define L_12 SW12_CS12 | ||
| 594 | #define L_13 SW12_CS13 | ||
| 595 | #define L_14 SW12_CS14 | ||
| 596 | #define L_15 SW12_CS15 | ||
| 597 | #define L_16 SW12_CS16 | ||
diff --git a/drivers/led/issi/is31fl3736-mono.h b/drivers/led/issi/is31fl3736-mono.h index 6571a9ab71..91c2e0420b 100644 --- a/drivers/led/issi/is31fl3736-mono.h +++ b/drivers/led/issi/is31fl3736-mono.h | |||
| @@ -152,110 +152,220 @@ void is31fl3736_flush(void); | |||
| 152 | #define IS31FL3736_PWM_FREQUENCY_2K1_HZ 0b011 | 152 | #define IS31FL3736_PWM_FREQUENCY_2K1_HZ 0b011 |
| 153 | #define IS31FL3736_PWM_FREQUENCY_1K05_HZ 0b100 | 153 | #define IS31FL3736_PWM_FREQUENCY_1K05_HZ 0b100 |
| 154 | 154 | ||
| 155 | #define A_1 0x00 | 155 | #define SW1_CS1 0x00 |
| 156 | #define A_2 0x02 | 156 | #define SW1_CS2 0x02 |
| 157 | #define A_3 0x04 | 157 | #define SW1_CS3 0x04 |
| 158 | #define A_4 0x06 | 158 | #define SW1_CS4 0x06 |
| 159 | #define A_5 0x08 | 159 | #define SW1_CS5 0x08 |
| 160 | #define A_6 0x0A | 160 | #define SW1_CS6 0x0A |
| 161 | #define A_7 0x0C | 161 | #define SW1_CS7 0x0C |
| 162 | #define A_8 0x0E | 162 | #define SW1_CS8 0x0E |
| 163 | 163 | ||
| 164 | #define B_1 0x10 | 164 | #define SW2_CS1 0x10 |
| 165 | #define B_2 0x12 | 165 | #define SW2_CS2 0x12 |
| 166 | #define B_3 0x14 | 166 | #define SW2_CS3 0x14 |
| 167 | #define B_4 0x16 | 167 | #define SW2_CS4 0x16 |
| 168 | #define B_5 0x18 | 168 | #define SW2_CS5 0x18 |
| 169 | #define B_6 0x1A | 169 | #define SW2_CS6 0x1A |
| 170 | #define B_7 0x1C | 170 | #define SW2_CS7 0x1C |
| 171 | #define B_8 0x1E | 171 | #define SW2_CS8 0x1E |
| 172 | 172 | ||
| 173 | #define C_1 0x20 | 173 | #define SW3_CS1 0x20 |
| 174 | #define C_2 0x22 | 174 | #define SW3_CS2 0x22 |
| 175 | #define C_3 0x24 | 175 | #define SW3_CS3 0x24 |
| 176 | #define C_4 0x26 | 176 | #define SW3_CS4 0x26 |
| 177 | #define C_5 0x28 | 177 | #define SW3_CS5 0x28 |
| 178 | #define C_6 0x2A | 178 | #define SW3_CS6 0x2A |
| 179 | #define C_7 0x2C | 179 | #define SW3_CS7 0x2C |
| 180 | #define C_8 0x2E | 180 | #define SW3_CS8 0x2E |
| 181 | 181 | ||
| 182 | #define D_1 0x30 | 182 | #define SW4_CS1 0x30 |
| 183 | #define D_2 0x32 | 183 | #define SW4_CS2 0x32 |
| 184 | #define D_3 0x34 | 184 | #define SW4_CS3 0x34 |
| 185 | #define D_4 0x36 | 185 | #define SW4_CS4 0x36 |
| 186 | #define D_5 0x38 | 186 | #define SW4_CS5 0x38 |
| 187 | #define D_6 0x3A | 187 | #define SW4_CS6 0x3A |
| 188 | #define D_7 0x3C | 188 | #define SW4_CS7 0x3C |
| 189 | #define D_8 0x3E | 189 | #define SW4_CS8 0x3E |
| 190 | 190 | ||
| 191 | #define E_1 0x40 | 191 | #define SW5_CS1 0x40 |
| 192 | #define E_2 0x42 | 192 | #define SW5_CS2 0x42 |
| 193 | #define E_3 0x44 | 193 | #define SW5_CS3 0x44 |
| 194 | #define E_4 0x46 | 194 | #define SW5_CS4 0x46 |
| 195 | #define E_5 0x48 | 195 | #define SW5_CS5 0x48 |
| 196 | #define E_6 0x4A | 196 | #define SW5_CS6 0x4A |
| 197 | #define E_7 0x4C | 197 | #define SW5_CS7 0x4C |
| 198 | #define E_8 0x4E | 198 | #define SW5_CS8 0x4E |
| 199 | 199 | ||
| 200 | #define F_1 0x50 | 200 | #define SW6_CS1 0x50 |
| 201 | #define F_2 0x52 | 201 | #define SW6_CS2 0x52 |
| 202 | #define F_3 0x54 | 202 | #define SW6_CS3 0x54 |
| 203 | #define F_4 0x56 | 203 | #define SW6_CS4 0x56 |
| 204 | #define F_5 0x58 | 204 | #define SW6_CS5 0x58 |
| 205 | #define F_6 0x5A | 205 | #define SW6_CS6 0x5A |
| 206 | #define F_7 0x5C | 206 | #define SW6_CS7 0x5C |
| 207 | #define F_8 0x5E | 207 | #define SW6_CS8 0x5E |
| 208 | 208 | ||
| 209 | #define G_1 0x60 | 209 | #define SW7_CS1 0x60 |
| 210 | #define G_2 0x62 | 210 | #define SW7_CS2 0x62 |
| 211 | #define G_3 0x64 | 211 | #define SW7_CS3 0x64 |
| 212 | #define G_4 0x66 | 212 | #define SW7_CS4 0x66 |
| 213 | #define G_5 0x68 | 213 | #define SW7_CS5 0x68 |
| 214 | #define G_6 0x6A | 214 | #define SW7_CS6 0x6A |
| 215 | #define G_7 0x6C | 215 | #define SW7_CS7 0x6C |
| 216 | #define G_8 0x6E | 216 | #define SW7_CS8 0x6E |
| 217 | 217 | ||
| 218 | #define H_1 0x70 | 218 | #define SW8_CS1 0x70 |
| 219 | #define H_2 0x72 | 219 | #define SW8_CS2 0x72 |
| 220 | #define H_3 0x74 | 220 | #define SW8_CS3 0x74 |
| 221 | #define H_4 0x76 | 221 | #define SW8_CS4 0x76 |
| 222 | #define H_5 0x78 | 222 | #define SW8_CS5 0x78 |
| 223 | #define H_6 0x7A | 223 | #define SW8_CS6 0x7A |
| 224 | #define H_7 0x7C | 224 | #define SW8_CS7 0x7C |
| 225 | #define H_8 0x7E | 225 | #define SW8_CS8 0x7E |
| 226 | 226 | ||
| 227 | #define I_1 0x80 | 227 | #define SW9_CS1 0x80 |
| 228 | #define I_2 0x82 | 228 | #define SW9_CS2 0x82 |
| 229 | #define I_3 0x84 | 229 | #define SW9_CS3 0x84 |
| 230 | #define I_4 0x86 | 230 | #define SW9_CS4 0x86 |
| 231 | #define I_5 0x88 | 231 | #define SW9_CS5 0x88 |
| 232 | #define I_6 0x8A | 232 | #define SW9_CS6 0x8A |
| 233 | #define I_7 0x8C | 233 | #define SW9_CS7 0x8C |
| 234 | #define I_8 0x8E | 234 | #define SW9_CS8 0x8E |
| 235 | 235 | ||
| 236 | #define J_1 0x90 | 236 | #define SW10_CS1 0x90 |
| 237 | #define J_2 0x92 | 237 | #define SW10_CS2 0x92 |
| 238 | #define J_3 0x94 | 238 | #define SW10_CS3 0x94 |
| 239 | #define J_4 0x96 | 239 | #define SW10_CS4 0x96 |
| 240 | #define J_5 0x98 | 240 | #define SW10_CS5 0x98 |
| 241 | #define J_6 0x9A | 241 | #define SW10_CS6 0x9A |
| 242 | #define J_7 0x9C | 242 | #define SW10_CS7 0x9C |
| 243 | #define J_8 0x9E | 243 | #define SW10_CS8 0x9E |
| 244 | 244 | ||
| 245 | #define K_1 0xA0 | 245 | #define SW11_CS1 0xA0 |
| 246 | #define K_2 0xA2 | 246 | #define SW11_CS2 0xA2 |
| 247 | #define K_3 0xA4 | 247 | #define SW11_CS3 0xA4 |
| 248 | #define K_4 0xA6 | 248 | #define SW11_CS4 0xA6 |
| 249 | #define K_5 0xA8 | 249 | #define SW11_CS5 0xA8 |
| 250 | #define K_6 0xAA | 250 | #define SW11_CS6 0xAA |
| 251 | #define K_7 0xAC | 251 | #define SW11_CS7 0xAC |
| 252 | #define K_8 0xAE | 252 | #define SW11_CS8 0xAE |
| 253 | 253 | ||
| 254 | #define L_1 0xB0 | 254 | #define SW12_CS1 0xB0 |
| 255 | #define L_2 0xB2 | 255 | #define SW12_CS2 0xB2 |
| 256 | #define L_3 0xB4 | 256 | #define SW12_CS3 0xB4 |
| 257 | #define L_4 0xB6 | 257 | #define SW12_CS4 0xB6 |
| 258 | #define L_5 0xB8 | 258 | #define SW12_CS5 0xB8 |
| 259 | #define L_6 0xBA | 259 | #define SW12_CS6 0xBA |
| 260 | #define L_7 0xBC | 260 | #define SW12_CS7 0xBC |
| 261 | #define L_8 0xBE | 261 | #define SW12_CS8 0xBE |
| 262 | |||
| 263 | // DEPRECATED - DO NOT USE | ||
| 264 | |||
| 265 | #define A_1 SW1_CS1 | ||
| 266 | #define A_2 SW1_CS2 | ||
| 267 | #define A_3 SW1_CS3 | ||
| 268 | #define A_4 SW1_CS4 | ||
| 269 | #define A_5 SW1_CS5 | ||
| 270 | #define A_6 SW1_CS6 | ||
| 271 | #define A_7 SW1_CS7 | ||
| 272 | #define A_8 SW1_CS8 | ||
| 273 | |||
| 274 | #define B_1 SW2_CS1 | ||
| 275 | #define B_2 SW2_CS2 | ||
| 276 | #define B_3 SW2_CS3 | ||
| 277 | #define B_4 SW2_CS4 | ||
| 278 | #define B_5 SW2_CS5 | ||
| 279 | #define B_6 SW2_CS6 | ||
| 280 | #define B_7 SW2_CS7 | ||
| 281 | #define B_8 SW2_CS8 | ||
| 282 | |||
| 283 | #define C_1 SW3_CS1 | ||
| 284 | #define C_2 SW3_CS2 | ||
| 285 | #define C_3 SW3_CS3 | ||
| 286 | #define C_4 SW3_CS4 | ||
| 287 | #define C_5 SW3_CS5 | ||
| 288 | #define C_6 SW3_CS6 | ||
| 289 | #define C_7 SW3_CS7 | ||
| 290 | #define C_8 SW3_CS8 | ||
| 291 | |||
| 292 | #define D_1 SW4_CS1 | ||
| 293 | #define D_2 SW4_CS2 | ||
| 294 | #define D_3 SW4_CS3 | ||
| 295 | #define D_4 SW4_CS4 | ||
| 296 | #define D_5 SW4_CS5 | ||
| 297 | #define D_6 SW4_CS6 | ||
| 298 | #define D_7 SW4_CS7 | ||
| 299 | #define D_8 SW4_CS8 | ||
| 300 | |||
| 301 | #define E_1 SW5_CS1 | ||
| 302 | #define E_2 SW5_CS2 | ||
| 303 | #define E_3 SW5_CS3 | ||
| 304 | #define E_4 SW5_CS4 | ||
| 305 | #define E_5 SW5_CS5 | ||
| 306 | #define E_6 SW5_CS6 | ||
| 307 | #define E_7 SW5_CS7 | ||
| 308 | #define E_8 SW5_CS8 | ||
| 309 | |||
| 310 | #define F_1 SW6_CS1 | ||
| 311 | #define F_2 SW6_CS2 | ||
| 312 | #define F_3 SW6_CS3 | ||
| 313 | #define F_4 SW6_CS4 | ||
| 314 | #define F_5 SW6_CS5 | ||
| 315 | #define F_6 SW6_CS6 | ||
| 316 | #define F_7 SW6_CS7 | ||
| 317 | #define F_8 SW6_CS8 | ||
| 318 | |||
| 319 | #define G_1 SW7_CS1 | ||
| 320 | #define G_2 SW7_CS2 | ||
| 321 | #define G_3 SW7_CS3 | ||
| 322 | #define G_4 SW7_CS4 | ||
| 323 | #define G_5 SW7_CS5 | ||
| 324 | #define G_6 SW7_CS6 | ||
| 325 | #define G_7 SW7_CS7 | ||
| 326 | #define G_8 SW7_CS8 | ||
| 327 | |||
| 328 | #define H_1 SW8_CS1 | ||
| 329 | #define H_2 SW8_CS2 | ||
| 330 | #define H_3 SW8_CS3 | ||
| 331 | #define H_4 SW8_CS4 | ||
| 332 | #define H_5 SW8_CS5 | ||
| 333 | #define H_6 SW8_CS6 | ||
| 334 | #define H_7 SW8_CS7 | ||
| 335 | #define H_8 SW8_CS8 | ||
| 336 | |||
| 337 | #define I_1 SW9_CS1 | ||
| 338 | #define I_2 SW9_CS2 | ||
| 339 | #define I_3 SW9_CS3 | ||
| 340 | #define I_4 SW9_CS4 | ||
| 341 | #define I_5 SW9_CS5 | ||
| 342 | #define I_6 SW9_CS6 | ||
| 343 | #define I_7 SW9_CS7 | ||
| 344 | #define I_8 SW9_CS8 | ||
| 345 | |||
| 346 | #define J_1 SW10_CS1 | ||
| 347 | #define J_2 SW10_CS2 | ||
| 348 | #define J_3 SW10_CS3 | ||
| 349 | #define J_4 SW10_CS4 | ||
| 350 | #define J_5 SW10_CS5 | ||
| 351 | #define J_6 SW10_CS6 | ||
| 352 | #define J_7 SW10_CS7 | ||
| 353 | #define J_8 SW10_CS8 | ||
| 354 | |||
| 355 | #define K_1 SW11_CS1 | ||
| 356 | #define K_2 SW11_CS2 | ||
| 357 | #define K_3 SW11_CS3 | ||
| 358 | #define K_4 SW11_CS4 | ||
| 359 | #define K_5 SW11_CS5 | ||
| 360 | #define K_6 SW11_CS6 | ||
| 361 | #define K_7 SW11_CS7 | ||
| 362 | #define K_8 SW11_CS8 | ||
| 363 | |||
| 364 | #define L_1 SW12_CS1 | ||
| 365 | #define L_2 SW12_CS2 | ||
| 366 | #define L_3 SW12_CS3 | ||
| 367 | #define L_4 SW12_CS4 | ||
| 368 | #define L_5 SW12_CS5 | ||
| 369 | #define L_6 SW12_CS6 | ||
| 370 | #define L_7 SW12_CS7 | ||
| 371 | #define L_8 SW12_CS8 | ||
diff --git a/drivers/led/issi/is31fl3736.h b/drivers/led/issi/is31fl3736.h index 1649048f80..dae7b3c812 100644 --- a/drivers/led/issi/is31fl3736.h +++ b/drivers/led/issi/is31fl3736.h | |||
| @@ -166,110 +166,110 @@ void is31fl3736_flush(void); | |||
| 166 | #define IS31FL3736_PWM_FREQUENCY_2K1_HZ 0b011 | 166 | #define IS31FL3736_PWM_FREQUENCY_2K1_HZ 0b011 |
| 167 | #define IS31FL3736_PWM_FREQUENCY_1K05_HZ 0b100 | 167 | #define IS31FL3736_PWM_FREQUENCY_1K05_HZ 0b100 |
| 168 | 168 | ||
| 169 | #define A_1 0x00 | 169 | #define SW1_CS1 0x00 |
| 170 | #define A_2 0x02 | 170 | #define SW1_CS2 0x02 |
| 171 | #define A_3 0x04 | 171 | #define SW1_CS3 0x04 |
| 172 | #define A_4 0x06 | 172 | #define SW1_CS4 0x06 |
| 173 | #define A_5 0x08 | 173 | #define SW1_CS5 0x08 |
| 174 | #define A_6 0x0A | 174 | #define SW1_CS6 0x0A |
| 175 | #define A_7 0x0C | 175 | #define SW1_CS7 0x0C |
| 176 | #define A_8 0x0E | 176 | #define SW1_CS8 0x0E |
| 177 | 177 | ||
| 178 | #define B_1 0x10 | 178 | #define SW2_CS1 0x10 |
| 179 | #define B_2 0x12 | 179 | #define SW2_CS2 0x12 |
| 180 | #define B_3 0x14 | 180 | #define SW2_CS3 0x14 |
| 181 | #define B_4 0x16 | 181 | #define SW2_CS4 0x16 |
| 182 | #define B_5 0x18 | 182 | #define SW2_CS5 0x18 |
| 183 | #define B_6 0x1A | 183 | #define SW2_CS6 0x1A |
| 184 | #define B_7 0x1C | 184 | #define SW2_CS7 0x1C |
| 185 | #define B_8 0x1E | 185 | #define SW2_CS8 0x1E |
| 186 | 186 | ||
| 187 | #define C_1 0x20 | 187 | #define SW3_CS1 0x20 |
| 188 | #define C_2 0x22 | 188 | #define SW3_CS2 0x22 |
| 189 | #define C_3 0x24 | 189 | #define SW3_CS3 0x24 |
| 190 | #define C_4 0x26 | 190 | #define SW3_CS4 0x26 |
| 191 | #define C_5 0x28 | 191 | #define SW3_CS5 0x28 |
| 192 | #define C_6 0x2A | 192 | #define SW3_CS6 0x2A |
| 193 | #define C_7 0x2C | 193 | #define SW3_CS7 0x2C |
| 194 | #define C_8 0x2E | 194 | #define SW3_CS8 0x2E |
| 195 | 195 | ||
| 196 | #define D_1 0x30 | 196 | #define SW4_CS1 0x30 |
| 197 | #define D_2 0x32 | 197 | #define SW4_CS2 0x32 |
| 198 | #define D_3 0x34 | 198 | #define SW4_CS3 0x34 |
| 199 | #define D_4 0x36 | 199 | #define SW4_CS4 0x36 |
| 200 | #define D_5 0x38 | 200 | #define SW4_CS5 0x38 |
| 201 | #define D_6 0x3A | 201 | #define SW4_CS6 0x3A |
| 202 | #define D_7 0x3C | 202 | #define SW4_CS7 0x3C |
| 203 | #define D_8 0x3E | 203 | #define SW4_CS8 0x3E |
| 204 | 204 | ||
| 205 | #define E_1 0x40 | 205 | #define SW5_CS1 0x40 |
| 206 | #define E_2 0x42 | 206 | #define SW5_CS2 0x42 |
| 207 | #define E_3 0x44 | 207 | #define SW5_CS3 0x44 |
| 208 | #define E_4 0x46 | 208 | #define SW5_CS4 0x46 |
| 209 | #define E_5 0x48 | 209 | #define SW5_CS5 0x48 |
| 210 | #define E_6 0x4A | 210 | #define SW5_CS6 0x4A |
| 211 | #define E_7 0x4C | 211 | #define SW5_CS7 0x4C |
| 212 | #define E_8 0x4E | 212 | #define SW5_CS8 0x4E |
| 213 | 213 | ||
| 214 | #define F_1 0x50 | 214 | #define SW6_CS1 0x50 |
| 215 | #define F_2 0x52 | 215 | #define SW6_CS2 0x52 |
| 216 | #define F_3 0x54 | 216 | #define SW6_CS3 0x54 |
| 217 | #define F_4 0x56 | 217 | #define SW6_CS4 0x56 |
| 218 | #define F_5 0x58 | 218 | #define SW6_CS5 0x58 |
| 219 | #define F_6 0x5A | 219 | #define SW6_CS6 0x5A |
| 220 | #define F_7 0x5C | 220 | #define SW6_CS7 0x5C |
| 221 | #define F_8 0x5E | 221 | #define SW6_CS8 0x5E |
| 222 | 222 | ||
| 223 | #define G_1 0x60 | 223 | #define SW7_CS1 0x60 |
| 224 | #define G_2 0x62 | 224 | #define SW7_CS2 0x62 |
| 225 | #define G_3 0x64 | 225 | #define SW7_CS3 0x64 |
| 226 | #define G_4 0x66 | 226 | #define SW7_CS4 0x66 |
| 227 | #define G_5 0x68 | 227 | #define SW7_CS5 0x68 |
| 228 | #define G_6 0x6A | 228 | #define SW7_CS6 0x6A |
| 229 | #define G_7 0x6C | 229 | #define SW7_CS7 0x6C |
| 230 | #define G_8 0x6E | 230 | #define SW7_CS8 0x6E |
| 231 | 231 | ||
| 232 | #define H_1 0x70 | 232 | #define SW8_CS1 0x70 |
| 233 | #define H_2 0x72 | 233 | #define SW8_CS2 0x72 |
| 234 | #define H_3 0x74 | 234 | #define SW8_CS3 0x74 |
| 235 | #define H_4 0x76 | 235 | #define SW8_CS4 0x76 |
| 236 | #define H_5 0x78 | 236 | #define SW8_CS5 0x78 |
| 237 | #define H_6 0x7A | 237 | #define SW8_CS6 0x7A |
| 238 | #define H_7 0x7C | 238 | #define SW8_CS7 0x7C |
| 239 | #define H_8 0x7E | 239 | #define SW8_CS8 0x7E |
| 240 | 240 | ||
| 241 | #define I_1 0x80 | 241 | #define SW9_CS1 0x80 |
| 242 | #define I_2 0x82 | 242 | #define SW9_CS2 0x82 |
| 243 | #define I_3 0x84 | 243 | #define SW9_CS3 0x84 |
| 244 | #define I_4 0x86 | 244 | #define SW9_CS4 0x86 |
| 245 | #define I_5 0x88 | 245 | #define SW9_CS5 0x88 |
| 246 | #define I_6 0x8A | 246 | #define SW9_CS6 0x8A |
| 247 | #define I_7 0x8C | 247 | #define SW9_CS7 0x8C |
| 248 | #define I_8 0x8E | 248 | #define SW9_CS8 0x8E |
| 249 | 249 | ||
| 250 | #define J_1 0x90 | 250 | #define SW10_CS1 0x90 |
| 251 | #define J_2 0x92 | 251 | #define SW10_CS2 0x92 |
| 252 | #define J_3 0x94 | 252 | #define SW10_CS3 0x94 |
| 253 | #define J_4 0x96 | 253 | #define SW10_CS4 0x96 |
| 254 | #define J_5 0x98 | 254 | #define SW10_CS5 0x98 |
| 255 | #define J_6 0x9A | 255 | #define SW10_CS6 0x9A |
| 256 | #define J_7 0x9C | 256 | #define SW10_CS7 0x9C |
| 257 | #define J_8 0x9E | 257 | #define SW10_CS8 0x9E |
| 258 | 258 | ||
| 259 | #define K_1 0xA0 | 259 | #define SW11_CS1 0xA0 |
| 260 | #define K_2 0xA2 | 260 | #define SW11_CS2 0xA2 |
| 261 | #define K_3 0xA4 | 261 | #define SW11_CS3 0xA4 |
| 262 | #define K_4 0xA6 | 262 | #define SW11_CS4 0xA6 |
| 263 | #define K_5 0xA8 | 263 | #define SW11_CS5 0xA8 |
| 264 | #define K_6 0xAA | 264 | #define SW11_CS6 0xAA |
| 265 | #define K_7 0xAC | 265 | #define SW11_CS7 0xAC |
| 266 | #define K_8 0xAE | 266 | #define SW11_CS8 0xAE |
| 267 | 267 | ||
| 268 | #define L_1 0xB0 | 268 | #define SW12_CS1 0xB0 |
| 269 | #define L_2 0xB2 | 269 | #define SW12_CS2 0xB2 |
| 270 | #define L_3 0xB4 | 270 | #define SW12_CS3 0xB4 |
| 271 | #define L_4 0xB6 | 271 | #define SW12_CS4 0xB6 |
| 272 | #define L_5 0xB8 | 272 | #define SW12_CS5 0xB8 |
| 273 | #define L_6 0xBA | 273 | #define SW12_CS6 0xBA |
| 274 | #define L_7 0xBC | 274 | #define SW12_CS7 0xBC |
| 275 | #define L_8 0xBE | 275 | #define SW12_CS8 0xBE |
diff --git a/drivers/led/issi/is31fl3737-mono.h b/drivers/led/issi/is31fl3737-mono.h index 8c0b5ee30b..99151c1e7a 100644 --- a/drivers/led/issi/is31fl3737-mono.h +++ b/drivers/led/issi/is31fl3737-mono.h | |||
| @@ -142,158 +142,158 @@ void is31fl3737_flush(void); | |||
| 142 | #define IS31FL3737_PWM_FREQUENCY_2K1_HZ 0b011 | 142 | #define IS31FL3737_PWM_FREQUENCY_2K1_HZ 0b011 |
| 143 | #define IS31FL3737_PWM_FREQUENCY_1K05_HZ 0b100 | 143 | #define IS31FL3737_PWM_FREQUENCY_1K05_HZ 0b100 |
| 144 | 144 | ||
| 145 | #define A_1 0x00 | 145 | #define SW1_CS1 0x00 |
| 146 | #define A_2 0x01 | 146 | #define SW1_CS2 0x01 |
| 147 | #define A_3 0x02 | 147 | #define SW1_CS3 0x02 |
| 148 | #define A_4 0x03 | 148 | #define SW1_CS4 0x03 |
| 149 | #define A_5 0x04 | 149 | #define SW1_CS5 0x04 |
| 150 | #define A_6 0x05 | 150 | #define SW1_CS6 0x05 |
| 151 | #define A_7 0x08 | 151 | #define SW1_CS7 0x08 |
| 152 | #define A_8 0x09 | 152 | #define SW1_CS8 0x09 |
| 153 | #define A_9 0x0A | 153 | #define SW1_CS9 0x0A |
| 154 | #define A_10 0x0B | 154 | #define SW1_CS10 0x0B |
| 155 | #define A_11 0x0C | 155 | #define SW1_CS11 0x0C |
| 156 | #define A_12 0x0D | 156 | #define SW1_CS12 0x0D |
| 157 | 157 | ||
| 158 | #define B_1 0x10 | 158 | #define SW2_CS1 0x10 |
| 159 | #define B_2 0x11 | 159 | #define SW2_CS2 0x11 |
| 160 | #define B_3 0x12 | 160 | #define SW2_CS3 0x12 |
| 161 | #define B_4 0x13 | 161 | #define SW2_CS4 0x13 |
| 162 | #define B_5 0x14 | 162 | #define SW2_CS5 0x14 |
| 163 | #define B_6 0x15 | 163 | #define SW2_CS6 0x15 |
| 164 | #define B_7 0x18 | 164 | #define SW2_CS7 0x18 |
| 165 | #define B_8 0x19 | 165 | #define SW2_CS8 0x19 |
| 166 | #define B_9 0x1A | 166 | #define SW2_CS9 0x1A |
| 167 | #define B_10 0x1B | 167 | #define SW2_CS10 0x1B |
| 168 | #define B_11 0x1C | 168 | #define SW2_CS11 0x1C |
| 169 | #define B_12 0x1D | 169 | #define SW2_CS12 0x1D |
| 170 | 170 | ||
| 171 | #define C_1 0x20 | 171 | #define SW3_CS1 0x20 |
| 172 | #define C_2 0x21 | 172 | #define SW3_CS2 0x21 |
| 173 | #define C_3 0x22 | 173 | #define SW3_CS3 0x22 |
| 174 | #define C_4 0x23 | 174 | #define SW3_CS4 0x23 |
| 175 | #define C_5 0x24 | 175 | #define SW3_CS5 0x24 |
| 176 | #define C_6 0x25 | 176 | #define SW3_CS6 0x25 |
| 177 | #define C_7 0x28 | 177 | #define SW3_CS7 0x28 |
| 178 | #define C_8 0x29 | 178 | #define SW3_CS8 0x29 |
| 179 | #define C_9 0x2A | 179 | #define SW3_CS9 0x2A |
| 180 | #define C_10 0x2B | 180 | #define SW3_CS10 0x2B |
| 181 | #define C_11 0x2C | 181 | #define SW3_CS11 0x2C |
| 182 | #define C_12 0x2D | 182 | #define SW3_CS12 0x2D |
| 183 | 183 | ||
| 184 | #define D_1 0x30 | 184 | #define SW4_CS1 0x30 |
| 185 | #define D_2 0x31 | 185 | #define SW4_CS2 0x31 |
| 186 | #define D_3 0x32 | 186 | #define SW4_CS3 0x32 |
| 187 | #define D_4 0x33 | 187 | #define SW4_CS4 0x33 |
| 188 | #define D_5 0x34 | 188 | #define SW4_CS5 0x34 |
| 189 | #define D_6 0x35 | 189 | #define SW4_CS6 0x35 |
| 190 | #define D_7 0x38 | 190 | #define SW4_CS7 0x38 |
| 191 | #define D_8 0x39 | 191 | #define SW4_CS8 0x39 |
| 192 | #define D_9 0x3A | 192 | #define SW4_CS9 0x3A |
| 193 | #define D_10 0x3B | 193 | #define SW4_CS10 0x3B |
| 194 | #define D_11 0x3C | 194 | #define SW4_CS11 0x3C |
| 195 | #define D_12 0x3D | 195 | #define SW4_CS12 0x3D |
| 196 | 196 | ||
| 197 | #define E_1 0x40 | 197 | #define SW5_CS1 0x40 |
| 198 | #define E_2 0x41 | 198 | #define SW5_CS2 0x41 |
| 199 | #define E_3 0x42 | 199 | #define SW5_CS3 0x42 |
| 200 | #define E_4 0x43 | 200 | #define SW5_CS4 0x43 |
| 201 | #define E_5 0x44 | 201 | #define SW5_CS5 0x44 |
| 202 | #define E_6 0x45 | 202 | #define SW5_CS6 0x45 |
| 203 | #define E_7 0x48 | 203 | #define SW5_CS7 0x48 |
| 204 | #define E_8 0x49 | 204 | #define SW5_CS8 0x49 |
| 205 | #define E_9 0x4A | 205 | #define SW5_CS9 0x4A |
| 206 | #define E_10 0x4B | 206 | #define SW5_CS10 0x4B |
| 207 | #define E_11 0x4C | 207 | #define SW5_CS11 0x4C |
| 208 | #define E_12 0x4D | 208 | #define SW5_CS12 0x4D |
| 209 | 209 | ||
| 210 | #define F_1 0x50 | 210 | #define SW6_CS1 0x50 |
| 211 | #define F_2 0x51 | 211 | #define SW6_CS2 0x51 |
| 212 | #define F_3 0x52 | 212 | #define SW6_CS3 0x52 |
| 213 | #define F_4 0x53 | 213 | #define SW6_CS4 0x53 |
| 214 | #define F_5 0x54 | 214 | #define SW6_CS5 0x54 |
| 215 | #define F_6 0x55 | 215 | #define SW6_CS6 0x55 |
| 216 | #define F_7 0x58 | 216 | #define SW6_CS7 0x58 |
| 217 | #define F_8 0x59 | 217 | #define SW6_CS8 0x59 |
| 218 | #define F_9 0x5A | 218 | #define SW6_CS9 0x5A |
| 219 | #define F_10 0x5B | 219 | #define SW6_CS10 0x5B |
| 220 | #define F_11 0x5C | 220 | #define SW6_CS11 0x5C |
| 221 | #define F_12 0x5D | 221 | #define SW6_CS12 0x5D |
| 222 | 222 | ||
| 223 | #define G_1 0x60 | 223 | #define SW7_CS1 0x60 |
| 224 | #define G_2 0x61 | 224 | #define SW7_CS2 0x61 |
| 225 | #define G_3 0x62 | 225 | #define SW7_CS3 0x62 |
| 226 | #define G_4 0x63 | 226 | #define SW7_CS4 0x63 |
| 227 | #define G_5 0x64 | 227 | #define SW7_CS5 0x64 |
| 228 | #define G_6 0x65 | 228 | #define SW7_CS6 0x65 |
| 229 | #define G_7 0x68 | 229 | #define SW7_CS7 0x68 |
| 230 | #define G_8 0x69 | 230 | #define SW7_CS8 0x69 |
| 231 | #define G_9 0x6A | 231 | #define SW7_CS9 0x6A |
| 232 | #define G_10 0x6B | 232 | #define SW7_CS10 0x6B |
| 233 | #define G_11 0x6C | 233 | #define SW7_CS11 0x6C |
| 234 | #define G_12 0x6D | 234 | #define SW7_CS12 0x6D |
| 235 | 235 | ||
| 236 | #define H_1 0x70 | 236 | #define SW8_CS1 0x70 |
| 237 | #define H_2 0x71 | 237 | #define SW8_CS2 0x71 |
| 238 | #define H_3 0x72 | 238 | #define SW8_CS3 0x72 |
| 239 | #define H_4 0x73 | 239 | #define SW8_CS4 0x73 |
| 240 | #define H_5 0x74 | 240 | #define SW8_CS5 0x74 |
| 241 | #define H_6 0x75 | 241 | #define SW8_CS6 0x75 |
| 242 | #define H_7 0x78 | 242 | #define SW8_CS7 0x78 |
| 243 | #define H_8 0x79 | 243 | #define SW8_CS8 0x79 |
| 244 | #define H_9 0x7A | 244 | #define SW8_CS9 0x7A |
| 245 | #define H_10 0x7B | 245 | #define SW8_CS10 0x7B |
| 246 | #define H_11 0x7C | 246 | #define SW8_CS11 0x7C |
| 247 | #define H_12 0x7D | 247 | #define SW8_CS12 0x7D |
| 248 | 248 | ||
| 249 | #define I_1 0x80 | 249 | #define SW9_CS1 0x80 |
| 250 | #define I_2 0x81 | 250 | #define SW9_CS2 0x81 |
| 251 | #define I_3 0x82 | 251 | #define SW9_CS3 0x82 |
| 252 | #define I_4 0x83 | 252 | #define SW9_CS4 0x83 |
| 253 | #define I_5 0x84 | 253 | #define SW9_CS5 0x84 |
| 254 | #define I_6 0x85 | 254 | #define SW9_CS6 0x85 |
| 255 | #define I_7 0x88 | 255 | #define SW9_CS7 0x88 |
| 256 | #define I_8 0x89 | 256 | #define SW9_CS8 0x89 |
| 257 | #define I_9 0x8A | 257 | #define SW9_CS9 0x8A |
| 258 | #define I_10 0x8B | 258 | #define SW9_CS10 0x8B |
| 259 | #define I_11 0x8C | 259 | #define SW9_CS11 0x8C |
| 260 | #define I_12 0x8D | 260 | #define SW9_CS12 0x8D |
| 261 | 261 | ||
| 262 | #define J_1 0x90 | 262 | #define SW10_CS1 0x90 |
| 263 | #define J_2 0x91 | 263 | #define SW10_CS2 0x91 |
| 264 | #define J_3 0x92 | 264 | #define SW10_CS3 0x92 |
| 265 | #define J_4 0x93 | 265 | #define SW10_CS4 0x93 |
| 266 | #define J_5 0x94 | 266 | #define SW10_CS5 0x94 |
| 267 | #define J_6 0x95 | 267 | #define SW10_CS6 0x95 |
| 268 | #define J_7 0x98 | 268 | #define SW10_CS7 0x98 |
| 269 | #define J_8 0x99 | 269 | #define SW10_CS8 0x99 |
| 270 | #define J_9 0x9A | 270 | #define SW10_CS9 0x9A |
| 271 | #define J_10 0x9B | 271 | #define SW10_CS10 0x9B |
| 272 | #define J_11 0x9C | 272 | #define SW10_CS11 0x9C |
| 273 | #define J_12 0x9D | 273 | #define SW10_CS12 0x9D |
| 274 | 274 | ||
| 275 | #define K_1 0xA0 | 275 | #define SW11_CS1 0xA0 |
| 276 | #define K_2 0xA1 | 276 | #define SW11_CS2 0xA1 |
| 277 | #define K_3 0xA2 | 277 | #define SW11_CS3 0xA2 |
| 278 | #define K_4 0xA3 | 278 | #define SW11_CS4 0xA3 |
| 279 | #define K_5 0xA4 | 279 | #define SW11_CS5 0xA4 |
| 280 | #define K_6 0xA5 | 280 | #define SW11_CS6 0xA5 |
| 281 | #define K_7 0xA8 | 281 | #define SW11_CS7 0xA8 |
| 282 | #define K_8 0xA9 | 282 | #define SW11_CS8 0xA9 |
| 283 | #define K_9 0xAA | 283 | #define SW11_CS9 0xAA |
| 284 | #define K_10 0xAB | 284 | #define SW11_CS10 0xAB |
| 285 | #define K_11 0xAC | 285 | #define SW11_CS11 0xAC |
| 286 | #define K_12 0xAD | 286 | #define SW11_CS12 0xAD |
| 287 | 287 | ||
| 288 | #define L_1 0xB0 | 288 | #define SW12_CS1 0xB0 |
| 289 | #define L_2 0xB1 | 289 | #define SW12_CS2 0xB1 |
| 290 | #define L_3 0xB2 | 290 | #define SW12_CS3 0xB2 |
| 291 | #define L_4 0xB3 | 291 | #define SW12_CS4 0xB3 |
| 292 | #define L_5 0xB4 | 292 | #define SW12_CS5 0xB4 |
| 293 | #define L_6 0xB5 | 293 | #define SW12_CS6 0xB5 |
| 294 | #define L_7 0xB8 | 294 | #define SW12_CS7 0xB8 |
| 295 | #define L_8 0xB9 | 295 | #define SW12_CS8 0xB9 |
| 296 | #define L_9 0xBA | 296 | #define SW12_CS9 0xBA |
| 297 | #define L_10 0xBB | 297 | #define SW12_CS10 0xBB |
| 298 | #define L_11 0xBC | 298 | #define SW12_CS11 0xBC |
| 299 | #define L_12 0xBD | 299 | #define SW12_CS12 0xBD |
diff --git a/drivers/led/issi/is31fl3737.h b/drivers/led/issi/is31fl3737.h index d8f42bec29..735a3a1e30 100644 --- a/drivers/led/issi/is31fl3737.h +++ b/drivers/led/issi/is31fl3737.h | |||
| @@ -159,158 +159,316 @@ void is31fl3737_flush(void); | |||
| 159 | #define IS31FL3737_PWM_FREQUENCY_2K1_HZ 0b011 | 159 | #define IS31FL3737_PWM_FREQUENCY_2K1_HZ 0b011 |
| 160 | #define IS31FL3737_PWM_FREQUENCY_1K05_HZ 0b100 | 160 | #define IS31FL3737_PWM_FREQUENCY_1K05_HZ 0b100 |
| 161 | 161 | ||
| 162 | #define A_1 0x00 | 162 | #define SW1_CS1 0x00 |
| 163 | #define A_2 0x01 | 163 | #define SW1_CS2 0x01 |
| 164 | #define A_3 0x02 | 164 | #define SW1_CS3 0x02 |
| 165 | #define A_4 0x03 | 165 | #define SW1_CS4 0x03 |
| 166 | #define A_5 0x04 | 166 | #define SW1_CS5 0x04 |
| 167 | #define A_6 0x05 | 167 | #define SW1_CS6 0x05 |
| 168 | #define A_7 0x08 | 168 | #define SW1_CS7 0x08 |
| 169 | #define A_8 0x09 | 169 | #define SW1_CS8 0x09 |
| 170 | #define A_9 0x0A | 170 | #define SW1_CS9 0x0A |
| 171 | #define A_10 0x0B | 171 | #define SW1_CS10 0x0B |
| 172 | #define A_11 0x0C | 172 | #define SW1_CS11 0x0C |
| 173 | #define A_12 0x0D | 173 | #define SW1_CS12 0x0D |
| 174 | 174 | ||
| 175 | #define B_1 0x10 | 175 | #define SW2_CS1 0x10 |
| 176 | #define B_2 0x11 | 176 | #define SW2_CS2 0x11 |
| 177 | #define B_3 0x12 | 177 | #define SW2_CS3 0x12 |
| 178 | #define B_4 0x13 | 178 | #define SW2_CS4 0x13 |
| 179 | #define B_5 0x14 | 179 | #define SW2_CS5 0x14 |
| 180 | #define B_6 0x15 | 180 | #define SW2_CS6 0x15 |
| 181 | #define B_7 0x18 | 181 | #define SW2_CS7 0x18 |
| 182 | #define B_8 0x19 | 182 | #define SW2_CS8 0x19 |
| 183 | #define B_9 0x1A | 183 | #define SW2_CS9 0x1A |
| 184 | #define B_10 0x1B | 184 | #define SW2_CS10 0x1B |
| 185 | #define B_11 0x1C | 185 | #define SW2_CS11 0x1C |
| 186 | #define B_12 0x1D | 186 | #define SW2_CS12 0x1D |
| 187 | 187 | ||
| 188 | #define C_1 0x20 | 188 | #define SW3_CS1 0x20 |
| 189 | #define C_2 0x21 | 189 | #define SW3_CS2 0x21 |
| 190 | #define C_3 0x22 | 190 | #define SW3_CS3 0x22 |
| 191 | #define C_4 0x23 | 191 | #define SW3_CS4 0x23 |
| 192 | #define C_5 0x24 | 192 | #define SW3_CS5 0x24 |
| 193 | #define C_6 0x25 | 193 | #define SW3_CS6 0x25 |
| 194 | #define C_7 0x28 | 194 | #define SW3_CS7 0x28 |
| 195 | #define C_8 0x29 | 195 | #define SW3_CS8 0x29 |
| 196 | #define C_9 0x2A | 196 | #define SW3_CS9 0x2A |
| 197 | #define C_10 0x2B | 197 | #define SW3_CS10 0x2B |
| 198 | #define C_11 0x2C | 198 | #define SW3_CS11 0x2C |
| 199 | #define C_12 0x2D | 199 | #define SW3_CS12 0x2D |
| 200 | 200 | ||
| 201 | #define D_1 0x30 | 201 | #define SW4_CS1 0x30 |
| 202 | #define D_2 0x31 | 202 | #define SW4_CS2 0x31 |
| 203 | #define D_3 0x32 | 203 | #define SW4_CS3 0x32 |
| 204 | #define D_4 0x33 | 204 | #define SW4_CS4 0x33 |
| 205 | #define D_5 0x34 | 205 | #define SW4_CS5 0x34 |
| 206 | #define D_6 0x35 | 206 | #define SW4_CS6 0x35 |
| 207 | #define D_7 0x38 | 207 | #define SW4_CS7 0x38 |
| 208 | #define D_8 0x39 | 208 | #define SW4_CS8 0x39 |
| 209 | #define D_9 0x3A | 209 | #define SW4_CS9 0x3A |
| 210 | #define D_10 0x3B | 210 | #define SW4_CS10 0x3B |
| 211 | #define D_11 0x3C | 211 | #define SW4_CS11 0x3C |
| 212 | #define D_12 0x3D | 212 | #define SW4_CS12 0x3D |
| 213 | 213 | ||
| 214 | #define E_1 0x40 | 214 | #define SW5_CS1 0x40 |
| 215 | #define E_2 0x41 | 215 | #define SW5_CS2 0x41 |
| 216 | #define E_3 0x42 | 216 | #define SW5_CS3 0x42 |
| 217 | #define E_4 0x43 | 217 | #define SW5_CS4 0x43 |
| 218 | #define E_5 0x44 | 218 | #define SW5_CS5 0x44 |
| 219 | #define E_6 0x45 | 219 | #define SW5_CS6 0x45 |
| 220 | #define E_7 0x48 | 220 | #define SW5_CS7 0x48 |
| 221 | #define E_8 0x49 | 221 | #define SW5_CS8 0x49 |
| 222 | #define E_9 0x4A | 222 | #define SW5_CS9 0x4A |
| 223 | #define E_10 0x4B | 223 | #define SW5_CS10 0x4B |
| 224 | #define E_11 0x4C | 224 | #define SW5_CS11 0x4C |
| 225 | #define E_12 0x4D | 225 | #define SW5_CS12 0x4D |
| 226 | 226 | ||
| 227 | #define F_1 0x50 | 227 | #define SW6_CS1 0x50 |
| 228 | #define F_2 0x51 | 228 | #define SW6_CS2 0x51 |
| 229 | #define F_3 0x52 | 229 | #define SW6_CS3 0x52 |
| 230 | #define F_4 0x53 | 230 | #define SW6_CS4 0x53 |
| 231 | #define F_5 0x54 | 231 | #define SW6_CS5 0x54 |
| 232 | #define F_6 0x55 | 232 | #define SW6_CS6 0x55 |
| 233 | #define F_7 0x58 | 233 | #define SW6_CS7 0x58 |
| 234 | #define F_8 0x59 | 234 | #define SW6_CS8 0x59 |
| 235 | #define F_9 0x5A | 235 | #define SW6_CS9 0x5A |
| 236 | #define F_10 0x5B | 236 | #define SW6_CS10 0x5B |
| 237 | #define F_11 0x5C | 237 | #define SW6_CS11 0x5C |
| 238 | #define F_12 0x5D | 238 | #define SW6_CS12 0x5D |
| 239 | 239 | ||
| 240 | #define G_1 0x60 | 240 | #define SW7_CS1 0x60 |
| 241 | #define G_2 0x61 | 241 | #define SW7_CS2 0x61 |
| 242 | #define G_3 0x62 | 242 | #define SW7_CS3 0x62 |
| 243 | #define G_4 0x63 | 243 | #define SW7_CS4 0x63 |
| 244 | #define G_5 0x64 | 244 | #define SW7_CS5 0x64 |
| 245 | #define G_6 0x65 | 245 | #define SW7_CS6 0x65 |
| 246 | #define G_7 0x68 | 246 | #define SW7_CS7 0x68 |
| 247 | #define G_8 0x69 | 247 | #define SW7_CS8 0x69 |
| 248 | #define G_9 0x6A | 248 | #define SW7_CS9 0x6A |
| 249 | #define G_10 0x6B | 249 | #define SW7_CS10 0x6B |
| 250 | #define G_11 0x6C | 250 | #define SW7_CS11 0x6C |
| 251 | #define G_12 0x6D | 251 | #define SW7_CS12 0x6D |
| 252 | 252 | ||
| 253 | #define H_1 0x70 | 253 | #define SW8_CS1 0x70 |
| 254 | #define H_2 0x71 | 254 | #define SW8_CS2 0x71 |
| 255 | #define H_3 0x72 | 255 | #define SW8_CS3 0x72 |
| 256 | #define H_4 0x73 | 256 | #define SW8_CS4 0x73 |
| 257 | #define H_5 0x74 | 257 | #define SW8_CS5 0x74 |
| 258 | #define H_6 0x75 | 258 | #define SW8_CS6 0x75 |
| 259 | #define H_7 0x78 | 259 | #define SW8_CS7 0x78 |
| 260 | #define H_8 0x79 | 260 | #define SW8_CS8 0x79 |
| 261 | #define H_9 0x7A | 261 | #define SW8_CS9 0x7A |
| 262 | #define H_10 0x7B | 262 | #define SW8_CS10 0x7B |
| 263 | #define H_11 0x7C | 263 | #define SW8_CS11 0x7C |
| 264 | #define H_12 0x7D | 264 | #define SW8_CS12 0x7D |
| 265 | 265 | ||
| 266 | #define I_1 0x80 | 266 | #define SW9_CS1 0x80 |
| 267 | #define I_2 0x81 | 267 | #define SW9_CS2 0x81 |
| 268 | #define I_3 0x82 | 268 | #define SW9_CS3 0x82 |
| 269 | #define I_4 0x83 | 269 | #define SW9_CS4 0x83 |
| 270 | #define I_5 0x84 | 270 | #define SW9_CS5 0x84 |
| 271 | #define I_6 0x85 | 271 | #define SW9_CS6 0x85 |
| 272 | #define I_7 0x88 | 272 | #define SW9_CS7 0x88 |
| 273 | #define I_8 0x89 | 273 | #define SW9_CS8 0x89 |
| 274 | #define I_9 0x8A | 274 | #define SW9_CS9 0x8A |
| 275 | #define I_10 0x8B | 275 | #define SW9_CS10 0x8B |
| 276 | #define I_11 0x8C | 276 | #define SW9_CS11 0x8C |
| 277 | #define I_12 0x8D | 277 | #define SW9_CS12 0x8D |
| 278 | 278 | ||
| 279 | #define J_1 0x90 | 279 | #define SW10_CS1 0x90 |
| 280 | #define J_2 0x91 | 280 | #define SW10_CS2 0x91 |
| 281 | #define J_3 0x92 | 281 | #define SW10_CS3 0x92 |
| 282 | #define J_4 0x93 | 282 | #define SW10_CS4 0x93 |
| 283 | #define J_5 0x94 | 283 | #define SW10_CS5 0x94 |
| 284 | #define J_6 0x95 | 284 | #define SW10_CS6 0x95 |
| 285 | #define J_7 0x98 | 285 | #define SW10_CS7 0x98 |
| 286 | #define J_8 0x99 | 286 | #define SW10_CS8 0x99 |
| 287 | #define J_9 0x9A | 287 | #define SW10_CS9 0x9A |
| 288 | #define J_10 0x9B | 288 | #define SW10_CS10 0x9B |
| 289 | #define J_11 0x9C | 289 | #define SW10_CS11 0x9C |
| 290 | #define J_12 0x9D | 290 | #define SW10_CS12 0x9D |
| 291 | 291 | ||
| 292 | #define K_1 0xA0 | 292 | #define SW11_CS1 0xA0 |
| 293 | #define K_2 0xA1 | 293 | #define SW11_CS2 0xA1 |
| 294 | #define K_3 0xA2 | 294 | #define SW11_CS3 0xA2 |
| 295 | #define K_4 0xA3 | 295 | #define SW11_CS4 0xA3 |
| 296 | #define K_5 0xA4 | 296 | #define SW11_CS5 0xA4 |
| 297 | #define K_6 0xA5 | 297 | #define SW11_CS6 0xA5 |
| 298 | #define K_7 0xA8 | 298 | #define SW11_CS7 0xA8 |
| 299 | #define K_8 0xA9 | 299 | #define SW11_CS8 0xA9 |
| 300 | #define K_9 0xAA | 300 | #define SW11_CS9 0xAA |
| 301 | #define K_10 0xAB | 301 | #define SW11_CS10 0xAB |
| 302 | #define K_11 0xAC | 302 | #define SW11_CS11 0xAC |
| 303 | #define K_12 0xAD | 303 | #define SW11_CS12 0xAD |
| 304 | 304 | ||
| 305 | #define L_1 0xB0 | 305 | #define SW12_CS1 0xB0 |
| 306 | #define L_2 0xB1 | 306 | #define SW12_CS2 0xB1 |
| 307 | #define L_3 0xB2 | 307 | #define SW12_CS3 0xB2 |
| 308 | #define L_4 0xB3 | 308 | #define SW12_CS4 0xB3 |
| 309 | #define L_5 0xB4 | 309 | #define SW12_CS5 0xB4 |
| 310 | #define L_6 0xB5 | 310 | #define SW12_CS6 0xB5 |
| 311 | #define L_7 0xB8 | 311 | #define SW12_CS7 0xB8 |
| 312 | #define L_8 0xB9 | 312 | #define SW12_CS8 0xB9 |
| 313 | #define L_9 0xBA | 313 | #define SW12_CS9 0xBA |
| 314 | #define L_10 0xBB | 314 | #define SW12_CS10 0xBB |
| 315 | #define L_11 0xBC | 315 | #define SW12_CS11 0xBC |
| 316 | #define L_12 0xBD | 316 | #define SW12_CS12 0xBD |
| 317 | |||
| 318 | // DEPRECATED - DO NOT USE | ||
| 319 | |||
| 320 | #define A_1 SW1_CS1 | ||
| 321 | #define A_2 SW1_CS2 | ||
| 322 | #define A_3 SW1_CS3 | ||
| 323 | #define A_4 SW1_CS4 | ||
| 324 | #define A_5 SW1_CS5 | ||
| 325 | #define A_6 SW1_CS6 | ||
| 326 | #define A_7 SW1_CS7 | ||
| 327 | #define A_8 SW1_CS8 | ||
| 328 | #define A_9 SW1_CS9 | ||
| 329 | #define A_10 SW1_CS10 | ||
| 330 | #define A_11 SW1_CS11 | ||
| 331 | #define A_12 SW1_CS12 | ||
| 332 | |||
| 333 | #define B_1 SW2_CS1 | ||
| 334 | #define B_2 SW2_CS2 | ||
| 335 | #define B_3 SW2_CS3 | ||
| 336 | #define B_4 SW2_CS4 | ||
| 337 | #define B_5 SW2_CS5 | ||
| 338 | #define B_6 SW2_CS6 | ||
| 339 | #define B_7 SW2_CS7 | ||
| 340 | #define B_8 SW2_CS8 | ||
| 341 | #define B_9 SW2_CS9 | ||
| 342 | #define B_10 SW2_CS10 | ||
| 343 | #define B_11 SW2_CS11 | ||
| 344 | #define B_12 SW2_CS12 | ||
| 345 | |||
| 346 | #define C_1 SW3_CS1 | ||
| 347 | #define C_2 SW3_CS2 | ||
| 348 | #define C_3 SW3_CS3 | ||
| 349 | #define C_4 SW3_CS4 | ||
| 350 | #define C_5 SW3_CS5 | ||
| 351 | #define C_6 SW3_CS6 | ||
| 352 | #define C_7 SW3_CS7 | ||
| 353 | #define C_8 SW3_CS8 | ||
| 354 | #define C_9 SW3_CS9 | ||
| 355 | #define C_10 SW3_CS10 | ||
| 356 | #define C_11 SW3_CS11 | ||
| 357 | #define C_12 SW3_CS12 | ||
| 358 | |||
| 359 | #define D_1 SW4_CS1 | ||
| 360 | #define D_2 SW4_CS2 | ||
| 361 | #define D_3 SW4_CS3 | ||
| 362 | #define D_4 SW4_CS4 | ||
| 363 | #define D_5 SW4_CS5 | ||
| 364 | #define D_6 SW4_CS6 | ||
| 365 | #define D_7 SW4_CS7 | ||
| 366 | #define D_8 SW4_CS8 | ||
| 367 | #define D_9 SW4_CS9 | ||
| 368 | #define D_10 SW4_CS10 | ||
| 369 | #define D_11 SW4_CS11 | ||
| 370 | #define D_12 SW4_CS12 | ||
| 371 | |||
| 372 | #define E_1 SW5_CS1 | ||
| 373 | #define E_2 SW5_CS2 | ||
| 374 | #define E_3 SW5_CS3 | ||
| 375 | #define E_4 SW5_CS4 | ||
| 376 | #define E_5 SW5_CS5 | ||
| 377 | #define E_6 SW5_CS6 | ||
| 378 | #define E_7 SW5_CS7 | ||
| 379 | #define E_8 SW5_CS8 | ||
| 380 | #define E_9 SW5_CS9 | ||
| 381 | #define E_10 SW5_CS10 | ||
| 382 | #define E_11 SW5_CS11 | ||
| 383 | #define E_12 SW5_CS12 | ||
| 384 | |||
| 385 | #define F_1 SW6_CS1 | ||
| 386 | #define F_2 SW6_CS2 | ||
| 387 | #define F_3 SW6_CS3 | ||
| 388 | #define F_4 SW6_CS4 | ||
| 389 | #define F_5 SW6_CS5 | ||
| 390 | #define F_6 SW6_CS6 | ||
| 391 | #define F_7 SW6_CS7 | ||
| 392 | #define F_8 SW6_CS8 | ||
| 393 | #define F_9 SW6_CS9 | ||
| 394 | #define F_10 SW6_CS10 | ||
| 395 | #define F_11 SW6_CS11 | ||
| 396 | #define F_12 SW6_CS12 | ||
| 397 | |||
| 398 | #define G_1 SW7_CS1 | ||
| 399 | #define G_2 SW7_CS2 | ||
| 400 | #define G_3 SW7_CS3 | ||
| 401 | #define G_4 SW7_CS4 | ||
| 402 | #define G_5 SW7_CS5 | ||
| 403 | #define G_6 SW7_CS6 | ||
| 404 | #define G_7 SW7_CS7 | ||
| 405 | #define G_8 SW7_CS8 | ||
| 406 | #define G_9 SW7_CS9 | ||
| 407 | #define G_10 SW7_CS10 | ||
| 408 | #define G_11 SW7_CS11 | ||
| 409 | #define G_12 SW7_CS12 | ||
| 410 | |||
| 411 | #define H_1 SW8_CS1 | ||
| 412 | #define H_2 SW8_CS2 | ||
| 413 | #define H_3 SW8_CS3 | ||
| 414 | #define H_4 SW8_CS4 | ||
| 415 | #define H_5 SW8_CS5 | ||
| 416 | #define H_6 SW8_CS6 | ||
| 417 | #define H_7 SW8_CS7 | ||
| 418 | #define H_8 SW8_CS8 | ||
| 419 | #define H_9 SW8_CS9 | ||
| 420 | #define H_10 SW8_CS10 | ||
| 421 | #define H_11 SW8_CS11 | ||
| 422 | #define H_12 SW8_CS12 | ||
| 423 | |||
| 424 | #define I_1 SW9_CS1 | ||
| 425 | #define I_2 SW9_CS2 | ||
| 426 | #define I_3 SW9_CS3 | ||
| 427 | #define I_4 SW9_CS4 | ||
| 428 | #define I_5 SW9_CS5 | ||
| 429 | #define I_6 SW9_CS6 | ||
| 430 | #define I_7 SW9_CS7 | ||
| 431 | #define I_8 SW9_CS8 | ||
| 432 | #define I_9 SW9_CS9 | ||
| 433 | #define I_10 SW9_CS10 | ||
| 434 | #define I_11 SW9_CS11 | ||
| 435 | #define I_12 SW9_CS12 | ||
| 436 | |||
| 437 | #define J_1 SW10_CS1 | ||
| 438 | #define J_2 SW10_CS2 | ||
| 439 | #define J_3 SW10_CS3 | ||
| 440 | #define J_4 SW10_CS4 | ||
| 441 | #define J_5 SW10_CS5 | ||
| 442 | #define J_6 SW10_CS6 | ||
| 443 | #define J_7 SW10_CS7 | ||
| 444 | #define J_8 SW10_CS8 | ||
| 445 | #define J_9 SW10_CS9 | ||
| 446 | #define J_10 SW10_CS10 | ||
| 447 | #define J_11 SW10_CS11 | ||
| 448 | #define J_12 SW10_CS12 | ||
| 449 | |||
| 450 | #define K_1 SW11_CS1 | ||
| 451 | #define K_2 SW11_CS2 | ||
| 452 | #define K_3 SW11_CS3 | ||
| 453 | #define K_4 SW11_CS4 | ||
| 454 | #define K_5 SW11_CS5 | ||
| 455 | #define K_6 SW11_CS6 | ||
| 456 | #define K_7 SW11_CS7 | ||
| 457 | #define K_8 SW11_CS8 | ||
| 458 | #define K_9 SW11_CS9 | ||
| 459 | #define K_10 SW11_CS10 | ||
| 460 | #define K_11 SW11_CS11 | ||
| 461 | #define K_12 SW11_CS12 | ||
| 462 | |||
| 463 | #define L_1 SW12_CS1 | ||
| 464 | #define L_2 SW12_CS2 | ||
| 465 | #define L_3 SW12_CS3 | ||
| 466 | #define L_4 SW12_CS4 | ||
| 467 | #define L_5 SW12_CS5 | ||
| 468 | #define L_6 SW12_CS6 | ||
| 469 | #define L_7 SW12_CS7 | ||
| 470 | #define L_8 SW12_CS8 | ||
| 471 | #define L_9 SW12_CS9 | ||
| 472 | #define L_10 SW12_CS10 | ||
| 473 | #define L_11 SW12_CS11 | ||
| 474 | #define L_12 SW12_CS12 | ||
diff --git a/drivers/led/issi/is31fl3742a-mono.h b/drivers/led/issi/is31fl3742a-mono.h index 933805bc8e..5c8938906c 100644 --- a/drivers/led/issi/is31fl3742a-mono.h +++ b/drivers/led/issi/is31fl3742a-mono.h | |||
| @@ -109,188 +109,188 @@ void is31fl3742a_flush(void); | |||
| 109 | #define IS31FL3742A_PWM_FREQUENCY_1K8_HZ 0b0111 | 109 | #define IS31FL3742A_PWM_FREQUENCY_1K8_HZ 0b0111 |
| 110 | #define IS31FL3742A_PWM_FREQUENCY_900_HZ 0b1011 | 110 | #define IS31FL3742A_PWM_FREQUENCY_900_HZ 0b1011 |
| 111 | 111 | ||
| 112 | #define CS1_SW1 0x00 | 112 | #define SW1_CS1 0x00 |
| 113 | #define CS2_SW1 0x01 | 113 | #define SW1_CS2 0x01 |
| 114 | #define CS3_SW1 0x02 | 114 | #define SW1_CS3 0x02 |
| 115 | #define CS4_SW1 0x03 | 115 | #define SW1_CS4 0x03 |
| 116 | #define CS5_SW1 0x04 | 116 | #define SW1_CS5 0x04 |
| 117 | #define CS6_SW1 0x05 | 117 | #define SW1_CS6 0x05 |
| 118 | #define CS7_SW1 0x06 | 118 | #define SW1_CS7 0x06 |
| 119 | #define CS8_SW1 0x07 | 119 | #define SW1_CS8 0x07 |
| 120 | #define CS9_SW1 0x08 | 120 | #define SW1_CS9 0x08 |
| 121 | #define CS10_SW1 0x09 | 121 | #define SW1_CS10 0x09 |
| 122 | #define CS11_SW1 0x0A | 122 | #define SW1_CS11 0x0A |
| 123 | #define CS12_SW1 0x0B | 123 | #define SW1_CS12 0x0B |
| 124 | #define CS13_SW1 0x0C | 124 | #define SW1_CS13 0x0C |
| 125 | #define CS14_SW1 0x0D | 125 | #define SW1_CS14 0x0D |
| 126 | #define CS15_SW1 0x0E | 126 | #define SW1_CS15 0x0E |
| 127 | #define CS16_SW1 0x0F | 127 | #define SW1_CS16 0x0F |
| 128 | #define CS17_SW1 0x10 | 128 | #define SW1_CS17 0x10 |
| 129 | #define CS18_SW1 0x11 | 129 | #define SW1_CS18 0x11 |
| 130 | #define CS19_SW1 0x12 | 130 | #define SW1_CS19 0x12 |
| 131 | #define CS20_SW1 0x13 | 131 | #define SW1_CS20 0x13 |
| 132 | #define CS21_SW1 0x14 | 132 | #define SW1_CS21 0x14 |
| 133 | #define CS22_SW1 0x15 | 133 | #define SW1_CS22 0x15 |
| 134 | #define CS23_SW1 0x16 | 134 | #define SW1_CS23 0x16 |
| 135 | #define CS24_SW1 0x17 | 135 | #define SW1_CS24 0x17 |
| 136 | #define CS25_SW1 0x18 | 136 | #define SW1_CS25 0x18 |
| 137 | #define CS26_SW1 0x19 | 137 | #define SW1_CS26 0x19 |
| 138 | #define CS27_SW1 0x1A | 138 | #define SW1_CS27 0x1A |
| 139 | #define CS28_SW1 0x1B | 139 | #define SW1_CS28 0x1B |
| 140 | #define CS29_SW1 0x1C | 140 | #define SW1_CS29 0x1C |
| 141 | #define CS30_SW1 0x1D | 141 | #define SW1_CS30 0x1D |
| 142 | 142 | ||
| 143 | #define CS1_SW2 0x1E | 143 | #define SW2_CS1 0x1E |
| 144 | #define CS2_SW2 0x1F | 144 | #define SW2_CS2 0x1F |
| 145 | #define CS3_SW2 0x20 | 145 | #define SW2_CS3 0x20 |
| 146 | #define CS4_SW2 0x21 | 146 | #define SW2_CS4 0x21 |
| 147 | #define CS5_SW2 0x22 | 147 | #define SW2_CS5 0x22 |
| 148 | #define CS6_SW2 0x23 | 148 | #define SW2_CS6 0x23 |
| 149 | #define CS7_SW2 0x24 | 149 | #define SW2_CS7 0x24 |
| 150 | #define CS8_SW2 0x25 | 150 | #define SW2_CS8 0x25 |
| 151 | #define CS9_SW2 0x26 | 151 | #define SW2_CS9 0x26 |
| 152 | #define CS10_SW2 0x27 | 152 | #define SW2_CS10 0x27 |
| 153 | #define CS11_SW2 0x28 | 153 | #define SW2_CS11 0x28 |
| 154 | #define CS12_SW2 0x29 | 154 | #define SW2_CS12 0x29 |
| 155 | #define CS13_SW2 0x2A | 155 | #define SW2_CS13 0x2A |
| 156 | #define CS14_SW2 0x2B | 156 | #define SW2_CS14 0x2B |
| 157 | #define CS15_SW2 0x2C | 157 | #define SW2_CS15 0x2C |
| 158 | #define CS16_SW2 0x2D | 158 | #define SW2_CS16 0x2D |
| 159 | #define CS17_SW2 0x2E | 159 | #define SW2_CS17 0x2E |
| 160 | #define CS18_SW2 0x2F | 160 | #define SW2_CS18 0x2F |
| 161 | #define CS19_SW2 0x30 | 161 | #define SW2_CS19 0x30 |
| 162 | #define CS20_SW2 0x31 | 162 | #define SW2_CS20 0x31 |
| 163 | #define CS21_SW2 0x32 | 163 | #define SW2_CS21 0x32 |
| 164 | #define CS22_SW2 0x33 | 164 | #define SW2_CS22 0x33 |
| 165 | #define CS23_SW2 0x34 | 165 | #define SW2_CS23 0x34 |
| 166 | #define CS24_SW2 0x35 | 166 | #define SW2_CS24 0x35 |
| 167 | #define CS25_SW2 0x36 | 167 | #define SW2_CS25 0x36 |
| 168 | #define CS26_SW2 0x37 | 168 | #define SW2_CS26 0x37 |
| 169 | #define CS27_SW2 0x38 | 169 | #define SW2_CS27 0x38 |
| 170 | #define CS28_SW2 0x39 | 170 | #define SW2_CS28 0x39 |
| 171 | #define CS29_SW2 0x3A | 171 | #define SW2_CS29 0x3A |
| 172 | #define CS30_SW2 0x3B | 172 | #define SW2_CS30 0x3B |
| 173 | 173 | ||
| 174 | #define CS1_SW3 0x3C | 174 | #define SW3_CS1 0x3C |
| 175 | #define CS2_SW3 0x3D | 175 | #define SW3_CS2 0x3D |
| 176 | #define CS3_SW3 0x3E | 176 | #define SW3_CS3 0x3E |
| 177 | #define CS4_SW3 0x3F | 177 | #define SW3_CS4 0x3F |
| 178 | #define CS5_SW3 0x40 | 178 | #define SW3_CS5 0x40 |
| 179 | #define CS6_SW3 0x41 | 179 | #define SW3_CS6 0x41 |
| 180 | #define CS7_SW3 0x42 | 180 | #define SW3_CS7 0x42 |
| 181 | #define CS8_SW3 0x43 | 181 | #define SW3_CS8 0x43 |
| 182 | #define CS9_SW3 0x44 | 182 | #define SW3_CS9 0x44 |
| 183 | #define CS10_SW3 0x45 | 183 | #define SW3_CS10 0x45 |
| 184 | #define CS11_SW3 0x46 | 184 | #define SW3_CS11 0x46 |
| 185 | #define CS12_SW3 0x47 | 185 | #define SW3_CS12 0x47 |
| 186 | #define CS13_SW3 0x48 | 186 | #define SW3_CS13 0x48 |
| 187 | #define CS14_SW3 0x49 | 187 | #define SW3_CS14 0x49 |
| 188 | #define CS15_SW3 0x4A | 188 | #define SW3_CS15 0x4A |
| 189 | #define CS16_SW3 0x4B | 189 | #define SW3_CS16 0x4B |
| 190 | #define CS17_SW3 0x4C | 190 | #define SW3_CS17 0x4C |
| 191 | #define CS18_SW3 0x4D | 191 | #define SW3_CS18 0x4D |
| 192 | #define CS19_SW3 0x4E | 192 | #define SW3_CS19 0x4E |
| 193 | #define CS20_SW3 0x4F | 193 | #define SW3_CS20 0x4F |
| 194 | #define CS21_SW3 0x50 | 194 | #define SW3_CS21 0x50 |
| 195 | #define CS22_SW3 0x51 | 195 | #define SW3_CS22 0x51 |
| 196 | #define CS23_SW3 0x52 | 196 | #define SW3_CS23 0x52 |
| 197 | #define CS24_SW3 0x53 | 197 | #define SW3_CS24 0x53 |
| 198 | #define CS25_SW3 0x54 | 198 | #define SW3_CS25 0x54 |
| 199 | #define CS26_SW3 0x55 | 199 | #define SW3_CS26 0x55 |
| 200 | #define CS27_SW3 0x56 | 200 | #define SW3_CS27 0x56 |
| 201 | #define CS28_SW3 0x57 | 201 | #define SW3_CS28 0x57 |
| 202 | #define CS29_SW3 0x58 | 202 | #define SW3_CS29 0x58 |
| 203 | #define CS30_SW3 0x59 | 203 | #define SW3_CS30 0x59 |
| 204 | 204 | ||
| 205 | #define CS1_SW4 0x5A | 205 | #define SW4_CS1 0x5A |
| 206 | #define CS2_SW4 0x5B | 206 | #define SW4_CS2 0x5B |
| 207 | #define CS3_SW4 0x5C | 207 | #define SW4_CS3 0x5C |
| 208 | #define CS4_SW4 0x5D | 208 | #define SW4_CS4 0x5D |
| 209 | #define CS5_SW4 0x5E | 209 | #define SW4_CS5 0x5E |
| 210 | #define CS6_SW4 0x5F | 210 | #define SW4_CS6 0x5F |
| 211 | #define CS7_SW4 0x60 | 211 | #define SW4_CS7 0x60 |
| 212 | #define CS8_SW4 0x61 | 212 | #define SW4_CS8 0x61 |
| 213 | #define CS9_SW4 0x62 | 213 | #define SW4_CS9 0x62 |
| 214 | #define CS10_SW4 0x63 | 214 | #define SW4_CS10 0x63 |
| 215 | #define CS11_SW4 0x64 | 215 | #define SW4_CS11 0x64 |
| 216 | #define CS12_SW4 0x65 | 216 | #define SW4_CS12 0x65 |
| 217 | #define CS13_SW4 0x66 | 217 | #define SW4_CS13 0x66 |
| 218 | #define CS14_SW4 0x67 | 218 | #define SW4_CS14 0x67 |
| 219 | #define CS15_SW4 0x68 | 219 | #define SW4_CS15 0x68 |
| 220 | #define CS16_SW4 0x69 | 220 | #define SW4_CS16 0x69 |
| 221 | #define CS17_SW4 0x6A | 221 | #define SW4_CS17 0x6A |
| 222 | #define CS18_SW4 0x6B | 222 | #define SW4_CS18 0x6B |
| 223 | #define CS19_SW4 0x6C | 223 | #define SW4_CS19 0x6C |
| 224 | #define CS20_SW4 0x6D | 224 | #define SW4_CS20 0x6D |
| 225 | #define CS21_SW4 0x6E | 225 | #define SW4_CS21 0x6E |
| 226 | #define CS22_SW4 0x6F | 226 | #define SW4_CS22 0x6F |
| 227 | #define CS23_SW4 0x70 | 227 | #define SW4_CS23 0x70 |
| 228 | #define CS24_SW4 0x71 | 228 | #define SW4_CS24 0x71 |
| 229 | #define CS25_SW4 0x72 | 229 | #define SW4_CS25 0x72 |
| 230 | #define CS26_SW4 0x73 | 230 | #define SW4_CS26 0x73 |
| 231 | #define CS27_SW4 0x74 | 231 | #define SW4_CS27 0x74 |
| 232 | #define CS28_SW4 0x75 | 232 | #define SW4_CS28 0x75 |
| 233 | #define CS29_SW4 0x76 | 233 | #define SW4_CS29 0x76 |
| 234 | #define CS30_SW4 0x77 | 234 | #define SW4_CS30 0x77 |
| 235 | 235 | ||
| 236 | #define CS1_SW5 0x78 | 236 | #define SW5_CS1 0x78 |
| 237 | #define CS2_SW5 0x79 | 237 | #define SW5_CS2 0x79 |
| 238 | #define CS3_SW5 0x7A | 238 | #define SW5_CS3 0x7A |
| 239 | #define CS4_SW5 0x7B | 239 | #define SW5_CS4 0x7B |
| 240 | #define CS5_SW5 0x7C | 240 | #define SW5_CS5 0x7C |
| 241 | #define CS6_SW5 0x7D | 241 | #define SW5_CS6 0x7D |
| 242 | #define CS7_SW5 0x7E | 242 | #define SW5_CS7 0x7E |
| 243 | #define CS8_SW5 0x7F | 243 | #define SW5_CS8 0x7F |
| 244 | #define CS9_SW5 0x80 | 244 | #define SW5_CS9 0x80 |
| 245 | #define CS10_SW5 0x81 | 245 | #define SW5_CS10 0x81 |
| 246 | #define CS11_SW5 0x82 | 246 | #define SW5_CS11 0x82 |
| 247 | #define CS12_SW5 0x83 | 247 | #define SW5_CS12 0x83 |
| 248 | #define CS13_SW5 0x84 | 248 | #define SW5_CS13 0x84 |
| 249 | #define CS14_SW5 0x85 | 249 | #define SW5_CS14 0x85 |
| 250 | #define CS15_SW5 0x86 | 250 | #define SW5_CS15 0x86 |
| 251 | #define CS16_SW5 0x87 | 251 | #define SW5_CS16 0x87 |
| 252 | #define CS17_SW5 0x88 | 252 | #define SW5_CS17 0x88 |
| 253 | #define CS18_SW5 0x89 | 253 | #define SW5_CS18 0x89 |
| 254 | #define CS19_SW5 0x8A | 254 | #define SW5_CS19 0x8A |
| 255 | #define CS20_SW5 0x8B | 255 | #define SW5_CS20 0x8B |
| 256 | #define CS21_SW5 0x8C | 256 | #define SW5_CS21 0x8C |
| 257 | #define CS22_SW5 0x8D | 257 | #define SW5_CS22 0x8D |
| 258 | #define CS23_SW5 0x8E | 258 | #define SW5_CS23 0x8E |
| 259 | #define CS24_SW5 0x8F | 259 | #define SW5_CS24 0x8F |
| 260 | #define CS25_SW5 0x90 | 260 | #define SW5_CS25 0x90 |
| 261 | #define CS26_SW5 0x91 | 261 | #define SW5_CS26 0x91 |
| 262 | #define CS27_SW5 0x92 | 262 | #define SW5_CS27 0x92 |
| 263 | #define CS28_SW5 0x93 | 263 | #define SW5_CS28 0x93 |
| 264 | #define CS29_SW5 0x94 | 264 | #define SW5_CS29 0x94 |
| 265 | #define CS30_SW5 0x95 | 265 | #define SW5_CS30 0x95 |
| 266 | 266 | ||
| 267 | #define CS1_SW6 0x96 | 267 | #define SW6_CS1 0x96 |
| 268 | #define CS2_SW6 0x97 | 268 | #define SW6_CS2 0x97 |
| 269 | #define CS3_SW6 0x98 | 269 | #define SW6_CS3 0x98 |
| 270 | #define CS4_SW6 0x99 | 270 | #define SW6_CS4 0x99 |
| 271 | #define CS5_SW6 0x9A | 271 | #define SW6_CS5 0x9A |
| 272 | #define CS6_SW6 0x9B | 272 | #define SW6_CS6 0x9B |
| 273 | #define CS7_SW6 0x9C | 273 | #define SW6_CS7 0x9C |
| 274 | #define CS8_SW6 0x9D | 274 | #define SW6_CS8 0x9D |
| 275 | #define CS9_SW6 0x9E | 275 | #define SW6_CS9 0x9E |
| 276 | #define CS10_SW6 0x9F | 276 | #define SW6_CS10 0x9F |
| 277 | #define CS11_SW6 0xA0 | 277 | #define SW6_CS11 0xA0 |
| 278 | #define CS12_SW6 0xA1 | 278 | #define SW6_CS12 0xA1 |
| 279 | #define CS13_SW6 0xA2 | 279 | #define SW6_CS13 0xA2 |
| 280 | #define CS14_SW6 0xA3 | 280 | #define SW6_CS14 0xA3 |
| 281 | #define CS15_SW6 0xA4 | 281 | #define SW6_CS15 0xA4 |
| 282 | #define CS16_SW6 0xA5 | 282 | #define SW6_CS16 0xA5 |
| 283 | #define CS17_SW6 0xA6 | 283 | #define SW6_CS17 0xA6 |
| 284 | #define CS18_SW6 0xA7 | 284 | #define SW6_CS18 0xA7 |
| 285 | #define CS19_SW6 0xA8 | 285 | #define SW6_CS19 0xA8 |
| 286 | #define CS20_SW6 0xA9 | 286 | #define SW6_CS20 0xA9 |
| 287 | #define CS21_SW6 0xAA | 287 | #define SW6_CS21 0xAA |
| 288 | #define CS22_SW6 0xAB | 288 | #define SW6_CS22 0xAB |
| 289 | #define CS23_SW6 0xAC | 289 | #define SW6_CS23 0xAC |
| 290 | #define CS24_SW6 0xAD | 290 | #define SW6_CS24 0xAD |
| 291 | #define CS25_SW6 0xAE | 291 | #define SW6_CS25 0xAE |
| 292 | #define CS26_SW6 0xAF | 292 | #define SW6_CS26 0xAF |
| 293 | #define CS27_SW6 0xB0 | 293 | #define SW6_CS27 0xB0 |
| 294 | #define CS28_SW6 0xB1 | 294 | #define SW6_CS28 0xB1 |
| 295 | #define CS29_SW6 0xB2 | 295 | #define SW6_CS29 0xB2 |
| 296 | #define CS30_SW6 0xB3 | 296 | #define SW6_CS30 0xB3 |
diff --git a/drivers/led/issi/is31fl3742a.h b/drivers/led/issi/is31fl3742a.h index 2d7be1488b..10ecf50026 100644 --- a/drivers/led/issi/is31fl3742a.h +++ b/drivers/led/issi/is31fl3742a.h | |||
| @@ -111,188 +111,188 @@ void is31fl3742a_flush(void); | |||
| 111 | #define IS31FL3742A_PWM_FREQUENCY_1K8_HZ 0b0111 | 111 | #define IS31FL3742A_PWM_FREQUENCY_1K8_HZ 0b0111 |
| 112 | #define IS31FL3742A_PWM_FREQUENCY_900_HZ 0b1011 | 112 | #define IS31FL3742A_PWM_FREQUENCY_900_HZ 0b1011 |
| 113 | 113 | ||
| 114 | #define CS1_SW1 0x00 | 114 | #define SW1_CS1 0x00 |
| 115 | #define CS2_SW1 0x01 | 115 | #define SW1_CS2 0x01 |
| 116 | #define CS3_SW1 0x02 | 116 | #define SW1_CS3 0x02 |
| 117 | #define CS4_SW1 0x03 | 117 | #define SW1_CS4 0x03 |
| 118 | #define CS5_SW1 0x04 | 118 | #define SW1_CS5 0x04 |
| 119 | #define CS6_SW1 0x05 | 119 | #define SW1_CS6 0x05 |
| 120 | #define CS7_SW1 0x06 | 120 | #define SW1_CS7 0x06 |
| 121 | #define CS8_SW1 0x07 | 121 | #define SW1_CS8 0x07 |
| 122 | #define CS9_SW1 0x08 | 122 | #define SW1_CS9 0x08 |
| 123 | #define CS10_SW1 0x09 | 123 | #define SW1_CS10 0x09 |
| 124 | #define CS11_SW1 0x0A | 124 | #define SW1_CS11 0x0A |
| 125 | #define CS12_SW1 0x0B | 125 | #define SW1_CS12 0x0B |
| 126 | #define CS13_SW1 0x0C | 126 | #define SW1_CS13 0x0C |
| 127 | #define CS14_SW1 0x0D | 127 | #define SW1_CS14 0x0D |
| 128 | #define CS15_SW1 0x0E | 128 | #define SW1_CS15 0x0E |
| 129 | #define CS16_SW1 0x0F | 129 | #define SW1_CS16 0x0F |
| 130 | #define CS17_SW1 0x10 | 130 | #define SW1_CS17 0x10 |
| 131 | #define CS18_SW1 0x11 | 131 | #define SW1_CS18 0x11 |
| 132 | #define CS19_SW1 0x12 | 132 | #define SW1_CS19 0x12 |
| 133 | #define CS20_SW1 0x13 | 133 | #define SW1_CS20 0x13 |
| 134 | #define CS21_SW1 0x14 | 134 | #define SW1_CS21 0x14 |
| 135 | #define CS22_SW1 0x15 | 135 | #define SW1_CS22 0x15 |
| 136 | #define CS23_SW1 0x16 | 136 | #define SW1_CS23 0x16 |
| 137 | #define CS24_SW1 0x17 | 137 | #define SW1_CS24 0x17 |
| 138 | #define CS25_SW1 0x18 | 138 | #define SW1_CS25 0x18 |
| 139 | #define CS26_SW1 0x19 | 139 | #define SW1_CS26 0x19 |
| 140 | #define CS27_SW1 0x1A | 140 | #define SW1_CS27 0x1A |
| 141 | #define CS28_SW1 0x1B | 141 | #define SW1_CS28 0x1B |
| 142 | #define CS29_SW1 0x1C | 142 | #define SW1_CS29 0x1C |
| 143 | #define CS30_SW1 0x1D | 143 | #define SW1_CS30 0x1D |
| 144 | 144 | ||
| 145 | #define CS1_SW2 0x1E | 145 | #define SW2_CS1 0x1E |
| 146 | #define CS2_SW2 0x1F | 146 | #define SW2_CS2 0x1F |
| 147 | #define CS3_SW2 0x20 | 147 | #define SW2_CS3 0x20 |
| 148 | #define CS4_SW2 0x21 | 148 | #define SW2_CS4 0x21 |
| 149 | #define CS5_SW2 0x22 | 149 | #define SW2_CS5 0x22 |
| 150 | #define CS6_SW2 0x23 | 150 | #define SW2_CS6 0x23 |
| 151 | #define CS7_SW2 0x24 | 151 | #define SW2_CS7 0x24 |
| 152 | #define CS8_SW2 0x25 | 152 | #define SW2_CS8 0x25 |
| 153 | #define CS9_SW2 0x26 | 153 | #define SW2_CS9 0x26 |
| 154 | #define CS10_SW2 0x27 | 154 | #define SW2_CS10 0x27 |
| 155 | #define CS11_SW2 0x28 | 155 | #define SW2_CS11 0x28 |
| 156 | #define CS12_SW2 0x29 | 156 | #define SW2_CS12 0x29 |
| 157 | #define CS13_SW2 0x2A | 157 | #define SW2_CS13 0x2A |
| 158 | #define CS14_SW2 0x2B | 158 | #define SW2_CS14 0x2B |
| 159 | #define CS15_SW2 0x2C | 159 | #define SW2_CS15 0x2C |
| 160 | #define CS16_SW2 0x2D | 160 | #define SW2_CS16 0x2D |
| 161 | #define CS17_SW2 0x2E | 161 | #define SW2_CS17 0x2E |
| 162 | #define CS18_SW2 0x2F | 162 | #define SW2_CS18 0x2F |
| 163 | #define CS19_SW2 0x30 | 163 | #define SW2_CS19 0x30 |
| 164 | #define CS20_SW2 0x31 | 164 | #define SW2_CS20 0x31 |
| 165 | #define CS21_SW2 0x32 | 165 | #define SW2_CS21 0x32 |
| 166 | #define CS22_SW2 0x33 | 166 | #define SW2_CS22 0x33 |
| 167 | #define CS23_SW2 0x34 | 167 | #define SW2_CS23 0x34 |
| 168 | #define CS24_SW2 0x35 | 168 | #define SW2_CS24 0x35 |
| 169 | #define CS25_SW2 0x36 | 169 | #define SW2_CS25 0x36 |
| 170 | #define CS26_SW2 0x37 | 170 | #define SW2_CS26 0x37 |
| 171 | #define CS27_SW2 0x38 | 171 | #define SW2_CS27 0x38 |
| 172 | #define CS28_SW2 0x39 | 172 | #define SW2_CS28 0x39 |
| 173 | #define CS29_SW2 0x3A | 173 | #define SW2_CS29 0x3A |
| 174 | #define CS30_SW2 0x3B | 174 | #define SW2_CS30 0x3B |
| 175 | 175 | ||
| 176 | #define CS1_SW3 0x3C | 176 | #define SW3_CS1 0x3C |
| 177 | #define CS2_SW3 0x3D | 177 | #define SW3_CS2 0x3D |
| 178 | #define CS3_SW3 0x3E | 178 | #define SW3_CS3 0x3E |
| 179 | #define CS4_SW3 0x3F | 179 | #define SW3_CS4 0x3F |
| 180 | #define CS5_SW3 0x40 | 180 | #define SW3_CS5 0x40 |
| 181 | #define CS6_SW3 0x41 | 181 | #define SW3_CS6 0x41 |
| 182 | #define CS7_SW3 0x42 | 182 | #define SW3_CS7 0x42 |
| 183 | #define CS8_SW3 0x43 | 183 | #define SW3_CS8 0x43 |
| 184 | #define CS9_SW3 0x44 | 184 | #define SW3_CS9 0x44 |
| 185 | #define CS10_SW3 0x45 | 185 | #define SW3_CS10 0x45 |
| 186 | #define CS11_SW3 0x46 | 186 | #define SW3_CS11 0x46 |
| 187 | #define CS12_SW3 0x47 | 187 | #define SW3_CS12 0x47 |
| 188 | #define CS13_SW3 0x48 | 188 | #define SW3_CS13 0x48 |
| 189 | #define CS14_SW3 0x49 | 189 | #define SW3_CS14 0x49 |
| 190 | #define CS15_SW3 0x4A | 190 | #define SW3_CS15 0x4A |
| 191 | #define CS16_SW3 0x4B | 191 | #define SW3_CS16 0x4B |
| 192 | #define CS17_SW3 0x4C | 192 | #define SW3_CS17 0x4C |
| 193 | #define CS18_SW3 0x4D | 193 | #define SW3_CS18 0x4D |
| 194 | #define CS19_SW3 0x4E | 194 | #define SW3_CS19 0x4E |
| 195 | #define CS20_SW3 0x4F | 195 | #define SW3_CS20 0x4F |
| 196 | #define CS21_SW3 0x50 | 196 | #define SW3_CS21 0x50 |
| 197 | #define CS22_SW3 0x51 | 197 | #define SW3_CS22 0x51 |
| 198 | #define CS23_SW3 0x52 | 198 | #define SW3_CS23 0x52 |
| 199 | #define CS24_SW3 0x53 | 199 | #define SW3_CS24 0x53 |
| 200 | #define CS25_SW3 0x54 | 200 | #define SW3_CS25 0x54 |
| 201 | #define CS26_SW3 0x55 | 201 | #define SW3_CS26 0x55 |
| 202 | #define CS27_SW3 0x56 | 202 | #define SW3_CS27 0x56 |
| 203 | #define CS28_SW3 0x57 | 203 | #define SW3_CS28 0x57 |
| 204 | #define CS29_SW3 0x58 | 204 | #define SW3_CS29 0x58 |
| 205 | #define CS30_SW3 0x59 | 205 | #define SW3_CS30 0x59 |
| 206 | 206 | ||
| 207 | #define CS1_SW4 0x5A | 207 | #define SW4_CS1 0x5A |
| 208 | #define CS2_SW4 0x5B | 208 | #define SW4_CS2 0x5B |
| 209 | #define CS3_SW4 0x5C | 209 | #define SW4_CS3 0x5C |
| 210 | #define CS4_SW4 0x5D | 210 | #define SW4_CS4 0x5D |
| 211 | #define CS5_SW4 0x5E | 211 | #define SW4_CS5 0x5E |
| 212 | #define CS6_SW4 0x5F | 212 | #define SW4_CS6 0x5F |
| 213 | #define CS7_SW4 0x60 | 213 | #define SW4_CS7 0x60 |
| 214 | #define CS8_SW4 0x61 | 214 | #define SW4_CS8 0x61 |
| 215 | #define CS9_SW4 0x62 | 215 | #define SW4_CS9 0x62 |
| 216 | #define CS10_SW4 0x63 | 216 | #define SW4_CS10 0x63 |
| 217 | #define CS11_SW4 0x64 | 217 | #define SW4_CS11 0x64 |
| 218 | #define CS12_SW4 0x65 | 218 | #define SW4_CS12 0x65 |
| 219 | #define CS13_SW4 0x66 | 219 | #define SW4_CS13 0x66 |
| 220 | #define CS14_SW4 0x67 | 220 | #define SW4_CS14 0x67 |
| 221 | #define CS15_SW4 0x68 | 221 | #define SW4_CS15 0x68 |
| 222 | #define CS16_SW4 0x69 | 222 | #define SW4_CS16 0x69 |
| 223 | #define CS17_SW4 0x6A | 223 | #define SW4_CS17 0x6A |
| 224 | #define CS18_SW4 0x6B | 224 | #define SW4_CS18 0x6B |
| 225 | #define CS19_SW4 0x6C | 225 | #define SW4_CS19 0x6C |
| 226 | #define CS20_SW4 0x6D | 226 | #define SW4_CS20 0x6D |
| 227 | #define CS21_SW4 0x6E | 227 | #define SW4_CS21 0x6E |
| 228 | #define CS22_SW4 0x6F | 228 | #define SW4_CS22 0x6F |
| 229 | #define CS23_SW4 0x70 | 229 | #define SW4_CS23 0x70 |
| 230 | #define CS24_SW4 0x71 | 230 | #define SW4_CS24 0x71 |
| 231 | #define CS25_SW4 0x72 | 231 | #define SW4_CS25 0x72 |
| 232 | #define CS26_SW4 0x73 | 232 | #define SW4_CS26 0x73 |
| 233 | #define CS27_SW4 0x74 | 233 | #define SW4_CS27 0x74 |
| 234 | #define CS28_SW4 0x75 | 234 | #define SW4_CS28 0x75 |
| 235 | #define CS29_SW4 0x76 | 235 | #define SW4_CS29 0x76 |
| 236 | #define CS30_SW4 0x77 | 236 | #define SW4_CS30 0x77 |
| 237 | 237 | ||
| 238 | #define CS1_SW5 0x78 | 238 | #define SW5_CS1 0x78 |
| 239 | #define CS2_SW5 0x79 | 239 | #define SW5_CS2 0x79 |
| 240 | #define CS3_SW5 0x7A | 240 | #define SW5_CS3 0x7A |
| 241 | #define CS4_SW5 0x7B | 241 | #define SW5_CS4 0x7B |
| 242 | #define CS5_SW5 0x7C | 242 | #define SW5_CS5 0x7C |
| 243 | #define CS6_SW5 0x7D | 243 | #define SW5_CS6 0x7D |
| 244 | #define CS7_SW5 0x7E | 244 | #define SW5_CS7 0x7E |
| 245 | #define CS8_SW5 0x7F | 245 | #define SW5_CS8 0x7F |
| 246 | #define CS9_SW5 0x80 | 246 | #define SW5_CS9 0x80 |
| 247 | #define CS10_SW5 0x81 | 247 | #define SW5_CS10 0x81 |
| 248 | #define CS11_SW5 0x82 | 248 | #define SW5_CS11 0x82 |
| 249 | #define CS12_SW5 0x83 | 249 | #define SW5_CS12 0x83 |
| 250 | #define CS13_SW5 0x84 | 250 | #define SW5_CS13 0x84 |
| 251 | #define CS14_SW5 0x85 | 251 | #define SW5_CS14 0x85 |
| 252 | #define CS15_SW5 0x86 | 252 | #define SW5_CS15 0x86 |
| 253 | #define CS16_SW5 0x87 | 253 | #define SW5_CS16 0x87 |
| 254 | #define CS17_SW5 0x88 | 254 | #define SW5_CS17 0x88 |
| 255 | #define CS18_SW5 0x89 | 255 | #define SW5_CS18 0x89 |
| 256 | #define CS19_SW5 0x8A | 256 | #define SW5_CS19 0x8A |
| 257 | #define CS20_SW5 0x8B | 257 | #define SW5_CS20 0x8B |
| 258 | #define CS21_SW5 0x8C | 258 | #define SW5_CS21 0x8C |
| 259 | #define CS22_SW5 0x8D | 259 | #define SW5_CS22 0x8D |
| 260 | #define CS23_SW5 0x8E | 260 | #define SW5_CS23 0x8E |
| 261 | #define CS24_SW5 0x8F | 261 | #define SW5_CS24 0x8F |
| 262 | #define CS25_SW5 0x90 | 262 | #define SW5_CS25 0x90 |
| 263 | #define CS26_SW5 0x91 | 263 | #define SW5_CS26 0x91 |
| 264 | #define CS27_SW5 0x92 | 264 | #define SW5_CS27 0x92 |
| 265 | #define CS28_SW5 0x93 | 265 | #define SW5_CS28 0x93 |
| 266 | #define CS29_SW5 0x94 | 266 | #define SW5_CS29 0x94 |
| 267 | #define CS30_SW5 0x95 | 267 | #define SW5_CS30 0x95 |
| 268 | 268 | ||
| 269 | #define CS1_SW6 0x96 | 269 | #define SW6_CS1 0x96 |
| 270 | #define CS2_SW6 0x97 | 270 | #define SW6_CS2 0x97 |
| 271 | #define CS3_SW6 0x98 | 271 | #define SW6_CS3 0x98 |
| 272 | #define CS4_SW6 0x99 | 272 | #define SW6_CS4 0x99 |
| 273 | #define CS5_SW6 0x9A | 273 | #define SW6_CS5 0x9A |
| 274 | #define CS6_SW6 0x9B | 274 | #define SW6_CS6 0x9B |
| 275 | #define CS7_SW6 0x9C | 275 | #define SW6_CS7 0x9C |
| 276 | #define CS8_SW6 0x9D | 276 | #define SW6_CS8 0x9D |
| 277 | #define CS9_SW6 0x9E | 277 | #define SW6_CS9 0x9E |
| 278 | #define CS10_SW6 0x9F | 278 | #define SW6_CS10 0x9F |
| 279 | #define CS11_SW6 0xA0 | 279 | #define SW6_CS11 0xA0 |
| 280 | #define CS12_SW6 0xA1 | 280 | #define SW6_CS12 0xA1 |
| 281 | #define CS13_SW6 0xA2 | 281 | #define SW6_CS13 0xA2 |
| 282 | #define CS14_SW6 0xA3 | 282 | #define SW6_CS14 0xA3 |
| 283 | #define CS15_SW6 0xA4 | 283 | #define SW6_CS15 0xA4 |
| 284 | #define CS16_SW6 0xA5 | 284 | #define SW6_CS16 0xA5 |
| 285 | #define CS17_SW6 0xA6 | 285 | #define SW6_CS17 0xA6 |
| 286 | #define CS18_SW6 0xA7 | 286 | #define SW6_CS18 0xA7 |
| 287 | #define CS19_SW6 0xA8 | 287 | #define SW6_CS19 0xA8 |
| 288 | #define CS20_SW6 0xA9 | 288 | #define SW6_CS20 0xA9 |
| 289 | #define CS21_SW6 0xAA | 289 | #define SW6_CS21 0xAA |
| 290 | #define CS22_SW6 0xAB | 290 | #define SW6_CS22 0xAB |
| 291 | #define CS23_SW6 0xAC | 291 | #define SW6_CS23 0xAC |
| 292 | #define CS24_SW6 0xAD | 292 | #define SW6_CS24 0xAD |
| 293 | #define CS25_SW6 0xAE | 293 | #define SW6_CS25 0xAE |
| 294 | #define CS26_SW6 0xAF | 294 | #define SW6_CS26 0xAF |
| 295 | #define CS27_SW6 0xB0 | 295 | #define SW6_CS27 0xB0 |
| 296 | #define CS28_SW6 0xB1 | 296 | #define SW6_CS28 0xB1 |
| 297 | #define CS29_SW6 0xB2 | 297 | #define SW6_CS29 0xB2 |
| 298 | #define CS30_SW6 0xB3 | 298 | #define SW6_CS30 0xB3 |
diff --git a/drivers/led/issi/is31fl3743a-mono.h b/drivers/led/issi/is31fl3743a-mono.h index 28789c32bb..4c582d3a7a 100644 --- a/drivers/led/issi/is31fl3743a-mono.h +++ b/drivers/led/issi/is31fl3743a-mono.h | |||
| @@ -118,211 +118,211 @@ void is31fl3743a_flush(void); | |||
| 118 | #define IS31FL3743A_SYNC_SLAVE 0b10 | 118 | #define IS31FL3743A_SYNC_SLAVE 0b10 |
| 119 | #define IS31FL3743A_SYNC_MASTER 0b11 | 119 | #define IS31FL3743A_SYNC_MASTER 0b11 |
| 120 | 120 | ||
| 121 | #define CS1_SW1 0x00 | 121 | #define SW1_CS1 0x00 |
| 122 | #define CS2_SW1 0x01 | 122 | #define SW1_CS2 0x01 |
| 123 | #define CS3_SW1 0x02 | 123 | #define SW1_CS3 0x02 |
| 124 | #define CS4_SW1 0x03 | 124 | #define SW1_CS4 0x03 |
| 125 | #define CS5_SW1 0x04 | 125 | #define SW1_CS5 0x04 |
| 126 | #define CS6_SW1 0x05 | 126 | #define SW1_CS6 0x05 |
| 127 | #define CS7_SW1 0x06 | 127 | #define SW1_CS7 0x06 |
| 128 | #define CS8_SW1 0x07 | 128 | #define SW1_CS8 0x07 |
| 129 | #define CS9_SW1 0x08 | 129 | #define SW1_CS9 0x08 |
| 130 | #define CS10_SW1 0x09 | 130 | #define SW1_CS10 0x09 |
| 131 | #define CS11_SW1 0x0A | 131 | #define SW1_CS11 0x0A |
| 132 | #define CS12_SW1 0x0B | 132 | #define SW1_CS12 0x0B |
| 133 | #define CS13_SW1 0x0C | 133 | #define SW1_CS13 0x0C |
| 134 | #define CS14_SW1 0x0D | 134 | #define SW1_CS14 0x0D |
| 135 | #define CS15_SW1 0x0E | 135 | #define SW1_CS15 0x0E |
| 136 | #define CS16_SW1 0x0F | 136 | #define SW1_CS16 0x0F |
| 137 | #define CS17_SW1 0x10 | 137 | #define SW1_CS17 0x10 |
| 138 | #define CS18_SW1 0x11 | 138 | #define SW1_CS18 0x11 |
| 139 | 139 | ||
| 140 | #define CS1_SW2 0x12 | 140 | #define SW2_CS1 0x12 |
| 141 | #define CS2_SW2 0x13 | 141 | #define SW2_CS2 0x13 |
| 142 | #define CS3_SW2 0x14 | 142 | #define SW2_CS3 0x14 |
| 143 | #define CS4_SW2 0x15 | 143 | #define SW2_CS4 0x15 |
| 144 | #define CS5_SW2 0x16 | 144 | #define SW2_CS5 0x16 |
| 145 | #define CS6_SW2 0x17 | 145 | #define SW2_CS6 0x17 |
| 146 | #define CS7_SW2 0x18 | 146 | #define SW2_CS7 0x18 |
| 147 | #define CS8_SW2 0x19 | 147 | #define SW2_CS8 0x19 |
| 148 | #define CS9_SW2 0x1A | 148 | #define SW2_CS9 0x1A |
| 149 | #define CS10_SW2 0x1B | 149 | #define SW2_CS10 0x1B |
| 150 | #define CS11_SW2 0x1C | 150 | #define SW2_CS11 0x1C |
| 151 | #define CS12_SW2 0x1D | 151 | #define SW2_CS12 0x1D |
| 152 | #define CS13_SW2 0x1E | 152 | #define SW2_CS13 0x1E |
| 153 | #define CS14_SW2 0x1F | 153 | #define SW2_CS14 0x1F |
| 154 | #define CS15_SW2 0x20 | 154 | #define SW2_CS15 0x20 |
| 155 | #define CS16_SW2 0x21 | 155 | #define SW2_CS16 0x21 |
| 156 | #define CS17_SW2 0x22 | 156 | #define SW2_CS17 0x22 |
| 157 | #define CS18_SW2 0x23 | 157 | #define SW2_CS18 0x23 |
| 158 | 158 | ||
| 159 | #define CS1_SW3 0x24 | 159 | #define SW3_CS1 0x24 |
| 160 | #define CS2_SW3 0x25 | 160 | #define SW3_CS2 0x25 |
| 161 | #define CS3_SW3 0x26 | 161 | #define SW3_CS3 0x26 |
| 162 | #define CS4_SW3 0x27 | 162 | #define SW3_CS4 0x27 |
| 163 | #define CS5_SW3 0x28 | 163 | #define SW3_CS5 0x28 |
| 164 | #define CS6_SW3 0x29 | 164 | #define SW3_CS6 0x29 |
| 165 | #define CS7_SW3 0x2A | 165 | #define SW3_CS7 0x2A |
| 166 | #define CS8_SW3 0x2B | 166 | #define SW3_CS8 0x2B |
| 167 | #define CS9_SW3 0x2C | 167 | #define SW3_CS9 0x2C |
| 168 | #define CS10_SW3 0x2D | 168 | #define SW3_CS10 0x2D |
| 169 | #define CS11_SW3 0x2E | 169 | #define SW3_CS11 0x2E |
| 170 | #define CS12_SW3 0x2F | 170 | #define SW3_CS12 0x2F |
| 171 | #define CS13_SW3 0x30 | 171 | #define SW3_CS13 0x30 |
| 172 | #define CS14_SW3 0x31 | 172 | #define SW3_CS14 0x31 |
| 173 | #define CS15_SW3 0x32 | 173 | #define SW3_CS15 0x32 |
| 174 | #define CS16_SW3 0x33 | 174 | #define SW3_CS16 0x33 |
| 175 | #define CS17_SW3 0x34 | 175 | #define SW3_CS17 0x34 |
| 176 | #define CS18_SW3 0x35 | 176 | #define SW3_CS18 0x35 |
| 177 | 177 | ||
| 178 | #define CS1_SW4 0x36 | 178 | #define SW4_CS1 0x36 |
| 179 | #define CS2_SW4 0x37 | 179 | #define SW4_CS2 0x37 |
| 180 | #define CS3_SW4 0x38 | 180 | #define SW4_CS3 0x38 |
| 181 | #define CS4_SW4 0x39 | 181 | #define SW4_CS4 0x39 |
| 182 | #define CS5_SW4 0x3A | 182 | #define SW4_CS5 0x3A |
| 183 | #define CS6_SW4 0x3B | 183 | #define SW4_CS6 0x3B |
| 184 | #define CS7_SW4 0x3C | 184 | #define SW4_CS7 0x3C |
| 185 | #define CS8_SW4 0x3D | 185 | #define SW4_CS8 0x3D |
| 186 | #define CS9_SW4 0x3E | 186 | #define SW4_CS9 0x3E |
| 187 | #define CS10_SW4 0x3F | 187 | #define SW4_CS10 0x3F |
| 188 | #define CS11_SW4 0x40 | 188 | #define SW4_CS11 0x40 |
| 189 | #define CS12_SW4 0x41 | 189 | #define SW4_CS12 0x41 |
| 190 | #define CS13_SW4 0x42 | 190 | #define SW4_CS13 0x42 |
| 191 | #define CS14_SW4 0x43 | 191 | #define SW4_CS14 0x43 |
| 192 | #define CS15_SW4 0x44 | 192 | #define SW4_CS15 0x44 |
| 193 | #define CS16_SW4 0x45 | 193 | #define SW4_CS16 0x45 |
| 194 | #define CS17_SW4 0x46 | 194 | #define SW4_CS17 0x46 |
| 195 | #define CS18_SW4 0x47 | 195 | #define SW4_CS18 0x47 |
| 196 | 196 | ||
| 197 | #define CS1_SW5 0x48 | 197 | #define SW5_CS1 0x48 |
| 198 | #define CS2_SW5 0x49 | 198 | #define SW5_CS2 0x49 |
| 199 | #define CS3_SW5 0x4A | 199 | #define SW5_CS3 0x4A |
| 200 | #define CS4_SW5 0x4B | 200 | #define SW5_CS4 0x4B |
| 201 | #define CS5_SW5 0x4C | 201 | #define SW5_CS5 0x4C |
| 202 | #define CS6_SW5 0x4D | 202 | #define SW5_CS6 0x4D |
| 203 | #define CS7_SW5 0x4E | 203 | #define SW5_CS7 0x4E |
| 204 | #define CS8_SW5 0x4F | 204 | #define SW5_CS8 0x4F |
| 205 | #define CS9_SW5 0x50 | 205 | #define SW5_CS9 0x50 |
| 206 | #define CS10_SW5 0x51 | 206 | #define SW5_CS10 0x51 |
| 207 | #define CS11_SW5 0x52 | 207 | #define SW5_CS11 0x52 |
| 208 | #define CS12_SW5 0x53 | 208 | #define SW5_CS12 0x53 |
| 209 | #define CS13_SW5 0x54 | 209 | #define SW5_CS13 0x54 |
| 210 | #define CS14_SW5 0x55 | 210 | #define SW5_CS14 0x55 |
| 211 | #define CS15_SW5 0x56 | 211 | #define SW5_CS15 0x56 |
| 212 | #define CS16_SW5 0x57 | 212 | #define SW5_CS16 0x57 |
| 213 | #define CS17_SW5 0x58 | 213 | #define SW5_CS17 0x58 |
| 214 | #define CS18_SW5 0x59 | 214 | #define SW5_CS18 0x59 |
| 215 | 215 | ||
| 216 | #define CS1_SW6 0x5A | 216 | #define SW6_CS1 0x5A |
| 217 | #define CS2_SW6 0x5B | 217 | #define SW6_CS2 0x5B |
| 218 | #define CS3_SW6 0x5C | 218 | #define SW6_CS3 0x5C |
| 219 | #define CS4_SW6 0x5D | 219 | #define SW6_CS4 0x5D |
| 220 | #define CS5_SW6 0x5E | 220 | #define SW6_CS5 0x5E |
| 221 | #define CS6_SW6 0x5F | 221 | #define SW6_CS6 0x5F |
| 222 | #define CS7_SW6 0x60 | 222 | #define SW6_CS7 0x60 |
| 223 | #define CS8_SW6 0x61 | 223 | #define SW6_CS8 0x61 |
| 224 | #define CS9_SW6 0x62 | 224 | #define SW6_CS9 0x62 |
| 225 | #define CS10_SW6 0x63 | 225 | #define SW6_CS10 0x63 |
| 226 | #define CS11_SW6 0x64 | 226 | #define SW6_CS11 0x64 |
| 227 | #define CS12_SW6 0x65 | 227 | #define SW6_CS12 0x65 |
| 228 | #define CS13_SW6 0x66 | 228 | #define SW6_CS13 0x66 |
| 229 | #define CS14_SW6 0x67 | 229 | #define SW6_CS14 0x67 |
| 230 | #define CS15_SW6 0x68 | 230 | #define SW6_CS15 0x68 |
| 231 | #define CS16_SW6 0x69 | 231 | #define SW6_CS16 0x69 |
| 232 | #define CS17_SW6 0x6A | 232 | #define SW6_CS17 0x6A |
| 233 | #define CS18_SW6 0x6B | 233 | #define SW6_CS18 0x6B |
| 234 | 234 | ||
| 235 | #define CS1_SW7 0x6C | 235 | #define SW7_CS1 0x6C |
| 236 | #define CS2_SW7 0x6D | 236 | #define SW7_CS2 0x6D |
| 237 | #define CS3_SW7 0x6E | 237 | #define SW7_CS3 0x6E |
| 238 | #define CS4_SW7 0x6F | 238 | #define SW7_CS4 0x6F |
| 239 | #define CS5_SW7 0x70 | 239 | #define SW7_CS5 0x70 |
| 240 | #define CS6_SW7 0x71 | 240 | #define SW7_CS6 0x71 |
| 241 | #define CS7_SW7 0x72 | 241 | #define SW7_CS7 0x72 |
| 242 | #define CS8_SW7 0x73 | 242 | #define SW7_CS8 0x73 |
| 243 | #define CS9_SW7 0x74 | 243 | #define SW7_CS9 0x74 |
| 244 | #define CS10_SW7 0x75 | 244 | #define SW7_CS10 0x75 |
| 245 | #define CS11_SW7 0x76 | 245 | #define SW7_CS11 0x76 |
| 246 | #define CS12_SW7 0x77 | 246 | #define SW7_CS12 0x77 |
| 247 | #define CS13_SW7 0x78 | 247 | #define SW7_CS13 0x78 |
| 248 | #define CS14_SW7 0x79 | 248 | #define SW7_CS14 0x79 |
| 249 | #define CS15_SW7 0x7A | 249 | #define SW7_CS15 0x7A |
| 250 | #define CS16_SW7 0x7B | 250 | #define SW7_CS16 0x7B |
| 251 | #define CS17_SW7 0x7C | 251 | #define SW7_CS17 0x7C |
| 252 | #define CS18_SW7 0x7D | 252 | #define SW7_CS18 0x7D |
| 253 | 253 | ||
| 254 | #define CS1_SW8 0x7E | 254 | #define SW8_CS1 0x7E |
| 255 | #define CS2_SW8 0x7F | 255 | #define SW8_CS2 0x7F |
| 256 | #define CS3_SW8 0x80 | 256 | #define SW8_CS3 0x80 |
| 257 | #define CS4_SW8 0x81 | 257 | #define SW8_CS4 0x81 |
| 258 | #define CS5_SW8 0x82 | 258 | #define SW8_CS5 0x82 |
| 259 | #define CS6_SW8 0x83 | 259 | #define SW8_CS6 0x83 |
| 260 | #define CS7_SW8 0x84 | 260 | #define SW8_CS7 0x84 |
| 261 | #define CS8_SW8 0x85 | 261 | #define SW8_CS8 0x85 |
| 262 | #define CS9_SW8 0x86 | 262 | #define SW8_CS9 0x86 |
| 263 | #define CS10_SW8 0x87 | 263 | #define SW8_CS10 0x87 |
| 264 | #define CS11_SW8 0x88 | 264 | #define SW8_CS11 0x88 |
| 265 | #define CS12_SW8 0x89 | 265 | #define SW8_CS12 0x89 |
| 266 | #define CS13_SW8 0x8A | 266 | #define SW8_CS13 0x8A |
| 267 | #define CS14_SW8 0x8B | 267 | #define SW8_CS14 0x8B |
| 268 | #define CS15_SW8 0x8C | 268 | #define SW8_CS15 0x8C |
| 269 | #define CS16_SW8 0x8D | 269 | #define SW8_CS16 0x8D |
| 270 | #define CS17_SW8 0x8E | 270 | #define SW8_CS17 0x8E |
| 271 | #define CS18_SW8 0x8F | 271 | #define SW8_CS18 0x8F |
| 272 | 272 | ||
| 273 | #define CS1_SW9 0x90 | 273 | #define SW9_CS1 0x90 |
| 274 | #define CS2_SW9 0x91 | 274 | #define SW9_CS2 0x91 |
| 275 | #define CS3_SW9 0x92 | 275 | #define SW9_CS3 0x92 |
| 276 | #define CS4_SW9 0x93 | 276 | #define SW9_CS4 0x93 |
| 277 | #define CS5_SW9 0x94 | 277 | #define SW9_CS5 0x94 |
| 278 | #define CS6_SW9 0x95 | 278 | #define SW9_CS6 0x95 |
| 279 | #define CS7_SW9 0x96 | 279 | #define SW9_CS7 0x96 |
| 280 | #define CS8_SW9 0x97 | 280 | #define SW9_CS8 0x97 |
| 281 | #define CS9_SW9 0x98 | 281 | #define SW9_CS9 0x98 |
| 282 | #define CS10_SW9 0x99 | 282 | #define SW9_CS10 0x99 |
| 283 | #define CS11_SW9 0x9A | 283 | #define SW9_CS11 0x9A |
| 284 | #define CS12_SW9 0x9B | 284 | #define SW9_CS12 0x9B |
| 285 | #define CS13_SW9 0x9C | 285 | #define SW9_CS13 0x9C |
| 286 | #define CS14_SW9 0x9D | 286 | #define SW9_CS14 0x9D |
| 287 | #define CS15_SW9 0x9E | 287 | #define SW9_CS15 0x9E |
| 288 | #define CS16_SW9 0x9F | 288 | #define SW9_CS16 0x9F |
| 289 | #define CS17_SW9 0xA0 | 289 | #define SW9_CS17 0xA0 |
| 290 | #define CS18_SW9 0xA1 | 290 | #define SW9_CS18 0xA1 |
| 291 | 291 | ||
| 292 | #define CS1_SW10 0xA2 | 292 | #define SW10_CS1 0xA2 |
| 293 | #define CS2_SW10 0xA3 | 293 | #define SW10_CS2 0xA3 |
| 294 | #define CS3_SW10 0xA4 | 294 | #define SW10_CS3 0xA4 |
| 295 | #define CS4_SW10 0xA5 | 295 | #define SW10_CS4 0xA5 |
| 296 | #define CS5_SW10 0xA6 | 296 | #define SW10_CS5 0xA6 |
| 297 | #define CS6_SW10 0xA7 | 297 | #define SW10_CS6 0xA7 |
| 298 | #define CS7_SW10 0xA8 | 298 | #define SW10_CS7 0xA8 |
| 299 | #define CS8_SW10 0xA9 | 299 | #define SW10_CS8 0xA9 |
| 300 | #define CS9_SW10 0xAA | 300 | #define SW10_CS9 0xAA |
| 301 | #define CS10_SW10 0xAB | 301 | #define SW10_CS10 0xAB |
| 302 | #define CS11_SW10 0xAC | 302 | #define SW10_CS11 0xAC |
| 303 | #define CS12_SW10 0xAD | 303 | #define SW10_CS12 0xAD |
| 304 | #define CS13_SW10 0xAE | 304 | #define SW10_CS13 0xAE |
| 305 | #define CS14_SW10 0xAF | 305 | #define SW10_CS14 0xAF |
| 306 | #define CS15_SW10 0xB0 | 306 | #define SW10_CS15 0xB0 |
| 307 | #define CS16_SW10 0xB1 | 307 | #define SW10_CS16 0xB1 |
| 308 | #define CS17_SW10 0xB2 | 308 | #define SW10_CS17 0xB2 |
| 309 | #define CS18_SW10 0xB3 | 309 | #define SW10_CS18 0xB3 |
| 310 | 310 | ||
| 311 | #define CS1_SW11 0xB4 | 311 | #define SW11_CS1 0xB4 |
| 312 | #define CS2_SW11 0xB5 | 312 | #define SW11_CS2 0xB5 |
| 313 | #define CS3_SW11 0xB6 | 313 | #define SW11_CS3 0xB6 |
| 314 | #define CS4_SW11 0xB7 | 314 | #define SW11_CS4 0xB7 |
| 315 | #define CS5_SW11 0xB8 | 315 | #define SW11_CS5 0xB8 |
| 316 | #define CS6_SW11 0xB9 | 316 | #define SW11_CS6 0xB9 |
| 317 | #define CS7_SW11 0xBA | 317 | #define SW11_CS7 0xBA |
| 318 | #define CS8_SW11 0xBB | 318 | #define SW11_CS8 0xBB |
| 319 | #define CS9_SW11 0xBC | 319 | #define SW11_CS9 0xBC |
| 320 | #define CS10_SW11 0xBD | 320 | #define SW11_CS10 0xBD |
| 321 | #define CS11_SW11 0xBE | 321 | #define SW11_CS11 0xBE |
| 322 | #define CS12_SW11 0xBF | 322 | #define SW11_CS12 0xBF |
| 323 | #define CS13_SW11 0xC0 | 323 | #define SW11_CS13 0xC0 |
| 324 | #define CS14_SW11 0xC1 | 324 | #define SW11_CS14 0xC1 |
| 325 | #define CS15_SW11 0xC2 | 325 | #define SW11_CS15 0xC2 |
| 326 | #define CS16_SW11 0xC3 | 326 | #define SW11_CS16 0xC3 |
| 327 | #define CS17_SW11 0xC4 | 327 | #define SW11_CS17 0xC4 |
| 328 | #define CS18_SW11 0xC5 | 328 | #define SW11_CS18 0xC5 |
diff --git a/drivers/led/issi/is31fl3743a.h b/drivers/led/issi/is31fl3743a.h index 416197bc0c..48aeab46ab 100644 --- a/drivers/led/issi/is31fl3743a.h +++ b/drivers/led/issi/is31fl3743a.h | |||
| @@ -120,211 +120,422 @@ void is31fl3743a_flush(void); | |||
| 120 | #define IS31FL3743A_SYNC_SLAVE 0b10 | 120 | #define IS31FL3743A_SYNC_SLAVE 0b10 |
| 121 | #define IS31FL3743A_SYNC_MASTER 0b11 | 121 | #define IS31FL3743A_SYNC_MASTER 0b11 |
| 122 | 122 | ||
| 123 | #define CS1_SW1 0x00 | 123 | #define SW1_CS1 0x00 |
| 124 | #define CS2_SW1 0x01 | 124 | #define SW1_CS2 0x01 |
| 125 | #define CS3_SW1 0x02 | 125 | #define SW1_CS3 0x02 |
| 126 | #define CS4_SW1 0x03 | 126 | #define SW1_CS4 0x03 |
| 127 | #define CS5_SW1 0x04 | 127 | #define SW1_CS5 0x04 |
| 128 | #define CS6_SW1 0x05 | 128 | #define SW1_CS6 0x05 |
| 129 | #define CS7_SW1 0x06 | 129 | #define SW1_CS7 0x06 |
| 130 | #define CS8_SW1 0x07 | 130 | #define SW1_CS8 0x07 |
| 131 | #define CS9_SW1 0x08 | 131 | #define SW1_CS9 0x08 |
| 132 | #define CS10_SW1 0x09 | 132 | #define SW1_CS10 0x09 |
| 133 | #define CS11_SW1 0x0A | 133 | #define SW1_CS11 0x0A |
| 134 | #define CS12_SW1 0x0B | 134 | #define SW1_CS12 0x0B |
| 135 | #define CS13_SW1 0x0C | 135 | #define SW1_CS13 0x0C |
| 136 | #define CS14_SW1 0x0D | 136 | #define SW1_CS14 0x0D |
| 137 | #define CS15_SW1 0x0E | 137 | #define SW1_CS15 0x0E |
| 138 | #define CS16_SW1 0x0F | 138 | #define SW1_CS16 0x0F |
| 139 | #define CS17_SW1 0x10 | 139 | #define SW1_CS17 0x10 |
| 140 | #define CS18_SW1 0x11 | 140 | #define SW1_CS18 0x11 |
| 141 | 141 | ||
| 142 | #define CS1_SW2 0x12 | 142 | #define SW2_CS1 0x12 |
| 143 | #define CS2_SW2 0x13 | 143 | #define SW2_CS2 0x13 |
| 144 | #define CS3_SW2 0x14 | 144 | #define SW2_CS3 0x14 |
| 145 | #define CS4_SW2 0x15 | 145 | #define SW2_CS4 0x15 |
| 146 | #define CS5_SW2 0x16 | 146 | #define SW2_CS5 0x16 |
| 147 | #define CS6_SW2 0x17 | 147 | #define SW2_CS6 0x17 |
| 148 | #define CS7_SW2 0x18 | 148 | #define SW2_CS7 0x18 |
| 149 | #define CS8_SW2 0x19 | 149 | #define SW2_CS8 0x19 |
| 150 | #define CS9_SW2 0x1A | 150 | #define SW2_CS9 0x1A |
| 151 | #define CS10_SW2 0x1B | 151 | #define SW2_CS10 0x1B |
| 152 | #define CS11_SW2 0x1C | 152 | #define SW2_CS11 0x1C |
| 153 | #define CS12_SW2 0x1D | 153 | #define SW2_CS12 0x1D |
| 154 | #define CS13_SW2 0x1E | 154 | #define SW2_CS13 0x1E |
| 155 | #define CS14_SW2 0x1F | 155 | #define SW2_CS14 0x1F |
| 156 | #define CS15_SW2 0x20 | 156 | #define SW2_CS15 0x20 |
| 157 | #define CS16_SW2 0x21 | 157 | #define SW2_CS16 0x21 |
| 158 | #define CS17_SW2 0x22 | 158 | #define SW2_CS17 0x22 |
| 159 | #define CS18_SW2 0x23 | 159 | #define SW2_CS18 0x23 |
| 160 | 160 | ||
| 161 | #define CS1_SW3 0x24 | 161 | #define SW3_CS1 0x24 |
| 162 | #define CS2_SW3 0x25 | 162 | #define SW3_CS2 0x25 |
| 163 | #define CS3_SW3 0x26 | 163 | #define SW3_CS3 0x26 |
| 164 | #define CS4_SW3 0x27 | 164 | #define SW3_CS4 0x27 |
| 165 | #define CS5_SW3 0x28 | 165 | #define SW3_CS5 0x28 |
| 166 | #define CS6_SW3 0x29 | 166 | #define SW3_CS6 0x29 |
| 167 | #define CS7_SW3 0x2A | 167 | #define SW3_CS7 0x2A |
| 168 | #define CS8_SW3 0x2B | 168 | #define SW3_CS8 0x2B |
| 169 | #define CS9_SW3 0x2C | 169 | #define SW3_CS9 0x2C |
| 170 | #define CS10_SW3 0x2D | 170 | #define SW3_CS10 0x2D |
| 171 | #define CS11_SW3 0x2E | 171 | #define SW3_CS11 0x2E |
| 172 | #define CS12_SW3 0x2F | 172 | #define SW3_CS12 0x2F |
| 173 | #define CS13_SW3 0x30 | 173 | #define SW3_CS13 0x30 |
| 174 | #define CS14_SW3 0x31 | 174 | #define SW3_CS14 0x31 |
| 175 | #define CS15_SW3 0x32 | 175 | #define SW3_CS15 0x32 |
| 176 | #define CS16_SW3 0x33 | 176 | #define SW3_CS16 0x33 |
| 177 | #define CS17_SW3 0x34 | 177 | #define SW3_CS17 0x34 |
| 178 | #define CS18_SW3 0x35 | 178 | #define SW3_CS18 0x35 |
| 179 | 179 | ||
| 180 | #define CS1_SW4 0x36 | 180 | #define SW4_CS1 0x36 |
| 181 | #define CS2_SW4 0x37 | 181 | #define SW4_CS2 0x37 |
| 182 | #define CS3_SW4 0x38 | 182 | #define SW4_CS3 0x38 |
| 183 | #define CS4_SW4 0x39 | 183 | #define SW4_CS4 0x39 |
| 184 | #define CS5_SW4 0x3A | 184 | #define SW4_CS5 0x3A |
| 185 | #define CS6_SW4 0x3B | 185 | #define SW4_CS6 0x3B |
| 186 | #define CS7_SW4 0x3C | 186 | #define SW4_CS7 0x3C |
| 187 | #define CS8_SW4 0x3D | 187 | #define SW4_CS8 0x3D |
| 188 | #define CS9_SW4 0x3E | 188 | #define SW4_CS9 0x3E |
| 189 | #define CS10_SW4 0x3F | 189 | #define SW4_CS10 0x3F |
| 190 | #define CS11_SW4 0x40 | 190 | #define SW4_CS11 0x40 |
| 191 | #define CS12_SW4 0x41 | 191 | #define SW4_CS12 0x41 |
| 192 | #define CS13_SW4 0x42 | 192 | #define SW4_CS13 0x42 |
| 193 | #define CS14_SW4 0x43 | 193 | #define SW4_CS14 0x43 |
| 194 | #define CS15_SW4 0x44 | 194 | #define SW4_CS15 0x44 |
| 195 | #define CS16_SW4 0x45 | 195 | #define SW4_CS16 0x45 |
| 196 | #define CS17_SW4 0x46 | 196 | #define SW4_CS17 0x46 |
| 197 | #define CS18_SW4 0x47 | 197 | #define SW4_CS18 0x47 |
| 198 | 198 | ||
| 199 | #define CS1_SW5 0x48 | 199 | #define SW5_CS1 0x48 |
| 200 | #define CS2_SW5 0x49 | 200 | #define SW5_CS2 0x49 |
| 201 | #define CS3_SW5 0x4A | 201 | #define SW5_CS3 0x4A |
| 202 | #define CS4_SW5 0x4B | 202 | #define SW5_CS4 0x4B |
| 203 | #define CS5_SW5 0x4C | 203 | #define SW5_CS5 0x4C |
| 204 | #define CS6_SW5 0x4D | 204 | #define SW5_CS6 0x4D |
| 205 | #define CS7_SW5 0x4E | 205 | #define SW5_CS7 0x4E |
| 206 | #define CS8_SW5 0x4F | 206 | #define SW5_CS8 0x4F |
| 207 | #define CS9_SW5 0x50 | 207 | #define SW5_CS9 0x50 |
| 208 | #define CS10_SW5 0x51 | 208 | #define SW5_CS10 0x51 |
| 209 | #define CS11_SW5 0x52 | 209 | #define SW5_CS11 0x52 |
| 210 | #define CS12_SW5 0x53 | 210 | #define SW5_CS12 0x53 |
| 211 | #define CS13_SW5 0x54 | 211 | #define SW5_CS13 0x54 |
| 212 | #define CS14_SW5 0x55 | 212 | #define SW5_CS14 0x55 |
| 213 | #define CS15_SW5 0x56 | 213 | #define SW5_CS15 0x56 |
| 214 | #define CS16_SW5 0x57 | 214 | #define SW5_CS16 0x57 |
| 215 | #define CS17_SW5 0x58 | 215 | #define SW5_CS17 0x58 |
| 216 | #define CS18_SW5 0x59 | 216 | #define SW5_CS18 0x59 |
| 217 | 217 | ||
| 218 | #define CS1_SW6 0x5A | 218 | #define SW6_CS1 0x5A |
| 219 | #define CS2_SW6 0x5B | 219 | #define SW6_CS2 0x5B |
| 220 | #define CS3_SW6 0x5C | 220 | #define SW6_CS3 0x5C |
| 221 | #define CS4_SW6 0x5D | 221 | #define SW6_CS4 0x5D |
| 222 | #define CS5_SW6 0x5E | 222 | #define SW6_CS5 0x5E |
| 223 | #define CS6_SW6 0x5F | 223 | #define SW6_CS6 0x5F |
| 224 | #define CS7_SW6 0x60 | 224 | #define SW6_CS7 0x60 |
| 225 | #define CS8_SW6 0x61 | 225 | #define SW6_CS8 0x61 |
| 226 | #define CS9_SW6 0x62 | 226 | #define SW6_CS9 0x62 |
| 227 | #define CS10_SW6 0x63 | 227 | #define SW6_CS10 0x63 |
| 228 | #define CS11_SW6 0x64 | 228 | #define SW6_CS11 0x64 |
| 229 | #define CS12_SW6 0x65 | 229 | #define SW6_CS12 0x65 |
| 230 | #define CS13_SW6 0x66 | 230 | #define SW6_CS13 0x66 |
| 231 | #define CS14_SW6 0x67 | 231 | #define SW6_CS14 0x67 |
| 232 | #define CS15_SW6 0x68 | 232 | #define SW6_CS15 0x68 |
| 233 | #define CS16_SW6 0x69 | 233 | #define SW6_CS16 0x69 |
| 234 | #define CS17_SW6 0x6A | 234 | #define SW6_CS17 0x6A |
| 235 | #define CS18_SW6 0x6B | 235 | #define SW6_CS18 0x6B |
| 236 | 236 | ||
| 237 | #define CS1_SW7 0x6C | 237 | #define SW7_CS1 0x6C |
| 238 | #define CS2_SW7 0x6D | 238 | #define SW7_CS2 0x6D |
| 239 | #define CS3_SW7 0x6E | 239 | #define SW7_CS3 0x6E |
| 240 | #define CS4_SW7 0x6F | 240 | #define SW7_CS4 0x6F |
| 241 | #define CS5_SW7 0x70 | 241 | #define SW7_CS5 0x70 |
| 242 | #define CS6_SW7 0x71 | 242 | #define SW7_CS6 0x71 |
| 243 | #define CS7_SW7 0x72 | 243 | #define SW7_CS7 0x72 |
| 244 | #define CS8_SW7 0x73 | 244 | #define SW7_CS8 0x73 |
| 245 | #define CS9_SW7 0x74 | 245 | #define SW7_CS9 0x74 |
| 246 | #define CS10_SW7 0x75 | 246 | #define SW7_CS10 0x75 |
| 247 | #define CS11_SW7 0x76 | 247 | #define SW7_CS11 0x76 |
| 248 | #define CS12_SW7 0x77 | 248 | #define SW7_CS12 0x77 |
| 249 | #define CS13_SW7 0x78 | 249 | #define SW7_CS13 0x78 |
| 250 | #define CS14_SW7 0x79 | 250 | #define SW7_CS14 0x79 |
| 251 | #define CS15_SW7 0x7A | 251 | #define SW7_CS15 0x7A |
| 252 | #define CS16_SW7 0x7B | 252 | #define SW7_CS16 0x7B |
| 253 | #define CS17_SW7 0x7C | 253 | #define SW7_CS17 0x7C |
| 254 | #define CS18_SW7 0x7D | 254 | #define SW7_CS18 0x7D |
| 255 | 255 | ||
| 256 | #define CS1_SW8 0x7E | 256 | #define SW8_CS1 0x7E |
| 257 | #define CS2_SW8 0x7F | 257 | #define SW8_CS2 0x7F |
| 258 | #define CS3_SW8 0x80 | 258 | #define SW8_CS3 0x80 |
| 259 | #define CS4_SW8 0x81 | 259 | #define SW8_CS4 0x81 |
| 260 | #define CS5_SW8 0x82 | 260 | #define SW8_CS5 0x82 |
| 261 | #define CS6_SW8 0x83 | 261 | #define SW8_CS6 0x83 |
| 262 | #define CS7_SW8 0x84 | 262 | #define SW8_CS7 0x84 |
| 263 | #define CS8_SW8 0x85 | 263 | #define SW8_CS8 0x85 |
| 264 | #define CS9_SW8 0x86 | 264 | #define SW8_CS9 0x86 |
| 265 | #define CS10_SW8 0x87 | 265 | #define SW8_CS10 0x87 |
| 266 | #define CS11_SW8 0x88 | 266 | #define SW8_CS11 0x88 |
| 267 | #define CS12_SW8 0x89 | 267 | #define SW8_CS12 0x89 |
| 268 | #define CS13_SW8 0x8A | 268 | #define SW8_CS13 0x8A |
| 269 | #define CS14_SW8 0x8B | 269 | #define SW8_CS14 0x8B |
| 270 | #define CS15_SW8 0x8C | 270 | #define SW8_CS15 0x8C |
| 271 | #define CS16_SW8 0x8D | 271 | #define SW8_CS16 0x8D |
| 272 | #define CS17_SW8 0x8E | 272 | #define SW8_CS17 0x8E |
| 273 | #define CS18_SW8 0x8F | 273 | #define SW8_CS18 0x8F |
| 274 | 274 | ||
| 275 | #define CS1_SW9 0x90 | 275 | #define SW9_CS1 0x90 |
| 276 | #define CS2_SW9 0x91 | 276 | #define SW9_CS2 0x91 |
| 277 | #define CS3_SW9 0x92 | 277 | #define SW9_CS3 0x92 |
| 278 | #define CS4_SW9 0x93 | 278 | #define SW9_CS4 0x93 |
| 279 | #define CS5_SW9 0x94 | 279 | #define SW9_CS5 0x94 |
| 280 | #define CS6_SW9 0x95 | 280 | #define SW9_CS6 0x95 |
| 281 | #define CS7_SW9 0x96 | 281 | #define SW9_CS7 0x96 |
| 282 | #define CS8_SW9 0x97 | 282 | #define SW9_CS8 0x97 |
| 283 | #define CS9_SW9 0x98 | 283 | #define SW9_CS9 0x98 |
| 284 | #define CS10_SW9 0x99 | 284 | #define SW9_CS10 0x99 |
| 285 | #define CS11_SW9 0x9A | 285 | #define SW9_CS11 0x9A |
| 286 | #define CS12_SW9 0x9B | 286 | #define SW9_CS12 0x9B |
| 287 | #define CS13_SW9 0x9C | 287 | #define SW9_CS13 0x9C |
| 288 | #define CS14_SW9 0x9D | 288 | #define SW9_CS14 0x9D |
| 289 | #define CS15_SW9 0x9E | 289 | #define SW9_CS15 0x9E |
| 290 | #define CS16_SW9 0x9F | 290 | #define SW9_CS16 0x9F |
| 291 | #define CS17_SW9 0xA0 | 291 | #define SW9_CS17 0xA0 |
| 292 | #define CS18_SW9 0xA1 | 292 | #define SW9_CS18 0xA1 |
| 293 | 293 | ||
| 294 | #define CS1_SW10 0xA2 | 294 | #define SW10_CS1 0xA2 |
| 295 | #define CS2_SW10 0xA3 | 295 | #define SW10_CS2 0xA3 |
| 296 | #define CS3_SW10 0xA4 | 296 | #define SW10_CS3 0xA4 |
| 297 | #define CS4_SW10 0xA5 | 297 | #define SW10_CS4 0xA5 |
| 298 | #define CS5_SW10 0xA6 | 298 | #define SW10_CS5 0xA6 |
| 299 | #define CS6_SW10 0xA7 | 299 | #define SW10_CS6 0xA7 |
| 300 | #define CS7_SW10 0xA8 | 300 | #define SW10_CS7 0xA8 |
| 301 | #define CS8_SW10 0xA9 | 301 | #define SW10_CS8 0xA9 |
| 302 | #define CS9_SW10 0xAA | 302 | #define SW10_CS9 0xAA |
| 303 | #define CS10_SW10 0xAB | 303 | #define SW10_CS10 0xAB |
| 304 | #define CS11_SW10 0xAC | 304 | #define SW10_CS11 0xAC |
| 305 | #define CS12_SW10 0xAD | 305 | #define SW10_CS12 0xAD |
| 306 | #define CS13_SW10 0xAE | 306 | #define SW10_CS13 0xAE |
| 307 | #define CS14_SW10 0xAF | 307 | #define SW10_CS14 0xAF |
| 308 | #define CS15_SW10 0xB0 | 308 | #define SW10_CS15 0xB0 |
| 309 | #define CS16_SW10 0xB1 | 309 | #define SW10_CS16 0xB1 |
| 310 | #define CS17_SW10 0xB2 | 310 | #define SW10_CS17 0xB2 |
| 311 | #define CS18_SW10 0xB3 | 311 | #define SW10_CS18 0xB3 |
| 312 | 312 | ||
| 313 | #define CS1_SW11 0xB4 | 313 | #define SW11_CS1 0xB4 |
| 314 | #define CS2_SW11 0xB5 | 314 | #define SW11_CS2 0xB5 |
| 315 | #define CS3_SW11 0xB6 | 315 | #define SW11_CS3 0xB6 |
| 316 | #define CS4_SW11 0xB7 | 316 | #define SW11_CS4 0xB7 |
| 317 | #define CS5_SW11 0xB8 | 317 | #define SW11_CS5 0xB8 |
| 318 | #define CS6_SW11 0xB9 | 318 | #define SW11_CS6 0xB9 |
| 319 | #define CS7_SW11 0xBA | 319 | #define SW11_CS7 0xBA |
| 320 | #define CS8_SW11 0xBB | 320 | #define SW11_CS8 0xBB |
| 321 | #define CS9_SW11 0xBC | 321 | #define SW11_CS9 0xBC |
| 322 | #define CS10_SW11 0xBD | 322 | #define SW11_CS10 0xBD |
| 323 | #define CS11_SW11 0xBE | 323 | #define SW11_CS11 0xBE |
| 324 | #define CS12_SW11 0xBF | 324 | #define SW11_CS12 0xBF |
| 325 | #define CS13_SW11 0xC0 | 325 | #define SW11_CS13 0xC0 |
| 326 | #define CS14_SW11 0xC1 | 326 | #define SW11_CS14 0xC1 |
| 327 | #define CS15_SW11 0xC2 | 327 | #define SW11_CS15 0xC2 |
| 328 | #define CS16_SW11 0xC3 | 328 | #define SW11_CS16 0xC3 |
| 329 | #define CS17_SW11 0xC4 | 329 | #define SW11_CS17 0xC4 |
| 330 | #define CS18_SW11 0xC5 | 330 | #define SW11_CS18 0xC5 |
| 331 | |||
| 332 | // DEPRECATED - DO NOT USE | ||
| 333 | |||
| 334 | #define CS1_SW1 SW1_CS1 | ||
| 335 | #define CS2_SW1 SW1_CS2 | ||
| 336 | #define CS3_SW1 SW1_CS3 | ||
| 337 | #define CS4_SW1 SW1_CS4 | ||
| 338 | #define CS5_SW1 SW1_CS5 | ||
| 339 | #define CS6_SW1 SW1_CS6 | ||
| 340 | #define CS7_SW1 SW1_CS7 | ||
| 341 | #define CS8_SW1 SW1_CS8 | ||
| 342 | #define CS9_SW1 SW1_CS9 | ||
| 343 | #define CS10_SW1 SW1_CS10 | ||
| 344 | #define CS11_SW1 SW1_CS11 | ||
| 345 | #define CS12_SW1 SW1_CS12 | ||
| 346 | #define CS13_SW1 SW1_CS13 | ||
| 347 | #define CS14_SW1 SW1_CS14 | ||
| 348 | #define CS15_SW1 SW1_CS15 | ||
| 349 | #define CS16_SW1 SW1_CS16 | ||
| 350 | #define CS17_SW1 SW1_CS17 | ||
| 351 | #define CS18_SW1 SW1_CS18 | ||
| 352 | |||
| 353 | #define CS1_SW2 SW2_CS1 | ||
| 354 | #define CS2_SW2 SW2_CS2 | ||
| 355 | #define CS3_SW2 SW2_CS3 | ||
| 356 | #define CS4_SW2 SW2_CS4 | ||
| 357 | #define CS5_SW2 SW2_CS5 | ||
| 358 | #define CS6_SW2 SW2_CS6 | ||
| 359 | #define CS7_SW2 SW2_CS7 | ||
| 360 | #define CS8_SW2 SW2_CS8 | ||
| 361 | #define CS9_SW2 SW2_CS9 | ||
| 362 | #define CS10_SW2 SW2_CS10 | ||
| 363 | #define CS11_SW2 SW2_CS11 | ||
| 364 | #define CS12_SW2 SW2_CS12 | ||
| 365 | #define CS13_SW2 SW2_CS13 | ||
| 366 | #define CS14_SW2 SW2_CS14 | ||
| 367 | #define CS15_SW2 SW2_CS15 | ||
| 368 | #define CS16_SW2 SW2_CS16 | ||
| 369 | #define CS17_SW2 SW2_CS17 | ||
| 370 | #define CS18_SW2 SW2_CS18 | ||
| 371 | |||
| 372 | #define CS1_SW3 SW3_CS1 | ||
| 373 | #define CS2_SW3 SW3_CS2 | ||
| 374 | #define CS3_SW3 SW3_CS3 | ||
| 375 | #define CS4_SW3 SW3_CS4 | ||
| 376 | #define CS5_SW3 SW3_CS5 | ||
| 377 | #define CS6_SW3 SW3_CS6 | ||
| 378 | #define CS7_SW3 SW3_CS7 | ||
| 379 | #define CS8_SW3 SW3_CS8 | ||
| 380 | #define CS9_SW3 SW3_CS9 | ||
| 381 | #define CS10_SW3 SW3_CS10 | ||
| 382 | #define CS11_SW3 SW3_CS11 | ||
| 383 | #define CS12_SW3 SW3_CS12 | ||
| 384 | #define CS13_SW3 SW3_CS13 | ||
| 385 | #define CS14_SW3 SW3_CS14 | ||
| 386 | #define CS15_SW3 SW3_CS15 | ||
| 387 | #define CS16_SW3 SW3_CS16 | ||
| 388 | #define CS17_SW3 SW3_CS17 | ||
| 389 | #define CS18_SW3 SW3_CS18 | ||
| 390 | |||
| 391 | #define CS1_SW4 SW4_CS1 | ||
| 392 | #define CS2_SW4 SW4_CS2 | ||
| 393 | #define CS3_SW4 SW4_CS3 | ||
| 394 | #define CS4_SW4 SW4_CS4 | ||
| 395 | #define CS5_SW4 SW4_CS5 | ||
| 396 | #define CS6_SW4 SW4_CS6 | ||
| 397 | #define CS7_SW4 SW4_CS7 | ||
| 398 | #define CS8_SW4 SW4_CS8 | ||
| 399 | #define CS9_SW4 SW4_CS9 | ||
| 400 | #define CS10_SW4 SW4_CS10 | ||
| 401 | #define CS11_SW4 SW4_CS11 | ||
| 402 | #define CS12_SW4 SW4_CS12 | ||
| 403 | #define CS13_SW4 SW4_CS13 | ||
| 404 | #define CS14_SW4 SW4_CS14 | ||
| 405 | #define CS15_SW4 SW4_CS15 | ||
| 406 | #define CS16_SW4 SW4_CS16 | ||
| 407 | #define CS17_SW4 SW4_CS17 | ||
| 408 | #define CS18_SW4 SW4_CS18 | ||
| 409 | |||
| 410 | #define CS1_SW5 SW5_CS1 | ||
| 411 | #define CS2_SW5 SW5_CS2 | ||
| 412 | #define CS3_SW5 SW5_CS3 | ||
| 413 | #define CS4_SW5 SW5_CS4 | ||
| 414 | #define CS5_SW5 SW5_CS5 | ||
| 415 | #define CS6_SW5 SW5_CS6 | ||
| 416 | #define CS7_SW5 SW5_CS7 | ||
| 417 | #define CS8_SW5 SW5_CS8 | ||
| 418 | #define CS9_SW5 SW5_CS9 | ||
| 419 | #define CS10_SW5 SW5_CS10 | ||
| 420 | #define CS11_SW5 SW5_CS11 | ||
| 421 | #define CS12_SW5 SW5_CS12 | ||
| 422 | #define CS13_SW5 SW5_CS13 | ||
| 423 | #define CS14_SW5 SW5_CS14 | ||
| 424 | #define CS15_SW5 SW5_CS15 | ||
| 425 | #define CS16_SW5 SW5_CS16 | ||
| 426 | #define CS17_SW5 SW5_CS17 | ||
| 427 | #define CS18_SW5 SW5_CS18 | ||
| 428 | |||
| 429 | #define CS1_SW6 SW6_CS1 | ||
| 430 | #define CS2_SW6 SW6_CS2 | ||
| 431 | #define CS3_SW6 SW6_CS3 | ||
| 432 | #define CS4_SW6 SW6_CS4 | ||
| 433 | #define CS5_SW6 SW6_CS5 | ||
| 434 | #define CS6_SW6 SW6_CS6 | ||
| 435 | #define CS7_SW6 SW6_CS7 | ||
| 436 | #define CS8_SW6 SW6_CS8 | ||
| 437 | #define CS9_SW6 SW6_CS9 | ||
| 438 | #define CS10_SW6 SW6_CS10 | ||
| 439 | #define CS11_SW6 SW6_CS11 | ||
| 440 | #define CS12_SW6 SW6_CS12 | ||
| 441 | #define CS13_SW6 SW6_CS13 | ||
| 442 | #define CS14_SW6 SW6_CS14 | ||
| 443 | #define CS15_SW6 SW6_CS15 | ||
| 444 | #define CS16_SW6 SW6_CS16 | ||
| 445 | #define CS17_SW6 SW6_CS17 | ||
| 446 | #define CS18_SW6 SW6_CS18 | ||
| 447 | |||
| 448 | #define CS1_SW7 SW7_CS1 | ||
| 449 | #define CS2_SW7 SW7_CS2 | ||
| 450 | #define CS3_SW7 SW7_CS3 | ||
| 451 | #define CS4_SW7 SW7_CS4 | ||
| 452 | #define CS5_SW7 SW7_CS5 | ||
| 453 | #define CS6_SW7 SW7_CS6 | ||
| 454 | #define CS7_SW7 SW7_CS7 | ||
| 455 | #define CS8_SW7 SW7_CS8 | ||
| 456 | #define CS9_SW7 SW7_CS9 | ||
| 457 | #define CS10_SW7 SW7_CS10 | ||
| 458 | #define CS11_SW7 SW7_CS11 | ||
| 459 | #define CS12_SW7 SW7_CS12 | ||
| 460 | #define CS13_SW7 SW7_CS13 | ||
| 461 | #define CS14_SW7 SW7_CS14 | ||
| 462 | #define CS15_SW7 SW7_CS15 | ||
| 463 | #define CS16_SW7 SW7_CS16 | ||
| 464 | #define CS17_SW7 SW7_CS17 | ||
| 465 | #define CS18_SW7 SW7_CS18 | ||
| 466 | |||
| 467 | #define CS1_SW8 SW8_CS1 | ||
| 468 | #define CS2_SW8 SW8_CS2 | ||
| 469 | #define CS3_SW8 SW8_CS3 | ||
| 470 | #define CS4_SW8 SW8_CS4 | ||
| 471 | #define CS5_SW8 SW8_CS5 | ||
| 472 | #define CS6_SW8 SW8_CS6 | ||
| 473 | #define CS7_SW8 SW8_CS7 | ||
| 474 | #define CS8_SW8 SW8_CS8 | ||
| 475 | #define CS9_SW8 SW8_CS9 | ||
| 476 | #define CS10_SW8 SW8_CS10 | ||
| 477 | #define CS11_SW8 SW8_CS11 | ||
| 478 | #define CS12_SW8 SW8_CS12 | ||
| 479 | #define CS13_SW8 SW8_CS13 | ||
| 480 | #define CS14_SW8 SW8_CS14 | ||
| 481 | #define CS15_SW8 SW8_CS15 | ||
| 482 | #define CS16_SW8 SW8_CS16 | ||
| 483 | #define CS17_SW8 SW8_CS17 | ||
| 484 | #define CS18_SW8 SW8_CS18 | ||
| 485 | |||
| 486 | #define CS1_SW9 SW9_CS1 | ||
| 487 | #define CS2_SW9 SW9_CS2 | ||
| 488 | #define CS3_SW9 SW9_CS3 | ||
| 489 | #define CS4_SW9 SW9_CS4 | ||
| 490 | #define CS5_SW9 SW9_CS5 | ||
| 491 | #define CS6_SW9 SW9_CS6 | ||
| 492 | #define CS7_SW9 SW9_CS7 | ||
| 493 | #define CS8_SW9 SW9_CS8 | ||
| 494 | #define CS9_SW9 SW9_CS9 | ||
| 495 | #define CS10_SW9 SW9_CS10 | ||
| 496 | #define CS11_SW9 SW9_CS11 | ||
| 497 | #define CS12_SW9 SW9_CS12 | ||
| 498 | #define CS13_SW9 SW9_CS13 | ||
| 499 | #define CS14_SW9 SW9_CS14 | ||
| 500 | #define CS15_SW9 SW9_CS15 | ||
| 501 | #define CS16_SW9 SW9_CS16 | ||
| 502 | #define CS17_SW9 SW9_CS17 | ||
| 503 | #define CS18_SW9 SW9_CS18 | ||
| 504 | |||
| 505 | #define CS1_SW10 SW10_CS1 | ||
| 506 | #define CS2_SW10 SW10_CS2 | ||
| 507 | #define CS3_SW10 SW10_CS3 | ||
| 508 | #define CS4_SW10 SW10_CS4 | ||
| 509 | #define CS5_SW10 SW10_CS5 | ||
| 510 | #define CS6_SW10 SW10_CS6 | ||
| 511 | #define CS7_SW10 SW10_CS7 | ||
| 512 | #define CS8_SW10 SW10_CS8 | ||
| 513 | #define CS9_SW10 SW10_CS9 | ||
| 514 | #define CS10_SW10 SW10_CS10 | ||
| 515 | #define CS11_SW10 SW10_CS11 | ||
| 516 | #define CS12_SW10 SW10_CS12 | ||
| 517 | #define CS13_SW10 SW10_CS13 | ||
| 518 | #define CS14_SW10 SW10_CS14 | ||
| 519 | #define CS15_SW10 SW10_CS15 | ||
| 520 | #define CS16_SW10 SW10_CS16 | ||
| 521 | #define CS17_SW10 SW10_CS17 | ||
| 522 | #define CS18_SW10 SW10_CS18 | ||
| 523 | |||
| 524 | #define CS1_SW11 SW11_CS1 | ||
| 525 | #define CS2_SW11 SW11_CS2 | ||
| 526 | #define CS3_SW11 SW11_CS3 | ||
| 527 | #define CS4_SW11 SW11_CS4 | ||
| 528 | #define CS5_SW11 SW11_CS5 | ||
| 529 | #define CS6_SW11 SW11_CS6 | ||
| 530 | #define CS7_SW11 SW11_CS7 | ||
| 531 | #define CS8_SW11 SW11_CS8 | ||
| 532 | #define CS9_SW11 SW11_CS9 | ||
| 533 | #define CS10_SW11 SW11_CS10 | ||
| 534 | #define CS11_SW11 SW11_CS11 | ||
| 535 | #define CS12_SW11 SW11_CS12 | ||
| 536 | #define CS13_SW11 SW11_CS13 | ||
| 537 | #define CS14_SW11 SW11_CS14 | ||
| 538 | #define CS15_SW11 SW11_CS15 | ||
| 539 | #define CS16_SW11 SW11_CS16 | ||
| 540 | #define CS17_SW11 SW11_CS17 | ||
| 541 | #define CS18_SW11 SW11_CS18 | ||
diff --git a/drivers/led/issi/is31fl3745-mono.h b/drivers/led/issi/is31fl3745-mono.h index 02d926cd7d..29a13004c8 100644 --- a/drivers/led/issi/is31fl3745-mono.h +++ b/drivers/led/issi/is31fl3745-mono.h | |||
| @@ -118,154 +118,154 @@ void is31fl3745_flush(void); | |||
| 118 | #define IS31FL3745_SYNC_SLAVE 0b10 | 118 | #define IS31FL3745_SYNC_SLAVE 0b10 |
| 119 | #define IS31FL3745_SYNC_MASTER 0b11 | 119 | #define IS31FL3745_SYNC_MASTER 0b11 |
| 120 | 120 | ||
| 121 | #define CS1_SW1 0x00 | 121 | #define SW1_CS1 0x00 |
| 122 | #define CS2_SW1 0x01 | 122 | #define SW1_CS2 0x01 |
| 123 | #define CS3_SW1 0x02 | 123 | #define SW1_CS3 0x02 |
| 124 | #define CS4_SW1 0x03 | 124 | #define SW1_CS4 0x03 |
| 125 | #define CS5_SW1 0x04 | 125 | #define SW1_CS5 0x04 |
| 126 | #define CS6_SW1 0x05 | 126 | #define SW1_CS6 0x05 |
| 127 | #define CS7_SW1 0x06 | 127 | #define SW1_CS7 0x06 |
| 128 | #define CS8_SW1 0x07 | 128 | #define SW1_CS8 0x07 |
| 129 | #define CS9_SW1 0x08 | 129 | #define SW1_CS9 0x08 |
| 130 | #define CS10_SW1 0x09 | 130 | #define SW1_CS10 0x09 |
| 131 | #define CS11_SW1 0x0A | 131 | #define SW1_CS11 0x0A |
| 132 | #define CS12_SW1 0x0B | 132 | #define SW1_CS12 0x0B |
| 133 | #define CS13_SW1 0x0C | 133 | #define SW1_CS13 0x0C |
| 134 | #define CS14_SW1 0x0D | 134 | #define SW1_CS14 0x0D |
| 135 | #define CS15_SW1 0x0E | 135 | #define SW1_CS15 0x0E |
| 136 | #define CS16_SW1 0x0F | 136 | #define SW1_CS16 0x0F |
| 137 | #define CS17_SW1 0x10 | 137 | #define SW1_CS17 0x10 |
| 138 | #define CS18_SW1 0x11 | 138 | #define SW1_CS18 0x11 |
| 139 | 139 | ||
| 140 | #define CS1_SW2 0x12 | 140 | #define SW2_CS1 0x12 |
| 141 | #define CS2_SW2 0x13 | 141 | #define SW2_CS2 0x13 |
| 142 | #define CS3_SW2 0x14 | 142 | #define SW2_CS3 0x14 |
| 143 | #define CS4_SW2 0x15 | 143 | #define SW2_CS4 0x15 |
| 144 | #define CS5_SW2 0x16 | 144 | #define SW2_CS5 0x16 |
| 145 | #define CS6_SW2 0x17 | 145 | #define SW2_CS6 0x17 |
| 146 | #define CS7_SW2 0x18 | 146 | #define SW2_CS7 0x18 |
| 147 | #define CS8_SW2 0x19 | 147 | #define SW2_CS8 0x19 |
| 148 | #define CS9_SW2 0x1A | 148 | #define SW2_CS9 0x1A |
| 149 | #define CS10_SW2 0x1B | 149 | #define SW2_CS10 0x1B |
| 150 | #define CS11_SW2 0x1C | 150 | #define SW2_CS11 0x1C |
| 151 | #define CS12_SW2 0x1D | 151 | #define SW2_CS12 0x1D |
| 152 | #define CS13_SW2 0x1E | 152 | #define SW2_CS13 0x1E |
| 153 | #define CS14_SW2 0x1F | 153 | #define SW2_CS14 0x1F |
| 154 | #define CS15_SW2 0x20 | 154 | #define SW2_CS15 0x20 |
| 155 | #define CS16_SW2 0x21 | 155 | #define SW2_CS16 0x21 |
| 156 | #define CS17_SW2 0x22 | 156 | #define SW2_CS17 0x22 |
| 157 | #define CS18_SW2 0x23 | 157 | #define SW2_CS18 0x23 |
| 158 | 158 | ||
| 159 | #define CS1_SW3 0x24 | 159 | #define SW3_CS1 0x24 |
| 160 | #define CS2_SW3 0x25 | 160 | #define SW3_CS2 0x25 |
| 161 | #define CS3_SW3 0x26 | 161 | #define SW3_CS3 0x26 |
| 162 | #define CS4_SW3 0x27 | 162 | #define SW3_CS4 0x27 |
| 163 | #define CS5_SW3 0x28 | 163 | #define SW3_CS5 0x28 |
| 164 | #define CS6_SW3 0x29 | 164 | #define SW3_CS6 0x29 |
| 165 | #define CS7_SW3 0x2A | 165 | #define SW3_CS7 0x2A |
| 166 | #define CS8_SW3 0x2B | 166 | #define SW3_CS8 0x2B |
| 167 | #define CS9_SW3 0x2C | 167 | #define SW3_CS9 0x2C |
| 168 | #define CS10_SW3 0x2D | 168 | #define SW3_CS10 0x2D |
| 169 | #define CS11_SW3 0x2E | 169 | #define SW3_CS11 0x2E |
| 170 | #define CS12_SW3 0x2F | 170 | #define SW3_CS12 0x2F |
| 171 | #define CS13_SW3 0x30 | 171 | #define SW3_CS13 0x30 |
| 172 | #define CS14_SW3 0x31 | 172 | #define SW3_CS14 0x31 |
| 173 | #define CS15_SW3 0x32 | 173 | #define SW3_CS15 0x32 |
| 174 | #define CS16_SW3 0x33 | 174 | #define SW3_CS16 0x33 |
| 175 | #define CS17_SW3 0x34 | 175 | #define SW3_CS17 0x34 |
| 176 | #define CS18_SW3 0x35 | 176 | #define SW3_CS18 0x35 |
| 177 | 177 | ||
| 178 | #define CS1_SW4 0x36 | 178 | #define SW4_CS1 0x36 |
| 179 | #define CS2_SW4 0x37 | 179 | #define SW4_CS2 0x37 |
| 180 | #define CS3_SW4 0x38 | 180 | #define SW4_CS3 0x38 |
| 181 | #define CS4_SW4 0x39 | 181 | #define SW4_CS4 0x39 |
| 182 | #define CS5_SW4 0x3A | 182 | #define SW4_CS5 0x3A |
| 183 | #define CS6_SW4 0x3B | 183 | #define SW4_CS6 0x3B |
| 184 | #define CS7_SW4 0x3C | 184 | #define SW4_CS7 0x3C |
| 185 | #define CS8_SW4 0x3D | 185 | #define SW4_CS8 0x3D |
| 186 | #define CS9_SW4 0x3E | 186 | #define SW4_CS9 0x3E |
| 187 | #define CS10_SW4 0x3F | 187 | #define SW4_CS10 0x3F |
| 188 | #define CS11_SW4 0x40 | 188 | #define SW4_CS11 0x40 |
| 189 | #define CS12_SW4 0x41 | 189 | #define SW4_CS12 0x41 |
| 190 | #define CS13_SW4 0x42 | 190 | #define SW4_CS13 0x42 |
| 191 | #define CS14_SW4 0x43 | 191 | #define SW4_CS14 0x43 |
| 192 | #define CS15_SW4 0x44 | 192 | #define SW4_CS15 0x44 |
| 193 | #define CS16_SW4 0x45 | 193 | #define SW4_CS16 0x45 |
| 194 | #define CS17_SW4 0x46 | 194 | #define SW4_CS17 0x46 |
| 195 | #define CS18_SW4 0x47 | 195 | #define SW4_CS18 0x47 |
| 196 | 196 | ||
| 197 | #define CS1_SW5 0x48 | 197 | #define SW5_CS1 0x48 |
| 198 | #define CS2_SW5 0x49 | 198 | #define SW5_CS2 0x49 |
| 199 | #define CS3_SW5 0x4A | 199 | #define SW5_CS3 0x4A |
| 200 | #define CS4_SW5 0x4B | 200 | #define SW5_CS4 0x4B |
| 201 | #define CS5_SW5 0x4C | 201 | #define SW5_CS5 0x4C |
| 202 | #define CS6_SW5 0x4D | 202 | #define SW5_CS6 0x4D |
| 203 | #define CS7_SW5 0x4E | 203 | #define SW5_CS7 0x4E |
| 204 | #define CS8_SW5 0x4F | 204 | #define SW5_CS8 0x4F |
| 205 | #define CS9_SW5 0x50 | 205 | #define SW5_CS9 0x50 |
| 206 | #define CS10_SW5 0x51 | 206 | #define SW5_CS10 0x51 |
| 207 | #define CS11_SW5 0x52 | 207 | #define SW5_CS11 0x52 |
| 208 | #define CS12_SW5 0x53 | 208 | #define SW5_CS12 0x53 |
| 209 | #define CS13_SW5 0x54 | 209 | #define SW5_CS13 0x54 |
| 210 | #define CS14_SW5 0x55 | 210 | #define SW5_CS14 0x55 |
| 211 | #define CS15_SW5 0x56 | 211 | #define SW5_CS15 0x56 |
| 212 | #define CS16_SW5 0x57 | 212 | #define SW5_CS16 0x57 |
| 213 | #define CS17_SW5 0x58 | 213 | #define SW5_CS17 0x58 |
| 214 | #define CS18_SW5 0x59 | 214 | #define SW5_CS18 0x59 |
| 215 | 215 | ||
| 216 | #define CS1_SW6 0x5A | 216 | #define SW6_CS1 0x5A |
| 217 | #define CS2_SW6 0x5B | 217 | #define SW6_CS2 0x5B |
| 218 | #define CS3_SW6 0x5C | 218 | #define SW6_CS3 0x5C |
| 219 | #define CS4_SW6 0x5D | 219 | #define SW6_CS4 0x5D |
| 220 | #define CS5_SW6 0x5E | 220 | #define SW6_CS5 0x5E |
| 221 | #define CS6_SW6 0x5F | 221 | #define SW6_CS6 0x5F |
| 222 | #define CS7_SW6 0x60 | 222 | #define SW6_CS7 0x60 |
| 223 | #define CS8_SW6 0x61 | 223 | #define SW6_CS8 0x61 |
| 224 | #define CS9_SW6 0x62 | 224 | #define SW6_CS9 0x62 |
| 225 | #define CS10_SW6 0x63 | 225 | #define SW6_CS10 0x63 |
| 226 | #define CS11_SW6 0x64 | 226 | #define SW6_CS11 0x64 |
| 227 | #define CS12_SW6 0x65 | 227 | #define SW6_CS12 0x65 |
| 228 | #define CS13_SW6 0x66 | 228 | #define SW6_CS13 0x66 |
| 229 | #define CS14_SW6 0x67 | 229 | #define SW6_CS14 0x67 |
| 230 | #define CS15_SW6 0x68 | 230 | #define SW6_CS15 0x68 |
| 231 | #define CS16_SW6 0x69 | 231 | #define SW6_CS16 0x69 |
| 232 | #define CS17_SW6 0x6A | 232 | #define SW6_CS17 0x6A |
| 233 | #define CS18_SW6 0x6B | 233 | #define SW6_CS18 0x6B |
| 234 | 234 | ||
| 235 | #define CS1_SW7 0x6C | 235 | #define SW7_CS1 0x6C |
| 236 | #define CS2_SW7 0x6D | 236 | #define SW7_CS2 0x6D |
| 237 | #define CS3_SW7 0x6E | 237 | #define SW7_CS3 0x6E |
| 238 | #define CS4_SW7 0x6F | 238 | #define SW7_CS4 0x6F |
| 239 | #define CS5_SW7 0x70 | 239 | #define SW7_CS5 0x70 |
| 240 | #define CS6_SW7 0x71 | 240 | #define SW7_CS6 0x71 |
| 241 | #define CS7_SW7 0x72 | 241 | #define SW7_CS7 0x72 |
| 242 | #define CS8_SW7 0x73 | 242 | #define SW7_CS8 0x73 |
| 243 | #define CS9_SW7 0x74 | 243 | #define SW7_CS9 0x74 |
| 244 | #define CS10_SW7 0x75 | 244 | #define SW7_CS10 0x75 |
| 245 | #define CS11_SW7 0x76 | 245 | #define SW7_CS11 0x76 |
| 246 | #define CS12_SW7 0x77 | 246 | #define SW7_CS12 0x77 |
| 247 | #define CS13_SW7 0x78 | 247 | #define SW7_CS13 0x78 |
| 248 | #define CS14_SW7 0x79 | 248 | #define SW7_CS14 0x79 |
| 249 | #define CS15_SW7 0x7A | 249 | #define SW7_CS15 0x7A |
| 250 | #define CS16_SW7 0x7B | 250 | #define SW7_CS16 0x7B |
| 251 | #define CS17_SW7 0x7C | 251 | #define SW7_CS17 0x7C |
| 252 | #define CS18_SW7 0x7D | 252 | #define SW7_CS18 0x7D |
| 253 | 253 | ||
| 254 | #define CS1_SW8 0x7E | 254 | #define SW8_CS1 0x7E |
| 255 | #define CS2_SW8 0x7F | 255 | #define SW8_CS2 0x7F |
| 256 | #define CS3_SW8 0x80 | 256 | #define SW8_CS3 0x80 |
| 257 | #define CS4_SW8 0x81 | 257 | #define SW8_CS4 0x81 |
| 258 | #define CS5_SW8 0x82 | 258 | #define SW8_CS5 0x82 |
| 259 | #define CS6_SW8 0x83 | 259 | #define SW8_CS6 0x83 |
| 260 | #define CS7_SW8 0x84 | 260 | #define SW8_CS7 0x84 |
| 261 | #define CS8_SW8 0x85 | 261 | #define SW8_CS8 0x85 |
| 262 | #define CS9_SW8 0x86 | 262 | #define SW8_CS9 0x86 |
| 263 | #define CS10_SW8 0x87 | 263 | #define SW8_CS10 0x87 |
| 264 | #define CS11_SW8 0x88 | 264 | #define SW8_CS11 0x88 |
| 265 | #define CS12_SW8 0x89 | 265 | #define SW8_CS12 0x89 |
| 266 | #define CS13_SW8 0x8A | 266 | #define SW8_CS13 0x8A |
| 267 | #define CS14_SW8 0x8B | 267 | #define SW8_CS14 0x8B |
| 268 | #define CS15_SW8 0x8C | 268 | #define SW8_CS15 0x8C |
| 269 | #define CS16_SW8 0x8D | 269 | #define SW8_CS16 0x8D |
| 270 | #define CS17_SW8 0x8E | 270 | #define SW8_CS17 0x8E |
| 271 | #define CS18_SW8 0x8F | 271 | #define SW8_CS18 0x8F |
diff --git a/drivers/led/issi/is31fl3745.h b/drivers/led/issi/is31fl3745.h index 264f4f9c74..be50dd2cd9 100644 --- a/drivers/led/issi/is31fl3745.h +++ b/drivers/led/issi/is31fl3745.h | |||
| @@ -120,154 +120,154 @@ void is31fl3745_flush(void); | |||
| 120 | #define IS31FL3745_SYNC_SLAVE 0b10 | 120 | #define IS31FL3745_SYNC_SLAVE 0b10 |
| 121 | #define IS31FL3745_SYNC_MASTER 0b11 | 121 | #define IS31FL3745_SYNC_MASTER 0b11 |
| 122 | 122 | ||
| 123 | #define CS1_SW1 0x00 | 123 | #define SW1_CS1 0x00 |
| 124 | #define CS2_SW1 0x01 | 124 | #define SW1_CS2 0x01 |
| 125 | #define CS3_SW1 0x02 | 125 | #define SW1_CS3 0x02 |
| 126 | #define CS4_SW1 0x03 | 126 | #define SW1_CS4 0x03 |
| 127 | #define CS5_SW1 0x04 | 127 | #define SW1_CS5 0x04 |
| 128 | #define CS6_SW1 0x05 | 128 | #define SW1_CS6 0x05 |
| 129 | #define CS7_SW1 0x06 | 129 | #define SW1_CS7 0x06 |
| 130 | #define CS8_SW1 0x07 | 130 | #define SW1_CS8 0x07 |
| 131 | #define CS9_SW1 0x08 | 131 | #define SW1_CS9 0x08 |
| 132 | #define CS10_SW1 0x09 | 132 | #define SW1_CS10 0x09 |
| 133 | #define CS11_SW1 0x0A | 133 | #define SW1_CS11 0x0A |
| 134 | #define CS12_SW1 0x0B | 134 | #define SW1_CS12 0x0B |
| 135 | #define CS13_SW1 0x0C | 135 | #define SW1_CS13 0x0C |
| 136 | #define CS14_SW1 0x0D | 136 | #define SW1_CS14 0x0D |
| 137 | #define CS15_SW1 0x0E | 137 | #define SW1_CS15 0x0E |
| 138 | #define CS16_SW1 0x0F | 138 | #define SW1_CS16 0x0F |
| 139 | #define CS17_SW1 0x10 | 139 | #define SW1_CS17 0x10 |
| 140 | #define CS18_SW1 0x11 | 140 | #define SW1_CS18 0x11 |
| 141 | 141 | ||
| 142 | #define CS1_SW2 0x12 | 142 | #define SW2_CS1 0x12 |
| 143 | #define CS2_SW2 0x13 | 143 | #define SW2_CS2 0x13 |
| 144 | #define CS3_SW2 0x14 | 144 | #define SW2_CS3 0x14 |
| 145 | #define CS4_SW2 0x15 | 145 | #define SW2_CS4 0x15 |
| 146 | #define CS5_SW2 0x16 | 146 | #define SW2_CS5 0x16 |
| 147 | #define CS6_SW2 0x17 | 147 | #define SW2_CS6 0x17 |
| 148 | #define CS7_SW2 0x18 | 148 | #define SW2_CS7 0x18 |
| 149 | #define CS8_SW2 0x19 | 149 | #define SW2_CS8 0x19 |
| 150 | #define CS9_SW2 0x1A | 150 | #define SW2_CS9 0x1A |
| 151 | #define CS10_SW2 0x1B | 151 | #define SW2_CS10 0x1B |
| 152 | #define CS11_SW2 0x1C | 152 | #define SW2_CS11 0x1C |
| 153 | #define CS12_SW2 0x1D | 153 | #define SW2_CS12 0x1D |
| 154 | #define CS13_SW2 0x1E | 154 | #define SW2_CS13 0x1E |
| 155 | #define CS14_SW2 0x1F | 155 | #define SW2_CS14 0x1F |
| 156 | #define CS15_SW2 0x20 | 156 | #define SW2_CS15 0x20 |
| 157 | #define CS16_SW2 0x21 | 157 | #define SW2_CS16 0x21 |
| 158 | #define CS17_SW2 0x22 | 158 | #define SW2_CS17 0x22 |
| 159 | #define CS18_SW2 0x23 | 159 | #define SW2_CS18 0x23 |
| 160 | 160 | ||
| 161 | #define CS1_SW3 0x24 | 161 | #define SW3_CS1 0x24 |
| 162 | #define CS2_SW3 0x25 | 162 | #define SW3_CS2 0x25 |
| 163 | #define CS3_SW3 0x26 | 163 | #define SW3_CS3 0x26 |
| 164 | #define CS4_SW3 0x27 | 164 | #define SW3_CS4 0x27 |
| 165 | #define CS5_SW3 0x28 | 165 | #define SW3_CS5 0x28 |
| 166 | #define CS6_SW3 0x29 | 166 | #define SW3_CS6 0x29 |
| 167 | #define CS7_SW3 0x2A | 167 | #define SW3_CS7 0x2A |
| 168 | #define CS8_SW3 0x2B | 168 | #define SW3_CS8 0x2B |
| 169 | #define CS9_SW3 0x2C | 169 | #define SW3_CS9 0x2C |
| 170 | #define CS10_SW3 0x2D | 170 | #define SW3_CS10 0x2D |
| 171 | #define CS11_SW3 0x2E | 171 | #define SW3_CS11 0x2E |
| 172 | #define CS12_SW3 0x2F | 172 | #define SW3_CS12 0x2F |
| 173 | #define CS13_SW3 0x30 | 173 | #define SW3_CS13 0x30 |
| 174 | #define CS14_SW3 0x31 | 174 | #define SW3_CS14 0x31 |
| 175 | #define CS15_SW3 0x32 | 175 | #define SW3_CS15 0x32 |
| 176 | #define CS16_SW3 0x33 | 176 | #define SW3_CS16 0x33 |
| 177 | #define CS17_SW3 0x34 | 177 | #define SW3_CS17 0x34 |
| 178 | #define CS18_SW3 0x35 | 178 | #define SW3_CS18 0x35 |
| 179 | 179 | ||
| 180 | #define CS1_SW4 0x36 | 180 | #define SW4_CS1 0x36 |
| 181 | #define CS2_SW4 0x37 | 181 | #define SW4_CS2 0x37 |
| 182 | #define CS3_SW4 0x38 | 182 | #define SW4_CS3 0x38 |
| 183 | #define CS4_SW4 0x39 | 183 | #define SW4_CS4 0x39 |
| 184 | #define CS5_SW4 0x3A | 184 | #define SW4_CS5 0x3A |
| 185 | #define CS6_SW4 0x3B | 185 | #define SW4_CS6 0x3B |
| 186 | #define CS7_SW4 0x3C | 186 | #define SW4_CS7 0x3C |
| 187 | #define CS8_SW4 0x3D | 187 | #define SW4_CS8 0x3D |
| 188 | #define CS9_SW4 0x3E | 188 | #define SW4_CS9 0x3E |
| 189 | #define CS10_SW4 0x3F | 189 | #define SW4_CS10 0x3F |
| 190 | #define CS11_SW4 0x40 | 190 | #define SW4_CS11 0x40 |
| 191 | #define CS12_SW4 0x41 | 191 | #define SW4_CS12 0x41 |
| 192 | #define CS13_SW4 0x42 | 192 | #define SW4_CS13 0x42 |
| 193 | #define CS14_SW4 0x43 | 193 | #define SW4_CS14 0x43 |
| 194 | #define CS15_SW4 0x44 | 194 | #define SW4_CS15 0x44 |
| 195 | #define CS16_SW4 0x45 | 195 | #define SW4_CS16 0x45 |
| 196 | #define CS17_SW4 0x46 | 196 | #define SW4_CS17 0x46 |
| 197 | #define CS18_SW4 0x47 | 197 | #define SW4_CS18 0x47 |
| 198 | 198 | ||
| 199 | #define CS1_SW5 0x48 | 199 | #define SW5_CS1 0x48 |
| 200 | #define CS2_SW5 0x49 | 200 | #define SW5_CS2 0x49 |
| 201 | #define CS3_SW5 0x4A | 201 | #define SW5_CS3 0x4A |
| 202 | #define CS4_SW5 0x4B | 202 | #define SW5_CS4 0x4B |
| 203 | #define CS5_SW5 0x4C | 203 | #define SW5_CS5 0x4C |
| 204 | #define CS6_SW5 0x4D | 204 | #define SW5_CS6 0x4D |
| 205 | #define CS7_SW5 0x4E | 205 | #define SW5_CS7 0x4E |
| 206 | #define CS8_SW5 0x4F | 206 | #define SW5_CS8 0x4F |
| 207 | #define CS9_SW5 0x50 | 207 | #define SW5_CS9 0x50 |
| 208 | #define CS10_SW5 0x51 | 208 | #define SW5_CS10 0x51 |
| 209 | #define CS11_SW5 0x52 | 209 | #define SW5_CS11 0x52 |
| 210 | #define CS12_SW5 0x53 | 210 | #define SW5_CS12 0x53 |
| 211 | #define CS13_SW5 0x54 | 211 | #define SW5_CS13 0x54 |
| 212 | #define CS14_SW5 0x55 | 212 | #define SW5_CS14 0x55 |
| 213 | #define CS15_SW5 0x56 | 213 | #define SW5_CS15 0x56 |
| 214 | #define CS16_SW5 0x57 | 214 | #define SW5_CS16 0x57 |
| 215 | #define CS17_SW5 0x58 | 215 | #define SW5_CS17 0x58 |
| 216 | #define CS18_SW5 0x59 | 216 | #define SW5_CS18 0x59 |
| 217 | 217 | ||
| 218 | #define CS1_SW6 0x5A | 218 | #define SW6_CS1 0x5A |
| 219 | #define CS2_SW6 0x5B | 219 | #define SW6_CS2 0x5B |
| 220 | #define CS3_SW6 0x5C | 220 | #define SW6_CS3 0x5C |
| 221 | #define CS4_SW6 0x5D | 221 | #define SW6_CS4 0x5D |
| 222 | #define CS5_SW6 0x5E | 222 | #define SW6_CS5 0x5E |
| 223 | #define CS6_SW6 0x5F | 223 | #define SW6_CS6 0x5F |
| 224 | #define CS7_SW6 0x60 | 224 | #define SW6_CS7 0x60 |
| 225 | #define CS8_SW6 0x61 | 225 | #define SW6_CS8 0x61 |
| 226 | #define CS9_SW6 0x62 | 226 | #define SW6_CS9 0x62 |
| 227 | #define CS10_SW6 0x63 | 227 | #define SW6_CS10 0x63 |
| 228 | #define CS11_SW6 0x64 | 228 | #define SW6_CS11 0x64 |
| 229 | #define CS12_SW6 0x65 | 229 | #define SW6_CS12 0x65 |
| 230 | #define CS13_SW6 0x66 | 230 | #define SW6_CS13 0x66 |
| 231 | #define CS14_SW6 0x67 | 231 | #define SW6_CS14 0x67 |
| 232 | #define CS15_SW6 0x68 | 232 | #define SW6_CS15 0x68 |
| 233 | #define CS16_SW6 0x69 | 233 | #define SW6_CS16 0x69 |
| 234 | #define CS17_SW6 0x6A | 234 | #define SW6_CS17 0x6A |
| 235 | #define CS18_SW6 0x6B | 235 | #define SW6_CS18 0x6B |
| 236 | 236 | ||
| 237 | #define CS1_SW7 0x6C | 237 | #define SW7_CS1 0x6C |
| 238 | #define CS2_SW7 0x6D | 238 | #define SW7_CS2 0x6D |
| 239 | #define CS3_SW7 0x6E | 239 | #define SW7_CS3 0x6E |
| 240 | #define CS4_SW7 0x6F | 240 | #define SW7_CS4 0x6F |
| 241 | #define CS5_SW7 0x70 | 241 | #define SW7_CS5 0x70 |
| 242 | #define CS6_SW7 0x71 | 242 | #define SW7_CS6 0x71 |
| 243 | #define CS7_SW7 0x72 | 243 | #define SW7_CS7 0x72 |
| 244 | #define CS8_SW7 0x73 | 244 | #define SW7_CS8 0x73 |
| 245 | #define CS9_SW7 0x74 | 245 | #define SW7_CS9 0x74 |
| 246 | #define CS10_SW7 0x75 | 246 | #define SW7_CS10 0x75 |
| 247 | #define CS11_SW7 0x76 | 247 | #define SW7_CS11 0x76 |
| 248 | #define CS12_SW7 0x77 | 248 | #define SW7_CS12 0x77 |
| 249 | #define CS13_SW7 0x78 | 249 | #define SW7_CS13 0x78 |
| 250 | #define CS14_SW7 0x79 | 250 | #define SW7_CS14 0x79 |
| 251 | #define CS15_SW7 0x7A | 251 | #define SW7_CS15 0x7A |
| 252 | #define CS16_SW7 0x7B | 252 | #define SW7_CS16 0x7B |
| 253 | #define CS17_SW7 0x7C | 253 | #define SW7_CS17 0x7C |
| 254 | #define CS18_SW7 0x7D | 254 | #define SW7_CS18 0x7D |
| 255 | 255 | ||
| 256 | #define CS1_SW8 0x7E | 256 | #define SW8_CS1 0x7E |
| 257 | #define CS2_SW8 0x7F | 257 | #define SW8_CS2 0x7F |
| 258 | #define CS3_SW8 0x80 | 258 | #define SW8_CS3 0x80 |
| 259 | #define CS4_SW8 0x81 | 259 | #define SW8_CS4 0x81 |
| 260 | #define CS5_SW8 0x82 | 260 | #define SW8_CS5 0x82 |
| 261 | #define CS6_SW8 0x83 | 261 | #define SW8_CS6 0x83 |
| 262 | #define CS7_SW8 0x84 | 262 | #define SW8_CS7 0x84 |
| 263 | #define CS8_SW8 0x85 | 263 | #define SW8_CS8 0x85 |
| 264 | #define CS9_SW8 0x86 | 264 | #define SW8_CS9 0x86 |
| 265 | #define CS10_SW8 0x87 | 265 | #define SW8_CS10 0x87 |
| 266 | #define CS11_SW8 0x88 | 266 | #define SW8_CS11 0x88 |
| 267 | #define CS12_SW8 0x89 | 267 | #define SW8_CS12 0x89 |
| 268 | #define CS13_SW8 0x8A | 268 | #define SW8_CS13 0x8A |
| 269 | #define CS14_SW8 0x8B | 269 | #define SW8_CS14 0x8B |
| 270 | #define CS15_SW8 0x8C | 270 | #define SW8_CS15 0x8C |
| 271 | #define CS16_SW8 0x8D | 271 | #define SW8_CS16 0x8D |
| 272 | #define CS17_SW8 0x8E | 272 | #define SW8_CS17 0x8E |
| 273 | #define CS18_SW8 0x8F | 273 | #define SW8_CS18 0x8F |
diff --git a/drivers/led/issi/is31fl3746a-mono.h b/drivers/led/issi/is31fl3746a-mono.h index 1fa1a1e520..295599cbcf 100644 --- a/drivers/led/issi/is31fl3746a-mono.h +++ b/drivers/led/issi/is31fl3746a-mono.h | |||
| @@ -124,78 +124,78 @@ void is31fl3746a_flush(void); | |||
| 124 | #define IS31FL3746A_PWM_FREQUENCY_906_HZ 0b101 | 124 | #define IS31FL3746A_PWM_FREQUENCY_906_HZ 0b101 |
| 125 | #define IS31FL3746A_PWM_FREQUENCY_453_HZ 0b110 | 125 | #define IS31FL3746A_PWM_FREQUENCY_453_HZ 0b110 |
| 126 | 126 | ||
| 127 | #define CS1_SW1 0x00 | 127 | #define SW1_CS1 0x00 |
| 128 | #define CS2_SW1 0x01 | 128 | #define SW1_CS2 0x01 |
| 129 | #define CS3_SW1 0x02 | 129 | #define SW1_CS3 0x02 |
| 130 | #define CS4_SW1 0x03 | 130 | #define SW1_CS4 0x03 |
| 131 | #define CS5_SW1 0x04 | 131 | #define SW1_CS5 0x04 |
| 132 | #define CS6_SW1 0x05 | 132 | #define SW1_CS6 0x05 |
| 133 | #define CS7_SW1 0x06 | 133 | #define SW1_CS7 0x06 |
| 134 | #define CS8_SW1 0x07 | 134 | #define SW1_CS8 0x07 |
| 135 | #define CS9_SW1 0x08 | 135 | #define SW1_CS9 0x08 |
| 136 | #define CS10_SW1 0x09 | 136 | #define SW1_CS10 0x09 |
| 137 | #define CS11_SW1 0x0A | 137 | #define SW1_CS11 0x0A |
| 138 | #define CS12_SW1 0x0B | 138 | #define SW1_CS12 0x0B |
| 139 | #define CS13_SW1 0x0C | 139 | #define SW1_CS13 0x0C |
| 140 | #define CS14_SW1 0x0D | 140 | #define SW1_CS14 0x0D |
| 141 | #define CS15_SW1 0x0E | 141 | #define SW1_CS15 0x0E |
| 142 | #define CS16_SW1 0x0F | 142 | #define SW1_CS16 0x0F |
| 143 | #define CS17_SW1 0x10 | 143 | #define SW1_CS17 0x10 |
| 144 | #define CS18_SW1 0x11 | 144 | #define SW1_CS18 0x11 |
| 145 | 145 | ||
| 146 | #define CS1_SW2 0x12 | 146 | #define SW2_CS1 0x12 |
| 147 | #define CS2_SW2 0x13 | 147 | #define SW2_CS2 0x13 |
| 148 | #define CS3_SW2 0x14 | 148 | #define SW2_CS3 0x14 |
| 149 | #define CS4_SW2 0x15 | 149 | #define SW2_CS4 0x15 |
| 150 | #define CS5_SW2 0x16 | 150 | #define SW2_CS5 0x16 |
| 151 | #define CS6_SW2 0x17 | 151 | #define SW2_CS6 0x17 |
| 152 | #define CS7_SW2 0x18 | 152 | #define SW2_CS7 0x18 |
| 153 | #define CS8_SW2 0x19 | 153 | #define SW2_CS8 0x19 |
| 154 | #define CS9_SW2 0x1A | 154 | #define SW2_CS9 0x1A |
| 155 | #define CS10_SW2 0x1B | 155 | #define SW2_CS10 0x1B |
| 156 | #define CS11_SW2 0x1C | 156 | #define SW2_CS11 0x1C |
| 157 | #define CS12_SW2 0x1D | 157 | #define SW2_CS12 0x1D |
| 158 | #define CS13_SW2 0x1E | 158 | #define SW2_CS13 0x1E |
| 159 | #define CS14_SW2 0x1F | 159 | #define SW2_CS14 0x1F |
| 160 | #define CS15_SW2 0x20 | 160 | #define SW2_CS15 0x20 |
| 161 | #define CS16_SW2 0x21 | 161 | #define SW2_CS16 0x21 |
| 162 | #define CS17_SW2 0x22 | 162 | #define SW2_CS17 0x22 |
| 163 | #define CS18_SW2 0x23 | 163 | #define SW2_CS18 0x23 |
| 164 | 164 | ||
| 165 | #define CS1_SW3 0x24 | 165 | #define SW3_CS1 0x24 |
| 166 | #define CS2_SW3 0x25 | 166 | #define SW3_CS2 0x25 |
| 167 | #define CS3_SW3 0x26 | 167 | #define SW3_CS3 0x26 |
| 168 | #define CS4_SW3 0x27 | 168 | #define SW3_CS4 0x27 |
| 169 | #define CS5_SW3 0x28 | 169 | #define SW3_CS5 0x28 |
| 170 | #define CS6_SW3 0x29 | 170 | #define SW3_CS6 0x29 |
| 171 | #define CS7_SW3 0x2A | 171 | #define SW3_CS7 0x2A |
| 172 | #define CS8_SW3 0x2B | 172 | #define SW3_CS8 0x2B |
| 173 | #define CS9_SW3 0x2C | 173 | #define SW3_CS9 0x2C |
| 174 | #define CS10_SW3 0x2D | 174 | #define SW3_CS10 0x2D |
| 175 | #define CS11_SW3 0x2E | 175 | #define SW3_CS11 0x2E |
| 176 | #define CS12_SW3 0x2F | 176 | #define SW3_CS12 0x2F |
| 177 | #define CS13_SW3 0x30 | 177 | #define SW3_CS13 0x30 |
| 178 | #define CS14_SW3 0x31 | 178 | #define SW3_CS14 0x31 |
| 179 | #define CS15_SW3 0x32 | 179 | #define SW3_CS15 0x32 |
| 180 | #define CS16_SW3 0x33 | 180 | #define SW3_CS16 0x33 |
| 181 | #define CS17_SW3 0x34 | 181 | #define SW3_CS17 0x34 |
| 182 | #define CS18_SW3 0x35 | 182 | #define SW3_CS18 0x35 |
| 183 | 183 | ||
| 184 | #define CS1_SW4 0x36 | 184 | #define SW4_CS1 0x36 |
| 185 | #define CS2_SW4 0x37 | 185 | #define SW4_CS2 0x37 |
| 186 | #define CS3_SW4 0x38 | 186 | #define SW4_CS3 0x38 |
| 187 | #define CS4_SW4 0x39 | 187 | #define SW4_CS4 0x39 |
| 188 | #define CS5_SW4 0x3A | 188 | #define SW4_CS5 0x3A |
| 189 | #define CS6_SW4 0x3B | 189 | #define SW4_CS6 0x3B |
| 190 | #define CS7_SW4 0x3C | 190 | #define SW4_CS7 0x3C |
| 191 | #define CS8_SW4 0x3D | 191 | #define SW4_CS8 0x3D |
| 192 | #define CS9_SW4 0x3E | 192 | #define SW4_CS9 0x3E |
| 193 | #define CS10_SW4 0x3F | 193 | #define SW4_CS10 0x3F |
| 194 | #define CS11_SW4 0x40 | 194 | #define SW4_CS11 0x40 |
| 195 | #define CS12_SW4 0x41 | 195 | #define SW4_CS12 0x41 |
| 196 | #define CS13_SW4 0x42 | 196 | #define SW4_CS13 0x42 |
| 197 | #define CS14_SW4 0x43 | 197 | #define SW4_CS14 0x43 |
| 198 | #define CS15_SW4 0x44 | 198 | #define SW4_CS15 0x44 |
| 199 | #define CS16_SW4 0x45 | 199 | #define SW4_CS16 0x45 |
| 200 | #define CS17_SW4 0x46 | 200 | #define SW4_CS17 0x46 |
| 201 | #define CS18_SW4 0x47 | 201 | #define SW4_CS18 0x47 |
diff --git a/drivers/led/issi/is31fl3746a.h b/drivers/led/issi/is31fl3746a.h index e3ea2b7bb7..ba435b8f19 100644 --- a/drivers/led/issi/is31fl3746a.h +++ b/drivers/led/issi/is31fl3746a.h | |||
| @@ -126,78 +126,78 @@ void is31fl3746a_flush(void); | |||
| 126 | #define IS31FL3746A_PWM_FREQUENCY_906_HZ 0b101 | 126 | #define IS31FL3746A_PWM_FREQUENCY_906_HZ 0b101 |
| 127 | #define IS31FL3746A_PWM_FREQUENCY_453_HZ 0b110 | 127 | #define IS31FL3746A_PWM_FREQUENCY_453_HZ 0b110 |
| 128 | 128 | ||
| 129 | #define CS1_SW1 0x00 | 129 | #define SW1_CS1 0x00 |
| 130 | #define CS2_SW1 0x01 | 130 | #define SW1_CS2 0x01 |
| 131 | #define CS3_SW1 0x02 | 131 | #define SW1_CS3 0x02 |
| 132 | #define CS4_SW1 0x03 | 132 | #define SW1_CS4 0x03 |
| 133 | #define CS5_SW1 0x04 | 133 | #define SW1_CS5 0x04 |
| 134 | #define CS6_SW1 0x05 | 134 | #define SW1_CS6 0x05 |
| 135 | #define CS7_SW1 0x06 | 135 | #define SW1_CS7 0x06 |
| 136 | #define CS8_SW1 0x07 | 136 | #define SW1_CS8 0x07 |
| 137 | #define CS9_SW1 0x08 | 137 | #define SW1_CS9 0x08 |
| 138 | #define CS10_SW1 0x09 | 138 | #define SW1_CS10 0x09 |
| 139 | #define CS11_SW1 0x0A | 139 | #define SW1_CS11 0x0A |
| 140 | #define CS12_SW1 0x0B | 140 | #define SW1_CS12 0x0B |
| 141 | #define CS13_SW1 0x0C | 141 | #define SW1_CS13 0x0C |
| 142 | #define CS14_SW1 0x0D | 142 | #define SW1_CS14 0x0D |
| 143 | #define CS15_SW1 0x0E | 143 | #define SW1_CS15 0x0E |
| 144 | #define CS16_SW1 0x0F | 144 | #define SW1_CS16 0x0F |
| 145 | #define CS17_SW1 0x10 | 145 | #define SW1_CS17 0x10 |
| 146 | #define CS18_SW1 0x11 | 146 | #define SW1_CS18 0x11 |
| 147 | 147 | ||
| 148 | #define CS1_SW2 0x12 | 148 | #define SW2_CS1 0x12 |
| 149 | #define CS2_SW2 0x13 | 149 | #define SW2_CS2 0x13 |
| 150 | #define CS3_SW2 0x14 | 150 | #define SW2_CS3 0x14 |
| 151 | #define CS4_SW2 0x15 | 151 | #define SW2_CS4 0x15 |
| 152 | #define CS5_SW2 0x16 | 152 | #define SW2_CS5 0x16 |
| 153 | #define CS6_SW2 0x17 | 153 | #define SW2_CS6 0x17 |
| 154 | #define CS7_SW2 0x18 | 154 | #define SW2_CS7 0x18 |
| 155 | #define CS8_SW2 0x19 | 155 | #define SW2_CS8 0x19 |
| 156 | #define CS9_SW2 0x1A | 156 | #define SW2_CS9 0x1A |
| 157 | #define CS10_SW2 0x1B | 157 | #define SW2_CS10 0x1B |
| 158 | #define CS11_SW2 0x1C | 158 | #define SW2_CS11 0x1C |
| 159 | #define CS12_SW2 0x1D | 159 | #define SW2_CS12 0x1D |
| 160 | #define CS13_SW2 0x1E | 160 | #define SW2_CS13 0x1E |
| 161 | #define CS14_SW2 0x1F | 161 | #define SW2_CS14 0x1F |
| 162 | #define CS15_SW2 0x20 | 162 | #define SW2_CS15 0x20 |
| 163 | #define CS16_SW2 0x21 | 163 | #define SW2_CS16 0x21 |
| 164 | #define CS17_SW2 0x22 | 164 | #define SW2_CS17 0x22 |
| 165 | #define CS18_SW2 0x23 | 165 | #define SW2_CS18 0x23 |
| 166 | 166 | ||
| 167 | #define CS1_SW3 0x24 | 167 | #define SW3_CS1 0x24 |
| 168 | #define CS2_SW3 0x25 | 168 | #define SW3_CS2 0x25 |
| 169 | #define CS3_SW3 0x26 | 169 | #define SW3_CS3 0x26 |
| 170 | #define CS4_SW3 0x27 | 170 | #define SW3_CS4 0x27 |
| 171 | #define CS5_SW3 0x28 | 171 | #define SW3_CS5 0x28 |
| 172 | #define CS6_SW3 0x29 | 172 | #define SW3_CS6 0x29 |
| 173 | #define CS7_SW3 0x2A | 173 | #define SW3_CS7 0x2A |
| 174 | #define CS8_SW3 0x2B | 174 | #define SW3_CS8 0x2B |
| 175 | #define CS9_SW3 0x2C | 175 | #define SW3_CS9 0x2C |
| 176 | #define CS10_SW3 0x2D | 176 | #define SW3_CS10 0x2D |
| 177 | #define CS11_SW3 0x2E | 177 | #define SW3_CS11 0x2E |
| 178 | #define CS12_SW3 0x2F | 178 | #define SW3_CS12 0x2F |
| 179 | #define CS13_SW3 0x30 | 179 | #define SW3_CS13 0x30 |
| 180 | #define CS14_SW3 0x31 | 180 | #define SW3_CS14 0x31 |
| 181 | #define CS15_SW3 0x32 | 181 | #define SW3_CS15 0x32 |
| 182 | #define CS16_SW3 0x33 | 182 | #define SW3_CS16 0x33 |
| 183 | #define CS17_SW3 0x34 | 183 | #define SW3_CS17 0x34 |
| 184 | #define CS18_SW3 0x35 | 184 | #define SW3_CS18 0x35 |
| 185 | 185 | ||
| 186 | #define CS1_SW4 0x36 | 186 | #define SW4_CS1 0x36 |
| 187 | #define CS2_SW4 0x37 | 187 | #define SW4_CS2 0x37 |
| 188 | #define CS3_SW4 0x38 | 188 | #define SW4_CS3 0x38 |
| 189 | #define CS4_SW4 0x39 | 189 | #define SW4_CS4 0x39 |
| 190 | #define CS5_SW4 0x3A | 190 | #define SW4_CS5 0x3A |
| 191 | #define CS6_SW4 0x3B | 191 | #define SW4_CS6 0x3B |
| 192 | #define CS7_SW4 0x3C | 192 | #define SW4_CS7 0x3C |
| 193 | #define CS8_SW4 0x3D | 193 | #define SW4_CS8 0x3D |
| 194 | #define CS9_SW4 0x3E | 194 | #define SW4_CS9 0x3E |
| 195 | #define CS10_SW4 0x3F | 195 | #define SW4_CS10 0x3F |
| 196 | #define CS11_SW4 0x40 | 196 | #define SW4_CS11 0x40 |
| 197 | #define CS12_SW4 0x41 | 197 | #define SW4_CS12 0x41 |
| 198 | #define CS13_SW4 0x42 | 198 | #define SW4_CS13 0x42 |
| 199 | #define CS14_SW4 0x43 | 199 | #define SW4_CS14 0x43 |
| 200 | #define CS15_SW4 0x44 | 200 | #define SW4_CS15 0x44 |
| 201 | #define CS16_SW4 0x45 | 201 | #define SW4_CS16 0x45 |
| 202 | #define CS17_SW4 0x46 | 202 | #define SW4_CS17 0x46 |
| 203 | #define CS18_SW4 0x47 | 203 | #define SW4_CS18 0x47 |
diff --git a/drivers/led/snled27351-mono.h b/drivers/led/snled27351-mono.h index a5f3c3578c..43d39934cb 100644 --- a/drivers/led/snled27351-mono.h +++ b/drivers/led/snled27351-mono.h | |||
| @@ -175,206 +175,412 @@ void snled27351_flush(void); | |||
| 175 | void snled27351_sw_return_normal(uint8_t index); | 175 | void snled27351_sw_return_normal(uint8_t index); |
| 176 | void snled27351_sw_shutdown(uint8_t index); | 176 | void snled27351_sw_shutdown(uint8_t index); |
| 177 | 177 | ||
| 178 | #define A_1 0x00 | 178 | #define CB1_CA1 0x00 |
| 179 | #define A_2 0x01 | 179 | #define CB1_CA2 0x01 |
| 180 | #define A_3 0x02 | 180 | #define CB1_CA3 0x02 |
| 181 | #define A_4 0x03 | 181 | #define CB1_CA4 0x03 |
| 182 | #define A_5 0x04 | 182 | #define CB1_CA5 0x04 |
| 183 | #define A_6 0x05 | 183 | #define CB1_CA6 0x05 |
| 184 | #define A_7 0x06 | 184 | #define CB1_CA7 0x06 |
| 185 | #define A_8 0x07 | 185 | #define CB1_CA8 0x07 |
| 186 | #define A_9 0x08 | 186 | #define CB1_CA9 0x08 |
| 187 | #define A_10 0x09 | 187 | #define CB1_CA10 0x09 |
| 188 | #define A_11 0x0A | 188 | #define CB1_CA11 0x0A |
| 189 | #define A_12 0x0B | 189 | #define CB1_CA12 0x0B |
| 190 | #define A_13 0x0C | 190 | #define CB1_CA13 0x0C |
| 191 | #define A_14 0x0D | 191 | #define CB1_CA14 0x0D |
| 192 | #define A_15 0x0E | 192 | #define CB1_CA15 0x0E |
| 193 | #define A_16 0x0F | 193 | #define CB1_CA16 0x0F |
| 194 | 194 | ||
| 195 | #define B_1 0x10 | 195 | #define CB2_CA1 0x10 |
| 196 | #define B_2 0x11 | 196 | #define CB2_CA2 0x11 |
| 197 | #define B_3 0x12 | 197 | #define CB2_CA3 0x12 |
| 198 | #define B_4 0x13 | 198 | #define CB2_CA4 0x13 |
| 199 | #define B_5 0x14 | 199 | #define CB2_CA5 0x14 |
| 200 | #define B_6 0x15 | 200 | #define CB2_CA6 0x15 |
| 201 | #define B_7 0x16 | 201 | #define CB2_CA7 0x16 |
| 202 | #define B_8 0x17 | 202 | #define CB2_CA8 0x17 |
| 203 | #define B_9 0x18 | 203 | #define CB2_CA9 0x18 |
| 204 | #define B_10 0x19 | 204 | #define CB2_CA10 0x19 |
| 205 | #define B_11 0x1A | 205 | #define CB2_CA11 0x1A |
| 206 | #define B_12 0x1B | 206 | #define CB2_CA12 0x1B |
| 207 | #define B_13 0x1C | 207 | #define CB2_CA13 0x1C |
| 208 | #define B_14 0x1D | 208 | #define CB2_CA14 0x1D |
| 209 | #define B_15 0x1E | 209 | #define CB2_CA15 0x1E |
| 210 | #define B_16 0x1F | 210 | #define CB2_CA16 0x1F |
| 211 | 211 | ||
| 212 | #define C_1 0x20 | 212 | #define CB3_CA1 0x20 |
| 213 | #define C_2 0x21 | 213 | #define CB3_CA2 0x21 |
| 214 | #define C_3 0x22 | 214 | #define CB3_CA3 0x22 |
| 215 | #define C_4 0x23 | 215 | #define CB3_CA4 0x23 |
| 216 | #define C_5 0x24 | 216 | #define CB3_CA5 0x24 |
| 217 | #define C_6 0x25 | 217 | #define CB3_CA6 0x25 |
| 218 | #define C_7 0x26 | 218 | #define CB3_CA7 0x26 |
| 219 | #define C_8 0x27 | 219 | #define CB3_CA8 0x27 |
| 220 | #define C_9 0x28 | 220 | #define CB3_CA9 0x28 |
| 221 | #define C_10 0x29 | 221 | #define CB3_CA10 0x29 |
| 222 | #define C_11 0x2A | 222 | #define CB3_CA11 0x2A |
| 223 | #define C_12 0x2B | 223 | #define CB3_CA12 0x2B |
| 224 | #define C_13 0x2C | 224 | #define CB3_CA13 0x2C |
| 225 | #define C_14 0x2D | 225 | #define CB3_CA14 0x2D |
| 226 | #define C_15 0x2E | 226 | #define CB3_CA15 0x2E |
| 227 | #define C_16 0x2F | 227 | #define CB3_CA16 0x2F |
| 228 | 228 | ||
| 229 | #define D_1 0x30 | 229 | #define CB4_CA1 0x30 |
| 230 | #define D_2 0x31 | 230 | #define CB4_CA2 0x31 |
| 231 | #define D_3 0x32 | 231 | #define CB4_CA3 0x32 |
| 232 | #define D_4 0x33 | 232 | #define CB4_CA4 0x33 |
| 233 | #define D_5 0x34 | 233 | #define CB4_CA5 0x34 |
| 234 | #define D_6 0x35 | 234 | #define CB4_CA6 0x35 |
| 235 | #define D_7 0x36 | 235 | #define CB4_CA7 0x36 |
| 236 | #define D_8 0x37 | 236 | #define CB4_CA8 0x37 |
| 237 | #define D_9 0x38 | 237 | #define CB4_CA9 0x38 |
| 238 | #define D_10 0x39 | 238 | #define CB4_CA10 0x39 |
| 239 | #define D_11 0x3A | 239 | #define CB4_CA11 0x3A |
| 240 | #define D_12 0x3B | 240 | #define CB4_CA12 0x3B |
| 241 | #define D_13 0x3C | 241 | #define CB4_CA13 0x3C |
| 242 | #define D_14 0x3D | 242 | #define CB4_CA14 0x3D |
| 243 | #define D_15 0x3E | 243 | #define CB4_CA15 0x3E |
| 244 | #define D_16 0x3F | 244 | #define CB4_CA16 0x3F |
| 245 | 245 | ||
| 246 | #define E_1 0x40 | 246 | #define CB5_CA1 0x40 |
| 247 | #define E_2 0x41 | 247 | #define CB5_CA2 0x41 |
| 248 | #define E_3 0x42 | 248 | #define CB5_CA3 0x42 |
| 249 | #define E_4 0x43 | 249 | #define CB5_CA4 0x43 |
| 250 | #define E_5 0x44 | 250 | #define CB5_CA5 0x44 |
| 251 | #define E_6 0x45 | 251 | #define CB5_CA6 0x45 |
| 252 | #define E_7 0x46 | 252 | #define CB5_CA7 0x46 |
| 253 | #define E_8 0x47 | 253 | #define CB5_CA8 0x47 |
| 254 | #define E_9 0x48 | 254 | #define CB5_CA9 0x48 |
| 255 | #define E_10 0x49 | 255 | #define CB5_CA10 0x49 |
| 256 | #define E_11 0x4A | 256 | #define CB5_CA11 0x4A |
| 257 | #define E_12 0x4B | 257 | #define CB5_CA12 0x4B |
| 258 | #define E_13 0x4C | 258 | #define CB5_CA13 0x4C |
| 259 | #define E_14 0x4D | 259 | #define CB5_CA14 0x4D |
| 260 | #define E_15 0x4E | 260 | #define CB5_CA15 0x4E |
| 261 | #define E_16 0x4F | 261 | #define CB5_CA16 0x4F |
| 262 | 262 | ||
| 263 | #define F_1 0x50 | 263 | #define CB6_CA1 0x50 |
| 264 | #define F_2 0x51 | 264 | #define CB6_CA2 0x51 |
| 265 | #define F_3 0x52 | 265 | #define CB6_CA3 0x52 |
| 266 | #define F_4 0x53 | 266 | #define CB6_CA4 0x53 |
| 267 | #define F_5 0x54 | 267 | #define CB6_CA5 0x54 |
| 268 | #define F_6 0x55 | 268 | #define CB6_CA6 0x55 |
| 269 | #define F_7 0x56 | 269 | #define CB6_CA7 0x56 |
| 270 | #define F_8 0x57 | 270 | #define CB6_CA8 0x57 |
| 271 | #define F_9 0x58 | 271 | #define CB6_CA9 0x58 |
| 272 | #define F_10 0x59 | 272 | #define CB6_CA10 0x59 |
| 273 | #define F_11 0x5A | 273 | #define CB6_CA11 0x5A |
| 274 | #define F_12 0x5B | 274 | #define CB6_CA12 0x5B |
| 275 | #define F_13 0x5C | 275 | #define CB6_CA13 0x5C |
| 276 | #define F_14 0x5D | 276 | #define CB6_CA14 0x5D |
| 277 | #define F_15 0x5E | 277 | #define CB6_CA15 0x5E |
| 278 | #define F_16 0x5F | 278 | #define CB6_CA16 0x5F |
| 279 | 279 | ||
| 280 | #define G_1 0x60 | 280 | #define CB7_CA1 0x60 |
| 281 | #define G_2 0x61 | 281 | #define CB7_CA2 0x61 |
| 282 | #define G_3 0x62 | 282 | #define CB7_CA3 0x62 |
| 283 | #define G_4 0x63 | 283 | #define CB7_CA4 0x63 |
| 284 | #define G_5 0x64 | 284 | #define CB7_CA5 0x64 |
| 285 | #define G_6 0x65 | 285 | #define CB7_CA6 0x65 |
| 286 | #define G_7 0x66 | 286 | #define CB7_CA7 0x66 |
| 287 | #define G_8 0x67 | 287 | #define CB7_CA8 0x67 |
| 288 | #define G_9 0x68 | 288 | #define CB7_CA9 0x68 |
| 289 | #define G_10 0x69 | 289 | #define CB7_CA10 0x69 |
| 290 | #define G_11 0x6A | 290 | #define CB7_CA11 0x6A |
| 291 | #define G_12 0x6B | 291 | #define CB7_CA12 0x6B |
| 292 | #define G_13 0x6C | 292 | #define CB7_CA13 0x6C |
| 293 | #define G_14 0x6D | 293 | #define CB7_CA14 0x6D |
| 294 | #define G_15 0x6E | 294 | #define CB7_CA15 0x6E |
| 295 | #define G_16 0x6F | 295 | #define CB7_CA16 0x6F |
| 296 | 296 | ||
| 297 | #define H_1 0x70 | 297 | #define CB8_CA1 0x70 |
| 298 | #define H_2 0x71 | 298 | #define CB8_CA2 0x71 |
| 299 | #define H_3 0x72 | 299 | #define CB8_CA3 0x72 |
| 300 | #define H_4 0x73 | 300 | #define CB8_CA4 0x73 |
| 301 | #define H_5 0x74 | 301 | #define CB8_CA5 0x74 |
| 302 | #define H_6 0x75 | 302 | #define CB8_CA6 0x75 |
| 303 | #define H_7 0x76 | 303 | #define CB8_CA7 0x76 |
| 304 | #define H_8 0x77 | 304 | #define CB8_CA8 0x77 |
| 305 | #define H_9 0x78 | 305 | #define CB8_CA9 0x78 |
| 306 | #define H_10 0x79 | 306 | #define CB8_CA10 0x79 |
| 307 | #define H_11 0x7A | 307 | #define CB8_CA11 0x7A |
| 308 | #define H_12 0x7B | 308 | #define CB8_CA12 0x7B |
| 309 | #define H_13 0x7C | 309 | #define CB8_CA13 0x7C |
| 310 | #define H_14 0x7D | 310 | #define CB8_CA14 0x7D |
| 311 | #define H_15 0x7E | 311 | #define CB8_CA15 0x7E |
| 312 | #define H_16 0x7F | 312 | #define CB8_CA16 0x7F |
| 313 | 313 | ||
| 314 | #define I_1 0x80 | 314 | #define CB9_CA1 0x80 |
| 315 | #define I_2 0x81 | 315 | #define CB9_CA2 0x81 |
| 316 | #define I_3 0x82 | 316 | #define CB9_CA3 0x82 |
| 317 | #define I_4 0x83 | 317 | #define CB9_CA4 0x83 |
| 318 | #define I_5 0x84 | 318 | #define CB9_CA5 0x84 |
| 319 | #define I_6 0x85 | 319 | #define CB9_CA6 0x85 |
| 320 | #define I_7 0x86 | 320 | #define CB9_CA7 0x86 |
| 321 | #define I_8 0x87 | 321 | #define CB9_CA8 0x87 |
| 322 | #define I_9 0x88 | 322 | #define CB9_CA9 0x88 |
| 323 | #define I_10 0x89 | 323 | #define CB9_CA10 0x89 |
| 324 | #define I_11 0x8A | 324 | #define CB9_CA11 0x8A |
| 325 | #define I_12 0x8B | 325 | #define CB9_CA12 0x8B |
| 326 | #define I_13 0x8C | 326 | #define CB9_CA13 0x8C |
| 327 | #define I_14 0x8D | 327 | #define CB9_CA14 0x8D |
| 328 | #define I_15 0x8E | 328 | #define CB9_CA15 0x8E |
| 329 | #define I_16 0x8F | 329 | #define CB9_CA16 0x8F |
| 330 | 330 | ||
| 331 | #define J_1 0x90 | 331 | #define CB10_CA1 0x90 |
| 332 | #define J_2 0x91 | 332 | #define CB10_CA2 0x91 |
| 333 | #define J_3 0x92 | 333 | #define CB10_CA3 0x92 |
| 334 | #define J_4 0x93 | 334 | #define CB10_CA4 0x93 |
| 335 | #define J_5 0x94 | 335 | #define CB10_CA5 0x94 |
| 336 | #define J_6 0x95 | 336 | #define CB10_CA6 0x95 |
| 337 | #define J_7 0x96 | 337 | #define CB10_CA7 0x96 |
| 338 | #define J_8 0x97 | 338 | #define CB10_CA8 0x97 |
| 339 | #define J_9 0x98 | 339 | #define CB10_CA9 0x98 |
| 340 | #define J_10 0x99 | 340 | #define CB10_CA10 0x99 |
| 341 | #define J_11 0x9A | 341 | #define CB10_CA11 0x9A |
| 342 | #define J_12 0x9B | 342 | #define CB10_CA12 0x9B |
| 343 | #define J_13 0x9C | 343 | #define CB10_CA13 0x9C |
| 344 | #define J_14 0x9D | 344 | #define CB10_CA14 0x9D |
| 345 | #define J_15 0x9E | 345 | #define CB10_CA15 0x9E |
| 346 | #define J_16 0x9F | 346 | #define CB10_CA16 0x9F |
| 347 | 347 | ||
| 348 | #define K_1 0xA0 | 348 | #define CB11_CA1 0xA0 |
| 349 | #define K_2 0xA1 | 349 | #define CB11_CA2 0xA1 |
| 350 | #define K_3 0xA2 | 350 | #define CB11_CA3 0xA2 |
| 351 | #define K_4 0xA3 | 351 | #define CB11_CA4 0xA3 |
| 352 | #define K_5 0xA4 | 352 | #define CB11_CA5 0xA4 |
| 353 | #define K_6 0xA5 | 353 | #define CB11_CA6 0xA5 |
| 354 | #define K_7 0xA6 | 354 | #define CB11_CA7 0xA6 |
| 355 | #define K_8 0xA7 | 355 | #define CB11_CA8 0xA7 |
| 356 | #define K_9 0xA8 | 356 | #define CB11_CA9 0xA8 |
| 357 | #define K_10 0xA9 | 357 | #define CB11_CA10 0xA9 |
| 358 | #define K_11 0xAA | 358 | #define CB11_CA11 0xAA |
| 359 | #define K_12 0xAB | 359 | #define CB11_CA12 0xAB |
| 360 | #define K_13 0xAC | 360 | #define CB11_CA13 0xAC |
| 361 | #define K_14 0xAD | 361 | #define CB11_CA14 0xAD |
| 362 | #define K_15 0xAE | 362 | #define CB11_CA15 0xAE |
| 363 | #define K_16 0xAF | 363 | #define CB11_CA16 0xAF |
| 364 | 364 | ||
| 365 | #define L_1 0xB0 | 365 | #define CB12_CA1 0xB0 |
| 366 | #define L_2 0xB1 | 366 | #define CB12_CA2 0xB1 |
| 367 | #define L_3 0xB2 | 367 | #define CB12_CA3 0xB2 |
| 368 | #define L_4 0xB3 | 368 | #define CB12_CA4 0xB3 |
| 369 | #define L_5 0xB4 | 369 | #define CB12_CA5 0xB4 |
| 370 | #define L_6 0xB5 | 370 | #define CB12_CA6 0xB5 |
| 371 | #define L_7 0xB6 | 371 | #define CB12_CA7 0xB6 |
| 372 | #define L_8 0xB7 | 372 | #define CB12_CA8 0xB7 |
| 373 | #define L_9 0xB8 | 373 | #define CB12_CA9 0xB8 |
| 374 | #define L_10 0xB9 | 374 | #define CB12_CA10 0xB9 |
| 375 | #define L_11 0xBA | 375 | #define CB12_CA11 0xBA |
| 376 | #define L_12 0xBB | 376 | #define CB12_CA12 0xBB |
| 377 | #define L_13 0xBC | 377 | #define CB12_CA13 0xBC |
| 378 | #define L_14 0xBD | 378 | #define CB12_CA14 0xBD |
| 379 | #define L_15 0xBE | 379 | #define CB12_CA15 0xBE |
| 380 | #define L_16 0xBF | 380 | #define CB12_CA16 0xBF |
| 381 | |||
| 382 | // DEPRECATED - DO NOT USE | ||
| 383 | |||
| 384 | #define A_1 CB1_CA1 | ||
| 385 | #define A_2 CB1_CA2 | ||
| 386 | #define A_3 CB1_CA3 | ||
| 387 | #define A_4 CB1_CA4 | ||
| 388 | #define A_5 CB1_CA5 | ||
| 389 | #define A_6 CB1_CA6 | ||
| 390 | #define A_7 CB1_CA7 | ||
| 391 | #define A_8 CB1_CA8 | ||
| 392 | #define A_9 CB1_CA9 | ||
| 393 | #define A_10 CB1_CA10 | ||
| 394 | #define A_11 CB1_CA11 | ||
| 395 | #define A_12 CB1_CA12 | ||
| 396 | #define A_13 CB1_CA13 | ||
| 397 | #define A_14 CB1_CA14 | ||
| 398 | #define A_15 CB1_CA15 | ||
| 399 | #define A_16 CB1_CA16 | ||
| 400 | |||
| 401 | #define B_1 CB2_CA1 | ||
| 402 | #define B_2 CB2_CA2 | ||
| 403 | #define B_3 CB2_CA3 | ||
| 404 | #define B_4 CB2_CA4 | ||
| 405 | #define B_5 CB2_CA5 | ||
| 406 | #define B_6 CB2_CA6 | ||
| 407 | #define B_7 CB2_CA7 | ||
| 408 | #define B_8 CB2_CA8 | ||
| 409 | #define B_9 CB2_CA9 | ||
| 410 | #define B_10 CB2_CA10 | ||
| 411 | #define B_11 CB2_CA11 | ||
| 412 | #define B_12 CB2_CA12 | ||
| 413 | #define B_13 CB2_CA13 | ||
| 414 | #define B_14 CB2_CA14 | ||
| 415 | #define B_15 CB2_CA15 | ||
| 416 | #define B_16 CB2_CA16 | ||
| 417 | |||
| 418 | #define C_1 CB3_CA1 | ||
| 419 | #define C_2 CB3_CA2 | ||
| 420 | #define C_3 CB3_CA3 | ||
| 421 | #define C_4 CB3_CA4 | ||
| 422 | #define C_5 CB3_CA5 | ||
| 423 | #define C_6 CB3_CA6 | ||
| 424 | #define C_7 CB3_CA7 | ||
| 425 | #define C_8 CB3_CA8 | ||
| 426 | #define C_9 CB3_CA9 | ||
| 427 | #define C_10 CB3_CA10 | ||
| 428 | #define C_11 CB3_CA11 | ||
| 429 | #define C_12 CB3_CA12 | ||
| 430 | #define C_13 CB3_CA13 | ||
| 431 | #define C_14 CB3_CA14 | ||
| 432 | #define C_15 CB3_CA15 | ||
| 433 | #define C_16 CB3_CA16 | ||
| 434 | |||
| 435 | #define D_1 CB4_CA1 | ||
| 436 | #define D_2 CB4_CA2 | ||
| 437 | #define D_3 CB4_CA3 | ||
| 438 | #define D_4 CB4_CA4 | ||
| 439 | #define D_5 CB4_CA5 | ||
| 440 | #define D_6 CB4_CA6 | ||
| 441 | #define D_7 CB4_CA7 | ||
| 442 | #define D_8 CB4_CA8 | ||
| 443 | #define D_9 CB4_CA9 | ||
| 444 | #define D_10 CB4_CA10 | ||
| 445 | #define D_11 CB4_CA11 | ||
| 446 | #define D_12 CB4_CA12 | ||
| 447 | #define D_13 CB4_CA13 | ||
| 448 | #define D_14 CB4_CA14 | ||
| 449 | #define D_15 CB4_CA15 | ||
| 450 | #define D_16 CB4_CA16 | ||
| 451 | |||
| 452 | #define E_1 CB5_CA1 | ||
| 453 | #define E_2 CB5_CA2 | ||
| 454 | #define E_3 CB5_CA3 | ||
| 455 | #define E_4 CB5_CA4 | ||
| 456 | #define E_5 CB5_CA5 | ||
| 457 | #define E_6 CB5_CA6 | ||
| 458 | #define E_7 CB5_CA7 | ||
| 459 | #define E_8 CB5_CA8 | ||
| 460 | #define E_9 CB5_CA9 | ||
| 461 | #define E_10 CB5_CA10 | ||
| 462 | #define E_11 CB5_CA11 | ||
| 463 | #define E_12 CB5_CA12 | ||
| 464 | #define E_13 CB5_CA13 | ||
| 465 | #define E_14 CB5_CA14 | ||
| 466 | #define E_15 CB5_CA15 | ||
| 467 | #define E_16 CB5_CA16 | ||
| 468 | |||
| 469 | #define F_1 CB6_CA1 | ||
| 470 | #define F_2 CB6_CA2 | ||
| 471 | #define F_3 CB6_CA3 | ||
| 472 | #define F_4 CB6_CA4 | ||
| 473 | #define F_5 CB6_CA5 | ||
| 474 | #define F_6 CB6_CA6 | ||
| 475 | #define F_7 CB6_CA7 | ||
| 476 | #define F_8 CB6_CA8 | ||
| 477 | #define F_9 CB6_CA9 | ||
| 478 | #define F_10 CB6_CA10 | ||
| 479 | #define F_11 CB6_CA11 | ||
| 480 | #define F_12 CB6_CA12 | ||
| 481 | #define F_13 CB6_CA13 | ||
| 482 | #define F_14 CB6_CA14 | ||
| 483 | #define F_15 CB6_CA15 | ||
| 484 | #define F_16 CB6_CA16 | ||
| 485 | |||
| 486 | #define G_1 CB7_CA1 | ||
| 487 | #define G_2 CB7_CA2 | ||
| 488 | #define G_3 CB7_CA3 | ||
| 489 | #define G_4 CB7_CA4 | ||
| 490 | #define G_5 CB7_CA5 | ||
| 491 | #define G_6 CB7_CA6 | ||
| 492 | #define G_7 CB7_CA7 | ||
| 493 | #define G_8 CB7_CA8 | ||
| 494 | #define G_9 CB7_CA9 | ||
| 495 | #define G_10 CB7_CA10 | ||
| 496 | #define G_11 CB7_CA11 | ||
| 497 | #define G_12 CB7_CA12 | ||
| 498 | #define G_13 CB7_CA13 | ||
| 499 | #define G_14 CB7_CA14 | ||
| 500 | #define G_15 CB7_CA15 | ||
| 501 | #define G_16 CB7_CA16 | ||
| 502 | |||
| 503 | #define H_1 CB8_CA1 | ||
| 504 | #define H_2 CB8_CA2 | ||
| 505 | #define H_3 CB8_CA3 | ||
| 506 | #define H_4 CB8_CA4 | ||
| 507 | #define H_5 CB8_CA5 | ||
| 508 | #define H_6 CB8_CA6 | ||
| 509 | #define H_7 CB8_CA7 | ||
| 510 | #define H_8 CB8_CA8 | ||
| 511 | #define H_9 CB8_CA9 | ||
| 512 | #define H_10 CB8_CA10 | ||
| 513 | #define H_11 CB8_CA11 | ||
| 514 | #define H_12 CB8_CA12 | ||
| 515 | #define H_13 CB8_CA13 | ||
| 516 | #define H_14 CB8_CA14 | ||
| 517 | #define H_15 CB8_CA15 | ||
| 518 | #define H_16 CB8_CA16 | ||
| 519 | |||
| 520 | #define I_1 CB9_CA1 | ||
| 521 | #define I_2 CB9_CA2 | ||
| 522 | #define I_3 CB9_CA3 | ||
| 523 | #define I_4 CB9_CA4 | ||
| 524 | #define I_5 CB9_CA5 | ||
| 525 | #define I_6 CB9_CA6 | ||
| 526 | #define I_7 CB9_CA7 | ||
| 527 | #define I_8 CB9_CA8 | ||
| 528 | #define I_9 CB9_CA9 | ||
| 529 | #define I_10 CB9_CA10 | ||
| 530 | #define I_11 CB9_CA11 | ||
| 531 | #define I_12 CB9_CA12 | ||
| 532 | #define I_13 CB9_CA13 | ||
| 533 | #define I_14 CB9_CA14 | ||
| 534 | #define I_15 CB9_CA15 | ||
| 535 | #define I_16 CB9_CA16 | ||
| 536 | |||
| 537 | #define J_1 CB10_CA1 | ||
| 538 | #define J_2 CB10_CA2 | ||
| 539 | #define J_3 CB10_CA3 | ||
| 540 | #define J_4 CB10_CA4 | ||
| 541 | #define J_5 CB10_CA5 | ||
| 542 | #define J_6 CB10_CA6 | ||
| 543 | #define J_7 CB10_CA7 | ||
| 544 | #define J_8 CB10_CA8 | ||
| 545 | #define J_9 CB10_CA9 | ||
| 546 | #define J_10 CB10_CA10 | ||
| 547 | #define J_11 CB10_CA11 | ||
| 548 | #define J_12 CB10_CA12 | ||
| 549 | #define J_13 CB10_CA13 | ||
| 550 | #define J_14 CB10_CA14 | ||
| 551 | #define J_15 CB10_CA15 | ||
| 552 | #define J_16 CB10_CA16 | ||
| 553 | |||
| 554 | #define K_1 CB11_CA1 | ||
| 555 | #define K_2 CB11_CA2 | ||
| 556 | #define K_3 CB11_CA3 | ||
| 557 | #define K_4 CB11_CA4 | ||
| 558 | #define K_5 CB11_CA5 | ||
| 559 | #define K_6 CB11_CA6 | ||
| 560 | #define K_7 CB11_CA7 | ||
| 561 | #define K_8 CB11_CA8 | ||
| 562 | #define K_9 CB11_CA9 | ||
| 563 | #define K_10 CB11_CA10 | ||
| 564 | #define K_11 CB11_CA11 | ||
| 565 | #define K_12 CB11_CA12 | ||
| 566 | #define K_13 CB11_CA13 | ||
| 567 | #define K_14 CB11_CA14 | ||
| 568 | #define K_15 CB11_CA15 | ||
| 569 | #define K_16 CB11_CA16 | ||
| 570 | |||
| 571 | #define L_1 CB12_CA1 | ||
| 572 | #define L_2 CB12_CA2 | ||
| 573 | #define L_3 CB12_CA3 | ||
| 574 | #define L_4 CB12_CA4 | ||
| 575 | #define L_5 CB12_CA5 | ||
| 576 | #define L_6 CB12_CA6 | ||
| 577 | #define L_7 CB12_CA7 | ||
| 578 | #define L_8 CB12_CA8 | ||
| 579 | #define L_9 CB12_CA9 | ||
| 580 | #define L_10 CB12_CA10 | ||
| 581 | #define L_11 CB12_CA11 | ||
| 582 | #define L_12 CB12_CA12 | ||
| 583 | #define L_13 CB12_CA13 | ||
| 584 | #define L_14 CB12_CA14 | ||
| 585 | #define L_15 CB12_CA15 | ||
| 586 | #define L_16 CB12_CA16 | ||
diff --git a/drivers/led/snled27351.h b/drivers/led/snled27351.h index 79d601ca2d..d902744d14 100644 --- a/drivers/led/snled27351.h +++ b/drivers/led/snled27351.h | |||
| @@ -189,206 +189,412 @@ void snled27351_flush(void); | |||
| 189 | void snled27351_sw_return_normal(uint8_t index); | 189 | void snled27351_sw_return_normal(uint8_t index); |
| 190 | void snled27351_sw_shutdown(uint8_t index); | 190 | void snled27351_sw_shutdown(uint8_t index); |
| 191 | 191 | ||
| 192 | #define A_1 0x00 | 192 | #define CB1_CA1 0x00 |
| 193 | #define A_2 0x01 | 193 | #define CB1_CA2 0x01 |
| 194 | #define A_3 0x02 | 194 | #define CB1_CA3 0x02 |
| 195 | #define A_4 0x03 | 195 | #define CB1_CA4 0x03 |
| 196 | #define A_5 0x04 | 196 | #define CB1_CA5 0x04 |
| 197 | #define A_6 0x05 | 197 | #define CB1_CA6 0x05 |
| 198 | #define A_7 0x06 | 198 | #define CB1_CA7 0x06 |
| 199 | #define A_8 0x07 | 199 | #define CB1_CA8 0x07 |
| 200 | #define A_9 0x08 | 200 | #define CB1_CA9 0x08 |
| 201 | #define A_10 0x09 | 201 | #define CB1_CA10 0x09 |
| 202 | #define A_11 0x0A | 202 | #define CB1_CA11 0x0A |
| 203 | #define A_12 0x0B | 203 | #define CB1_CA12 0x0B |
| 204 | #define A_13 0x0C | 204 | #define CB1_CA13 0x0C |
| 205 | #define A_14 0x0D | 205 | #define CB1_CA14 0x0D |
| 206 | #define A_15 0x0E | 206 | #define CB1_CA15 0x0E |
| 207 | #define A_16 0x0F | 207 | #define CB1_CA16 0x0F |
| 208 | 208 | ||
| 209 | #define B_1 0x10 | 209 | #define CB2_CA1 0x10 |
| 210 | #define B_2 0x11 | 210 | #define CB2_CA2 0x11 |
| 211 | #define B_3 0x12 | 211 | #define CB2_CA3 0x12 |
| 212 | #define B_4 0x13 | 212 | #define CB2_CA4 0x13 |
| 213 | #define B_5 0x14 | 213 | #define CB2_CA5 0x14 |
| 214 | #define B_6 0x15 | 214 | #define CB2_CA6 0x15 |
| 215 | #define B_7 0x16 | 215 | #define CB2_CA7 0x16 |
| 216 | #define B_8 0x17 | 216 | #define CB2_CA8 0x17 |
| 217 | #define B_9 0x18 | 217 | #define CB2_CA9 0x18 |
| 218 | #define B_10 0x19 | 218 | #define CB2_CA10 0x19 |
| 219 | #define B_11 0x1A | 219 | #define CB2_CA11 0x1A |
| 220 | #define B_12 0x1B | 220 | #define CB2_CA12 0x1B |
| 221 | #define B_13 0x1C | 221 | #define CB2_CA13 0x1C |
| 222 | #define B_14 0x1D | 222 | #define CB2_CA14 0x1D |
| 223 | #define B_15 0x1E | 223 | #define CB2_CA15 0x1E |
| 224 | #define B_16 0x1F | 224 | #define CB2_CA16 0x1F |
| 225 | 225 | ||
| 226 | #define C_1 0x20 | 226 | #define CB3_CA1 0x20 |
| 227 | #define C_2 0x21 | 227 | #define CB3_CA2 0x21 |
| 228 | #define C_3 0x22 | 228 | #define CB3_CA3 0x22 |
| 229 | #define C_4 0x23 | 229 | #define CB3_CA4 0x23 |
| 230 | #define C_5 0x24 | 230 | #define CB3_CA5 0x24 |
| 231 | #define C_6 0x25 | 231 | #define CB3_CA6 0x25 |
| 232 | #define C_7 0x26 | 232 | #define CB3_CA7 0x26 |
| 233 | #define C_8 0x27 | 233 | #define CB3_CA8 0x27 |
| 234 | #define C_9 0x28 | 234 | #define CB3_CA9 0x28 |
| 235 | #define C_10 0x29 | 235 | #define CB3_CA10 0x29 |
| 236 | #define C_11 0x2A | 236 | #define CB3_CA11 0x2A |
| 237 | #define C_12 0x2B | 237 | #define CB3_CA12 0x2B |
| 238 | #define C_13 0x2C | 238 | #define CB3_CA13 0x2C |
| 239 | #define C_14 0x2D | 239 | #define CB3_CA14 0x2D |
| 240 | #define C_15 0x2E | 240 | #define CB3_CA15 0x2E |
| 241 | #define C_16 0x2F | 241 | #define CB3_CA16 0x2F |
| 242 | 242 | ||
| 243 | #define D_1 0x30 | 243 | #define CB4_CA1 0x30 |
| 244 | #define D_2 0x31 | 244 | #define CB4_CA2 0x31 |
| 245 | #define D_3 0x32 | 245 | #define CB4_CA3 0x32 |
| 246 | #define D_4 0x33 | 246 | #define CB4_CA4 0x33 |
| 247 | #define D_5 0x34 | 247 | #define CB4_CA5 0x34 |
| 248 | #define D_6 0x35 | 248 | #define CB4_CA6 0x35 |
| 249 | #define D_7 0x36 | 249 | #define CB4_CA7 0x36 |
| 250 | #define D_8 0x37 | 250 | #define CB4_CA8 0x37 |
| 251 | #define D_9 0x38 | 251 | #define CB4_CA9 0x38 |
| 252 | #define D_10 0x39 | 252 | #define CB4_CA10 0x39 |
| 253 | #define D_11 0x3A | 253 | #define CB4_CA11 0x3A |
| 254 | #define D_12 0x3B | 254 | #define CB4_CA12 0x3B |
| 255 | #define D_13 0x3C | 255 | #define CB4_CA13 0x3C |
| 256 | #define D_14 0x3D | 256 | #define CB4_CA14 0x3D |
| 257 | #define D_15 0x3E | 257 | #define CB4_CA15 0x3E |
| 258 | #define D_16 0x3F | 258 | #define CB4_CA16 0x3F |
| 259 | 259 | ||
| 260 | #define E_1 0x40 | 260 | #define CB5_CA1 0x40 |
| 261 | #define E_2 0x41 | 261 | #define CB5_CA2 0x41 |
| 262 | #define E_3 0x42 | 262 | #define CB5_CA3 0x42 |
| 263 | #define E_4 0x43 | 263 | #define CB5_CA4 0x43 |
| 264 | #define E_5 0x44 | 264 | #define CB5_CA5 0x44 |
| 265 | #define E_6 0x45 | 265 | #define CB5_CA6 0x45 |
| 266 | #define E_7 0x46 | 266 | #define CB5_CA7 0x46 |
| 267 | #define E_8 0x47 | 267 | #define CB5_CA8 0x47 |
| 268 | #define E_9 0x48 | 268 | #define CB5_CA9 0x48 |
| 269 | #define E_10 0x49 | 269 | #define CB5_CA10 0x49 |
| 270 | #define E_11 0x4A | 270 | #define CB5_CA11 0x4A |
| 271 | #define E_12 0x4B | 271 | #define CB5_CA12 0x4B |
| 272 | #define E_13 0x4C | 272 | #define CB5_CA13 0x4C |
| 273 | #define E_14 0x4D | 273 | #define CB5_CA14 0x4D |
| 274 | #define E_15 0x4E | 274 | #define CB5_CA15 0x4E |
| 275 | #define E_16 0x4F | 275 | #define CB5_CA16 0x4F |
| 276 | 276 | ||
| 277 | #define F_1 0x50 | 277 | #define CB6_CA1 0x50 |
| 278 | #define F_2 0x51 | 278 | #define CB6_CA2 0x51 |
| 279 | #define F_3 0x52 | 279 | #define CB6_CA3 0x52 |
| 280 | #define F_4 0x53 | 280 | #define CB6_CA4 0x53 |
| 281 | #define F_5 0x54 | 281 | #define CB6_CA5 0x54 |
| 282 | #define F_6 0x55 | 282 | #define CB6_CA6 0x55 |
| 283 | #define F_7 0x56 | 283 | #define CB6_CA7 0x56 |
| 284 | #define F_8 0x57 | 284 | #define CB6_CA8 0x57 |
| 285 | #define F_9 0x58 | 285 | #define CB6_CA9 0x58 |
| 286 | #define F_10 0x59 | 286 | #define CB6_CA10 0x59 |
| 287 | #define F_11 0x5A | 287 | #define CB6_CA11 0x5A |
| 288 | #define F_12 0x5B | 288 | #define CB6_CA12 0x5B |
| 289 | #define F_13 0x5C | 289 | #define CB6_CA13 0x5C |
| 290 | #define F_14 0x5D | 290 | #define CB6_CA14 0x5D |
| 291 | #define F_15 0x5E | 291 | #define CB6_CA15 0x5E |
| 292 | #define F_16 0x5F | 292 | #define CB6_CA16 0x5F |
| 293 | 293 | ||
| 294 | #define G_1 0x60 | 294 | #define CB7_CA1 0x60 |
| 295 | #define G_2 0x61 | 295 | #define CB7_CA2 0x61 |
| 296 | #define G_3 0x62 | 296 | #define CB7_CA3 0x62 |
| 297 | #define G_4 0x63 | 297 | #define CB7_CA4 0x63 |
| 298 | #define G_5 0x64 | 298 | #define CB7_CA5 0x64 |
| 299 | #define G_6 0x65 | 299 | #define CB7_CA6 0x65 |
| 300 | #define G_7 0x66 | 300 | #define CB7_CA7 0x66 |
| 301 | #define G_8 0x67 | 301 | #define CB7_CA8 0x67 |
| 302 | #define G_9 0x68 | 302 | #define CB7_CA9 0x68 |
| 303 | #define G_10 0x69 | 303 | #define CB7_CA10 0x69 |
| 304 | #define G_11 0x6A | 304 | #define CB7_CA11 0x6A |
| 305 | #define G_12 0x6B | 305 | #define CB7_CA12 0x6B |
| 306 | #define G_13 0x6C | 306 | #define CB7_CA13 0x6C |
| 307 | #define G_14 0x6D | 307 | #define CB7_CA14 0x6D |
| 308 | #define G_15 0x6E | 308 | #define CB7_CA15 0x6E |
| 309 | #define G_16 0x6F | 309 | #define CB7_CA16 0x6F |
| 310 | 310 | ||
| 311 | #define H_1 0x70 | 311 | #define CB8_CA1 0x70 |
| 312 | #define H_2 0x71 | 312 | #define CB8_CA2 0x71 |
| 313 | #define H_3 0x72 | 313 | #define CB8_CA3 0x72 |
| 314 | #define H_4 0x73 | 314 | #define CB8_CA4 0x73 |
| 315 | #define H_5 0x74 | 315 | #define CB8_CA5 0x74 |
| 316 | #define H_6 0x75 | 316 | #define CB8_CA6 0x75 |
| 317 | #define H_7 0x76 | 317 | #define CB8_CA7 0x76 |
| 318 | #define H_8 0x77 | 318 | #define CB8_CA8 0x77 |
| 319 | #define H_9 0x78 | 319 | #define CB8_CA9 0x78 |
| 320 | #define H_10 0x79 | 320 | #define CB8_CA10 0x79 |
| 321 | #define H_11 0x7A | 321 | #define CB8_CA11 0x7A |
| 322 | #define H_12 0x7B | 322 | #define CB8_CA12 0x7B |
| 323 | #define H_13 0x7C | 323 | #define CB8_CA13 0x7C |
| 324 | #define H_14 0x7D | 324 | #define CB8_CA14 0x7D |
| 325 | #define H_15 0x7E | 325 | #define CB8_CA15 0x7E |
| 326 | #define H_16 0x7F | 326 | #define CB8_CA16 0x7F |
| 327 | 327 | ||
| 328 | #define I_1 0x80 | 328 | #define CB9_CA1 0x80 |
| 329 | #define I_2 0x81 | 329 | #define CB9_CA2 0x81 |
| 330 | #define I_3 0x82 | 330 | #define CB9_CA3 0x82 |
| 331 | #define I_4 0x83 | 331 | #define CB9_CA4 0x83 |
| 332 | #define I_5 0x84 | 332 | #define CB9_CA5 0x84 |
| 333 | #define I_6 0x85 | 333 | #define CB9_CA6 0x85 |
| 334 | #define I_7 0x86 | 334 | #define CB9_CA7 0x86 |
| 335 | #define I_8 0x87 | 335 | #define CB9_CA8 0x87 |
| 336 | #define I_9 0x88 | 336 | #define CB9_CA9 0x88 |
| 337 | #define I_10 0x89 | 337 | #define CB9_CA10 0x89 |
| 338 | #define I_11 0x8A | 338 | #define CB9_CA11 0x8A |
| 339 | #define I_12 0x8B | 339 | #define CB9_CA12 0x8B |
| 340 | #define I_13 0x8C | 340 | #define CB9_CA13 0x8C |
| 341 | #define I_14 0x8D | 341 | #define CB9_CA14 0x8D |
| 342 | #define I_15 0x8E | 342 | #define CB9_CA15 0x8E |
| 343 | #define I_16 0x8F | 343 | #define CB9_CA16 0x8F |
| 344 | 344 | ||
| 345 | #define J_1 0x90 | 345 | #define CB10_CA1 0x90 |
| 346 | #define J_2 0x91 | 346 | #define CB10_CA2 0x91 |
| 347 | #define J_3 0x92 | 347 | #define CB10_CA3 0x92 |
| 348 | #define J_4 0x93 | 348 | #define CB10_CA4 0x93 |
| 349 | #define J_5 0x94 | 349 | #define CB10_CA5 0x94 |
| 350 | #define J_6 0x95 | 350 | #define CB10_CA6 0x95 |
| 351 | #define J_7 0x96 | 351 | #define CB10_CA7 0x96 |
| 352 | #define J_8 0x97 | 352 | #define CB10_CA8 0x97 |
| 353 | #define J_9 0x98 | 353 | #define CB10_CA9 0x98 |
| 354 | #define J_10 0x99 | 354 | #define CB10_CA10 0x99 |
| 355 | #define J_11 0x9A | 355 | #define CB10_CA11 0x9A |
| 356 | #define J_12 0x9B | 356 | #define CB10_CA12 0x9B |
| 357 | #define J_13 0x9C | 357 | #define CB10_CA13 0x9C |
| 358 | #define J_14 0x9D | 358 | #define CB10_CA14 0x9D |
| 359 | #define J_15 0x9E | 359 | #define CB10_CA15 0x9E |
| 360 | #define J_16 0x9F | 360 | #define CB10_CA16 0x9F |
| 361 | 361 | ||
| 362 | #define K_1 0xA0 | 362 | #define CB11_CA1 0xA0 |
| 363 | #define K_2 0xA1 | 363 | #define CB11_CA2 0xA1 |
| 364 | #define K_3 0xA2 | 364 | #define CB11_CA3 0xA2 |
| 365 | #define K_4 0xA3 | 365 | #define CB11_CA4 0xA3 |
| 366 | #define K_5 0xA4 | 366 | #define CB11_CA5 0xA4 |
| 367 | #define K_6 0xA5 | 367 | #define CB11_CA6 0xA5 |
| 368 | #define K_7 0xA6 | 368 | #define CB11_CA7 0xA6 |
| 369 | #define K_8 0xA7 | 369 | #define CB11_CA8 0xA7 |
| 370 | #define K_9 0xA8 | 370 | #define CB11_CA9 0xA8 |
| 371 | #define K_10 0xA9 | 371 | #define CB11_CA10 0xA9 |
| 372 | #define K_11 0xAA | 372 | #define CB11_CA11 0xAA |
| 373 | #define K_12 0xAB | 373 | #define CB11_CA12 0xAB |
| 374 | #define K_13 0xAC | 374 | #define CB11_CA13 0xAC |
| 375 | #define K_14 0xAD | 375 | #define CB11_CA14 0xAD |
| 376 | #define K_15 0xAE | 376 | #define CB11_CA15 0xAE |
| 377 | #define K_16 0xAF | 377 | #define CB11_CA16 0xAF |
| 378 | 378 | ||
| 379 | #define L_1 0xB0 | 379 | #define CB12_CA1 0xB0 |
| 380 | #define L_2 0xB1 | 380 | #define CB12_CA2 0xB1 |
| 381 | #define L_3 0xB2 | 381 | #define CB12_CA3 0xB2 |
| 382 | #define L_4 0xB3 | 382 | #define CB12_CA4 0xB3 |
| 383 | #define L_5 0xB4 | 383 | #define CB12_CA5 0xB4 |
| 384 | #define L_6 0xB5 | 384 | #define CB12_CA6 0xB5 |
| 385 | #define L_7 0xB6 | 385 | #define CB12_CA7 0xB6 |
| 386 | #define L_8 0xB7 | 386 | #define CB12_CA8 0xB7 |
| 387 | #define L_9 0xB8 | 387 | #define CB12_CA9 0xB8 |
| 388 | #define L_10 0xB9 | 388 | #define CB12_CA10 0xB9 |
| 389 | #define L_11 0xBA | 389 | #define CB12_CA11 0xBA |
| 390 | #define L_12 0xBB | 390 | #define CB12_CA12 0xBB |
| 391 | #define L_13 0xBC | 391 | #define CB12_CA13 0xBC |
| 392 | #define L_14 0xBD | 392 | #define CB12_CA14 0xBD |
| 393 | #define L_15 0xBE | 393 | #define CB12_CA15 0xBE |
| 394 | #define L_16 0xBF | 394 | #define CB12_CA16 0xBF |
| 395 | |||
| 396 | // DEPRECATED - DO NOT USE | ||
| 397 | |||
| 398 | #define A_1 CB1_CA1 | ||
| 399 | #define A_2 CB1_CA2 | ||
| 400 | #define A_3 CB1_CA3 | ||
| 401 | #define A_4 CB1_CA4 | ||
| 402 | #define A_5 CB1_CA5 | ||
| 403 | #define A_6 CB1_CA6 | ||
| 404 | #define A_7 CB1_CA7 | ||
| 405 | #define A_8 CB1_CA8 | ||
| 406 | #define A_9 CB1_CA9 | ||
| 407 | #define A_10 CB1_CA10 | ||
| 408 | #define A_11 CB1_CA11 | ||
| 409 | #define A_12 CB1_CA12 | ||
| 410 | #define A_13 CB1_CA13 | ||
| 411 | #define A_14 CB1_CA14 | ||
| 412 | #define A_15 CB1_CA15 | ||
| 413 | #define A_16 CB1_CA16 | ||
| 414 | |||
| 415 | #define B_1 CB2_CA1 | ||
| 416 | #define B_2 CB2_CA2 | ||
| 417 | #define B_3 CB2_CA3 | ||
| 418 | #define B_4 CB2_CA4 | ||
| 419 | #define B_5 CB2_CA5 | ||
| 420 | #define B_6 CB2_CA6 | ||
| 421 | #define B_7 CB2_CA7 | ||
| 422 | #define B_8 CB2_CA8 | ||
| 423 | #define B_9 CB2_CA9 | ||
| 424 | #define B_10 CB2_CA10 | ||
| 425 | #define B_11 CB2_CA11 | ||
| 426 | #define B_12 CB2_CA12 | ||
| 427 | #define B_13 CB2_CA13 | ||
| 428 | #define B_14 CB2_CA14 | ||
| 429 | #define B_15 CB2_CA15 | ||
| 430 | #define B_16 CB2_CA16 | ||
| 431 | |||
| 432 | #define C_1 CB3_CA1 | ||
| 433 | #define C_2 CB3_CA2 | ||
| 434 | #define C_3 CB3_CA3 | ||
| 435 | #define C_4 CB3_CA4 | ||
| 436 | #define C_5 CB3_CA5 | ||
| 437 | #define C_6 CB3_CA6 | ||
| 438 | #define C_7 CB3_CA7 | ||
| 439 | #define C_8 CB3_CA8 | ||
| 440 | #define C_9 CB3_CA9 | ||
| 441 | #define C_10 CB3_CA10 | ||
| 442 | #define C_11 CB3_CA11 | ||
| 443 | #define C_12 CB3_CA12 | ||
| 444 | #define C_13 CB3_CA13 | ||
| 445 | #define C_14 CB3_CA14 | ||
| 446 | #define C_15 CB3_CA15 | ||
| 447 | #define C_16 CB3_CA16 | ||
| 448 | |||
| 449 | #define D_1 CB4_CA1 | ||
| 450 | #define D_2 CB4_CA2 | ||
| 451 | #define D_3 CB4_CA3 | ||
| 452 | #define D_4 CB4_CA4 | ||
| 453 | #define D_5 CB4_CA5 | ||
| 454 | #define D_6 CB4_CA6 | ||
| 455 | #define D_7 CB4_CA7 | ||
| 456 | #define D_8 CB4_CA8 | ||
| 457 | #define D_9 CB4_CA9 | ||
| 458 | #define D_10 CB4_CA10 | ||
| 459 | #define D_11 CB4_CA11 | ||
| 460 | #define D_12 CB4_CA12 | ||
| 461 | #define D_13 CB4_CA13 | ||
| 462 | #define D_14 CB4_CA14 | ||
| 463 | #define D_15 CB4_CA15 | ||
| 464 | #define D_16 CB4_CA16 | ||
| 465 | |||
| 466 | #define E_1 CB5_CA1 | ||
| 467 | #define E_2 CB5_CA2 | ||
| 468 | #define E_3 CB5_CA3 | ||
| 469 | #define E_4 CB5_CA4 | ||
| 470 | #define E_5 CB5_CA5 | ||
| 471 | #define E_6 CB5_CA6 | ||
| 472 | #define E_7 CB5_CA7 | ||
| 473 | #define E_8 CB5_CA8 | ||
| 474 | #define E_9 CB5_CA9 | ||
| 475 | #define E_10 CB5_CA10 | ||
| 476 | #define E_11 CB5_CA11 | ||
| 477 | #define E_12 CB5_CA12 | ||
| 478 | #define E_13 CB5_CA13 | ||
| 479 | #define E_14 CB5_CA14 | ||
| 480 | #define E_15 CB5_CA15 | ||
| 481 | #define E_16 CB5_CA16 | ||
| 482 | |||
| 483 | #define F_1 CB6_CA1 | ||
| 484 | #define F_2 CB6_CA2 | ||
| 485 | #define F_3 CB6_CA3 | ||
| 486 | #define F_4 CB6_CA4 | ||
| 487 | #define F_5 CB6_CA5 | ||
| 488 | #define F_6 CB6_CA6 | ||
| 489 | #define F_7 CB6_CA7 | ||
| 490 | #define F_8 CB6_CA8 | ||
| 491 | #define F_9 CB6_CA9 | ||
| 492 | #define F_10 CB6_CA10 | ||
| 493 | #define F_11 CB6_CA11 | ||
| 494 | #define F_12 CB6_CA12 | ||
| 495 | #define F_13 CB6_CA13 | ||
| 496 | #define F_14 CB6_CA14 | ||
| 497 | #define F_15 CB6_CA15 | ||
| 498 | #define F_16 CB6_CA16 | ||
| 499 | |||
| 500 | #define G_1 CB7_CA1 | ||
| 501 | #define G_2 CB7_CA2 | ||
| 502 | #define G_3 CB7_CA3 | ||
| 503 | #define G_4 CB7_CA4 | ||
| 504 | #define G_5 CB7_CA5 | ||
| 505 | #define G_6 CB7_CA6 | ||
| 506 | #define G_7 CB7_CA7 | ||
| 507 | #define G_8 CB7_CA8 | ||
| 508 | #define G_9 CB7_CA9 | ||
| 509 | #define G_10 CB7_CA10 | ||
| 510 | #define G_11 CB7_CA11 | ||
| 511 | #define G_12 CB7_CA12 | ||
| 512 | #define G_13 CB7_CA13 | ||
| 513 | #define G_14 CB7_CA14 | ||
| 514 | #define G_15 CB7_CA15 | ||
| 515 | #define G_16 CB7_CA16 | ||
| 516 | |||
| 517 | #define H_1 CB8_CA1 | ||
| 518 | #define H_2 CB8_CA2 | ||
| 519 | #define H_3 CB8_CA3 | ||
| 520 | #define H_4 CB8_CA4 | ||
| 521 | #define H_5 CB8_CA5 | ||
| 522 | #define H_6 CB8_CA6 | ||
| 523 | #define H_7 CB8_CA7 | ||
| 524 | #define H_8 CB8_CA8 | ||
| 525 | #define H_9 CB8_CA9 | ||
| 526 | #define H_10 CB8_CA10 | ||
| 527 | #define H_11 CB8_CA11 | ||
| 528 | #define H_12 CB8_CA12 | ||
| 529 | #define H_13 CB8_CA13 | ||
| 530 | #define H_14 CB8_CA14 | ||
| 531 | #define H_15 CB8_CA15 | ||
| 532 | #define H_16 CB8_CA16 | ||
| 533 | |||
| 534 | #define I_1 CB9_CA1 | ||
| 535 | #define I_2 CB9_CA2 | ||
| 536 | #define I_3 CB9_CA3 | ||
| 537 | #define I_4 CB9_CA4 | ||
| 538 | #define I_5 CB9_CA5 | ||
| 539 | #define I_6 CB9_CA6 | ||
| 540 | #define I_7 CB9_CA7 | ||
| 541 | #define I_8 CB9_CA8 | ||
| 542 | #define I_9 CB9_CA9 | ||
| 543 | #define I_10 CB9_CA10 | ||
| 544 | #define I_11 CB9_CA11 | ||
| 545 | #define I_12 CB9_CA12 | ||
| 546 | #define I_13 CB9_CA13 | ||
| 547 | #define I_14 CB9_CA14 | ||
| 548 | #define I_15 CB9_CA15 | ||
| 549 | #define I_16 CB9_CA16 | ||
| 550 | |||
| 551 | #define J_1 CB10_CA1 | ||
| 552 | #define J_2 CB10_CA2 | ||
| 553 | #define J_3 CB10_CA3 | ||
| 554 | #define J_4 CB10_CA4 | ||
| 555 | #define J_5 CB10_CA5 | ||
| 556 | #define J_6 CB10_CA6 | ||
| 557 | #define J_7 CB10_CA7 | ||
| 558 | #define J_8 CB10_CA8 | ||
| 559 | #define J_9 CB10_CA9 | ||
| 560 | #define J_10 CB10_CA10 | ||
| 561 | #define J_11 CB10_CA11 | ||
| 562 | #define J_12 CB10_CA12 | ||
| 563 | #define J_13 CB10_CA13 | ||
| 564 | #define J_14 CB10_CA14 | ||
| 565 | #define J_15 CB10_CA15 | ||
| 566 | #define J_16 CB10_CA16 | ||
| 567 | |||
| 568 | #define K_1 CB11_CA1 | ||
| 569 | #define K_2 CB11_CA2 | ||
| 570 | #define K_3 CB11_CA3 | ||
| 571 | #define K_4 CB11_CA4 | ||
| 572 | #define K_5 CB11_CA5 | ||
| 573 | #define K_6 CB11_CA6 | ||
| 574 | #define K_7 CB11_CA7 | ||
| 575 | #define K_8 CB11_CA8 | ||
| 576 | #define K_9 CB11_CA9 | ||
| 577 | #define K_10 CB11_CA10 | ||
| 578 | #define K_11 CB11_CA11 | ||
| 579 | #define K_12 CB11_CA12 | ||
| 580 | #define K_13 CB11_CA13 | ||
| 581 | #define K_14 CB11_CA14 | ||
| 582 | #define K_15 CB11_CA15 | ||
| 583 | #define K_16 CB11_CA16 | ||
| 584 | |||
| 585 | #define L_1 CB12_CA1 | ||
| 586 | #define L_2 CB12_CA2 | ||
| 587 | #define L_3 CB12_CA3 | ||
| 588 | #define L_4 CB12_CA4 | ||
| 589 | #define L_5 CB12_CA5 | ||
| 590 | #define L_6 CB12_CA6 | ||
| 591 | #define L_7 CB12_CA7 | ||
| 592 | #define L_8 CB12_CA8 | ||
| 593 | #define L_9 CB12_CA9 | ||
| 594 | #define L_10 CB12_CA10 | ||
| 595 | #define L_11 CB12_CA11 | ||
| 596 | #define L_12 CB12_CA12 | ||
| 597 | #define L_13 CB12_CA13 | ||
| 598 | #define L_14 CB12_CA14 | ||
| 599 | #define L_15 CB12_CA15 | ||
| 600 | #define L_16 CB12_CA16 | ||
