__flash? (#13799)
This commit is contained in:
		
							parent
							
								
									206a995ccd
								
							
						
					
					
						commit
						70fb3e1aaf
					
				
					 76 changed files with 95 additions and 92 deletions
				
			
		| 
						 | 
				
			
			@ -52,7 +52,7 @@ Here is an example using 2 drivers.
 | 
			
		|||
Define these arrays listing all the LEDs in your `<keyboard>.c`:
 | 
			
		||||
 | 
			
		||||
```c
 | 
			
		||||
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
/* Refer to IS31 manual for these locations
 | 
			
		||||
 *    driver
 | 
			
		||||
 *    |  LED address
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -52,7 +52,7 @@ Here is an example using 2 drivers.
 | 
			
		|||
Define these arrays listing all the LEDs in your `<keyboard>.c`:
 | 
			
		||||
 | 
			
		||||
```c
 | 
			
		||||
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
/* Refer to IS31 manual for these locations
 | 
			
		||||
 *   driver
 | 
			
		||||
 *   |  R location
 | 
			
		||||
| 
						 | 
				
			
			@ -122,7 +122,7 @@ Currently only 4 drivers are supported, but it would be trivial to support all 8
 | 
			
		|||
Define these arrays listing all the LEDs in your `<keyboard>.c`:
 | 
			
		||||
 | 
			
		||||
```c
 | 
			
		||||
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
/* Refer to IS31 manual for these locations
 | 
			
		||||
 *   driver
 | 
			
		||||
 *   |  R location
 | 
			
		||||
| 
						 | 
				
			
			@ -186,7 +186,7 @@ Currently only 2 drivers are supported, but it would be trivial to support all 4
 | 
			
		|||
Define these arrays listing all the LEDs in your `<keyboard>.c`:
 | 
			
		||||
 | 
			
		||||
```c
 | 
			
		||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
/* Refer to IS31 manual for these locations
 | 
			
		||||
 *   driver
 | 
			
		||||
 *   |  R location
 | 
			
		||||
| 
						 | 
				
			
			@ -287,7 +287,7 @@ Here is an example using 2 drivers.
 | 
			
		|||
Define these arrays listing all the LEDs in your `<keyboard>.c`:
 | 
			
		||||
 | 
			
		||||
```c
 | 
			
		||||
const aw_led g_aw_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
const aw_led __flash g_aw_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
/* Each AW20216 channel is controlled by a register at some offset between 0x00
 | 
			
		||||
 * and 0xD7 inclusive.
 | 
			
		||||
 * See drivers/awinic/aw20216.h for the mapping between register offsets and
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -52,7 +52,7 @@ I2C IS31FL3731 RGB コントローラを使ったアドレス指定可能な LED
 | 
			
		|||
 | 
			
		||||
`<keyboard>.c` に全ての LED を列挙する配列を定義します:
 | 
			
		||||
 | 
			
		||||
    const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
    const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
    /* これらの位置については IS31 マニュアルを参照してください
 | 
			
		||||
    *   driver
 | 
			
		||||
    *   |  LED address
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue