Line 471:
Line 471:
== IsSupportedBaudRate ==
== IsSupportedBaudRate ==
β
Takes an u32 [[#UartPort]] and an u32 '''baudrate'''. Returns a boolean success value.
+
Takes an u32 [[#UartPort]] and an u32 '''BaudRate'''. Returns a boolean success value.
Supported baud rates are 57600, 115200, 1000000 and 3000000.
Supported baud rates are 57600, 115200, 1000000 and 3000000.
== IsSupportedBaudRateForDev ==
== IsSupportedBaudRateForDev ==
β
Takes an u32 [[#UartPortForDev]] and an u32 '''baudrate'''. Returns a boolean success value.
+
Takes an u32 [[#UartPortForDev]] and an u32 '''BaudRate'''. Returns a boolean success value.
Supported baud rates are 57600, 115200, 1000000 and 3000000.
Supported baud rates are 57600, 115200, 1000000 and 3000000.
== IsSupportedFlowControlMode ==
== IsSupportedFlowControlMode ==
β
Takes an u32 [[#UartPort]] and an u32 '''mode'''. Returns a boolean success value.
+
Takes an u32 [[#UartPort]] and an u32 '''FlowControlMode'''. Returns a boolean success value.
Supported modes are 0 (RTS) and 1 (CTS).
Supported modes are 0 (RTS) and 1 (CTS).
== IsSupportedFlowControlModeForDev ==
== IsSupportedFlowControlModeForDev ==
β
Takes an u32 [[#UartPortForDev]] and an u32 '''mode'''. Returns a boolean success value.
+
Takes an u32 [[#UartPortForDev]] and an u32 '''FlowControlMode'''. Returns a boolean success value.
Supported modes are 0 (RTS) and 1 (CTS).
Supported modes are 0 (RTS) and 1 (CTS).
Line 494:
Line 494:
== IsSupportedPortEvent ==
== IsSupportedPortEvent ==
β
Takes an u32 [[#UartPort]] and an u32 '''event'''. Returns a boolean success value.
+
Takes an u32 [[#UartPort]] and an u32 '''PortEvent'''. Returns a boolean success value.
Supported events are 0 (data), 1 (break), 2 (unknown) and 3 (unknown).
Supported events are 0 (data), 1 (break), 2 (unknown) and 3 (unknown).
== IsSupportedPortEventForDev ==
== IsSupportedPortEventForDev ==
β
Takes an u32 [[#UartPortForDev]] and an u32 '''event'''. Returns a boolean success value.
+
Takes an u32 [[#UartPortForDev]] and an u32 '''PortEvent'''. Returns a boolean success value.
Supported events are 0 (data), 1 (break), 2 (unknown) and 3 (unknown).
Supported events are 0 (data), 1 (break), 2 (unknown) and 3 (unknown).
== IsSupportedDevice ==
== IsSupportedDevice ==
β
Takes an u32 [[#UartPort]] and an u32 '''device'''. Returns a boolean success value.
+
Takes an u32 [[#UartPort]] and an u32 '''Device'''. Returns a boolean success value.
Supported devices are 0 (Bluetooth) for UART-D, 0 (Joy-Con(R)) for UART-B, 0 (Joy-Con(L)) and 1 (MCU) for UART-C.
Supported devices are 0 (Bluetooth) for UART-D, 0 (Joy-Con(R)) for UART-B, 0 (Joy-Con(L)) and 1 (MCU) for UART-C.
== IsSupportedDeviceForDev ==
== IsSupportedDeviceForDev ==
β
Takes an u32 [[#UartPortForDev]] and an u32 '''device'''. Returns a boolean success value.
+
Takes an u32 [[#UartPortForDev]] and an u32 '''Device'''. Returns a boolean success value.
Supported devices are 0 (Bluetooth) for UART-D, 0 (Joy-Con(R)) for UART-B, 0 (Joy-Con(L)) and 1 (MCU) for UART-C.
Supported devices are 0 (Bluetooth) for UART-D, 0 (Joy-Con(R)) for UART-B, 0 (Joy-Con(L)) and 1 (MCU) for UART-C.