]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/UARTConnect/capabilities.kll
Adding basic remote capabilities + UART Rx DMA buffers
[kiibohd-controller.git] / Scan / UARTConnect / capabilities.kll
index a651dc23d2dd6b4b29efd2fe711ad8cd2eecdb9f..bab1b6198ca676e59e3510e1783c99b60c125747 100644 (file)
@@ -26,6 +26,23 @@ UARTConnectBaudFine => UARTConnectBaudFine_define;
 # Thus baud setting = 26
 # NOTE: If finer baud adjustment is needed see UARTx_C4 -> BRFA in the datasheet
 # Baud fine setting = 0x02
-UARTConnectBaud = 26;
-UARTConnectBaudFine = 0x02;
+UARTConnectBaud = 1; # 4.5 Mbpsa  @ 72 MHz
+UARTConnectBaudFine = 0x0;
+
+#UARTConnectBaud = 39; # 115385 bps @ 72 MHz (close to 115200)
+
+# Cable Check Command Length
+# This defines the length of the cable command
+# 0xD2 11010010 is used for each check byte
+#
+# For example:
+# Length: 4
+# Args: 0xD2 0xD2 0xD2 0xD2
+UARTConnectCableCheckLength => UARTConnectCableCheckLength_define;
+UARTConnectCableCheckLength = 2;
+
+# Connect Enable
+# Define used to indicate to non-connect modules that support should be compiled in
+ConnectEnabled => ConnectEnabled_define;
+ConnectEnabled = 1;