Changes

Jump to navigation Jump to search
368 bytes added ,  05:26, 30 September 2018
no edit summary
Line 393: Line 393:  
|-
 
|-
 
| 8 || IsSomethingUartValid2ForTest
 
| 8 || IsSomethingUartValid2ForTest
 +
|}
 +
 +
== DoesUartExist ==
 +
Takes a u32 [[#UartPort]] and returns boolean success value
 +
 +
== SetUartBaudrate ==
 +
Takes a u32 [[#UartPort]] and a u32 baudrate and returns boolean success value
 +
 +
== IsSomethingUartValid ==
 +
Takes a u32 [[#UartPort]] and returns boolean success value
 +
 +
== GetSession ==
 +
Takes a u32 [[#UartPort]] and returns an [[#IPortSession]]
 +
 +
 +
== UartPort ==
 +
{| class="wikitable sortable" border="1"
 +
|-
 +
! Name || Port || Usage
 +
|-
 +
| 1 || UART-D || Bluetooth
 +
|-
 +
| 2 || UART-B || Joy-Con(R)
 +
|-
 +
| 3 || UART-C || Joy-Con(L)
 
|}
 
|}
   Line 420: Line 445:     
=== Port Mapping ===
 
=== Port Mapping ===
OpenSession translates user IDs to to the uart port index.
+
OpenSession translates user IDs to to the [[#UartPort]] index.
    
OpenSessionForTest takes the port index verbatim.
 
OpenSessionForTest takes the port index verbatim.
  −
{| class="wikitable sortable" border="1"
  −
|-
  −
! Name || Port || Usage
  −
|-
  −
| 1 || UART-D || Bluetooth
  −
|-
  −
| 2 || UART-B || Joy-Con(R)
  −
|-
  −
| 3 || UART-C || Joy-Con(L)
  −
|}
      
= pwm =
 
= pwm =

Navigation menu