Kiibohd Controller
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

capabilities.kll 1.1KB

12345678910111213141516171819202122232425262728293031
  1. Name = UARTConnectCapabilities;
  2. Version = 0.1;
  3. Author = "HaaTa (Jacob Alexander) 2015";
  4. KLL = 0.3a;
  5. # Modified Date
  6. Date = 2015-03-15;
  7. # UART Buffer Size
  8. # Number of bytes to reserve for each side of UARTConnect
  9. # For true NKRO support must be at least: <# of Keys> x 3 + 5
  10. UARTConnectBufSize => UARTConnectBufSize_define;
  11. UARTConnectBufSize = 128; # MDErgo1 requires at least a 119 byte buffer
  12. # UART Speed
  13. # *NOTE* This must be changed on every device in the chain or else UARTConnect will not work
  14. # The faster the speed, the lower the latency, but higher chance for an error
  15. UARTConnectBaud => UARTConnectBaud_define;
  16. UARTConnectBaudFine => UARTConnectBaudFine_define;
  17. # Generally, leave BaudFine at zero unless trying to tune the link to an external UART
  18. # You'll want to look at the specific chip datasheet for the exact equation
  19. #
  20. # Example of 115200 Baud using a 48 MHz clock (mk20dx128vlf5)
  21. # 48 MHz / ( 16 * Baud ) = BDH/L
  22. # Baud: 115200 -> 48 MHz / ( 16 * 115200 ) = 26.0416667
  23. # Thus baud setting = 26
  24. # NOTE: If finer baud adjustment is needed see UARTx_C4 -> BRFA in the datasheet
  25. # Baud fine setting = 0x02
  26. UARTConnectBaud = 26;
  27. UARTConnectBaudFine = 0x02;