5 void matrix_init_kb(void) {
6 // put your keyboard start-up code here
7 // runs once when the firmware starts up
10 // JTAG disable for PORT F. write JTD bit twice within four cycles.
15 void led_set_kb(uint8_t usb_led)
20 void backlight_init_ports(void)
25 // Initialize the timer
32 void backlight_set(uint8_t level)
34 // Determine the PWM level
54 xprintf("Unknown level: %d\n", level);
57 // Write the PWM level to the timer
58 TC4H = pwm_level >> 8;
59 OCR4A = 0xFF & pwm_level;