Changes

59 bytes added ,  01:11, 23 October 2019
Line 441: Line 441:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || [[#DoesUartExist]]
+
| 0 || [[#HasPort]]
 
|-
 
|-
| 1 || DoesUartExistForTest
+
| 1 || HasPortForDev
 
|-
 
|-
| 2 || [[#IsUartBaudrateValid]]
+
| 2 || [[#IsSupportedBaudRate]]
 
|-
 
|-
| 3 || IsUartBaudrateValidForTest
+
| 3 || IsSupportedBaudRateForDev
 
|-
 
|-
| 4 || [[#IsSomethingUartValid]]
+
| 4 || [[#IsSupportedFlowControlMode]]
 
|-
 
|-
| 5 || IsSomethingUartValidForTest
+
| 5 || IsSupportedFlowControlModeForDev
 
|-
 
|-
| 6 || [[#GetSession]]
+
| 6 || [[#CreatePortSession]]
 
|-
 
|-
| 7 || IsSomethingUartValid2
+
| 7 || IsSupportedPortEvent
 
|-
 
|-
| 8 || IsSomethingUartValid2ForTest
+
| 8 || IsSupportedPortEventForDev
 
|-
 
|-
| 9 || [7.0.0+] IsSomethingUartValid3
+
| 9 || [7.0.0+] IsSupportedUnknown
 
|-
 
|-
| 10 || [7.0.0+] IsSomethingUartValid3ForTest
+
| 10 || [7.0.0+] IsSupportedUnknownForDev
 
|}
 
|}
   −
== DoesUartExist ==
+
== HasPort ==
 
Takes a u32 [[#UartPort]] and returns boolean success value.
 
Takes a u32 [[#UartPort]] and returns boolean success value.
   −
== IsUartBaudrateValid ==
+
== IsSupportedBaudRate ==
 
Takes a u32 [[#UartPort]] and a u32 baudrate and returns boolean success value.
 
Takes a u32 [[#UartPort]] and a u32 baudrate and returns boolean success value.
   −
== IsSomethingUartValid ==
+
== IsSupportedFlowControlMode ==
 
Takes a u32 [[#UartPort]] and returns boolean success value.
 
Takes a u32 [[#UartPort]] and returns boolean success value.
   −
== GetSession ==
+
== CreatePortSession ==
 
Takes a u32 [[#UartPort]] and returns an [[#IPortSession]].
 
Takes a u32 [[#UartPort]] and returns an [[#IPortSession]].
   Line 497: Line 497:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || OpenSession
+
| 0 || OpenPort
 
|-
 
|-
| 1 || OpenSessionForTest
+
| 1 || OpenPortForDev
 
|-
 
|-
| 2 ||
+
| 2 || GetWritableLength
 
|-
 
|-
| 3 ||
+
| 3 || Send
 
|-
 
|-
| 4 ||
+
| 4 || GetReadableLength
 
|-
 
|-
| 5 ||
+
| 5 || Receive
 
|-
 
|-
| 6 ||
+
| 6 || BindPortEvent
 
|-
 
|-
| 7 ||
+
| 7 || UnbindPortEvent
 
|}
 
|}
   −
[7.0.0+] OpenSession/OpenSessionForTest now takes an additional 0x8-bytes of input.
+
[7.0.0+] OpenPort/OpenPortForDev now takes an additional 0x8-bytes of input.
    
=== Port Mapping ===
 
=== Port Mapping ===
OpenSession translates user IDs to to the [[#UartPort]] index.
+
OpenPort translates user IDs to to the [[#UartPort]] index.
   −
OpenSessionForTest takes the port index verbatim.
+
OpenPortForDev takes the port index verbatim.
    
= pwm =
 
= pwm =