2019-11-05 08:05:51 +01:00
|
|
|
#pragma once
|
2016-12-19 00:35:03 +01:00
|
|
|
|
|
|
|
#include "quantum.h"
|
|
|
|
|
|
|
|
/* XD60 LEDs
|
|
|
|
* GPIO pads
|
2017-02-14 03:09:02 +01:00
|
|
|
* 0 F7 not connected
|
|
|
|
* 1 F6 RGB PWM Underglow
|
|
|
|
* 2 F5 Backlight LED
|
|
|
|
* 3 F4 not connected
|
2016-12-19 00:35:03 +01:00
|
|
|
* B2 Capslock LED
|
|
|
|
* B0 not connected
|
|
|
|
*/
|
|
|
|
inline void xd60_caps_led_on(void) { DDRB |= (1<<2); PORTB &= ~(1<<2); }
|
2018-05-09 16:52:35 +02:00
|
|
|
inline void xd60_bl_led_on(void) { DDRF |= (1<<5); PORTF &= ~(1<<5); }
|
2016-12-19 00:35:03 +01:00
|
|
|
|
|
|
|
inline void xd60_caps_led_off(void) { DDRB &= ~(1<<2); PORTB &= ~(1<<2); }
|
2018-05-09 16:52:35 +02:00
|
|
|
inline void xd60_bl_led_off(void) { DDRF &= ~(1<<5); PORTF &= ~(1<<5); }
|