Changes

612 bytes added ,  22:14, 3 March 2020
no edit summary
Line 647: Line 647:     
== OpenSession ==
 
== OpenSession ==
Takes an '''AssignablePinGroupName''' and returns an [[#ISession|ISession]].
+
Takes an [[#AssignablePinGroupName]] or an [[#AssignablePinGroupNameForHardwareTest]] and returns an [[#ISession|ISession]].
 +
 
 +
== AssignablePinGroupName ==
 +
{| class="wikitable sortable" border="1"
 +
|-
 +
! Name || Usage
 +
|-
 +
| 0 || GPIO(G, 0) and GPIO(G, 3)
 +
|-
 +
| 1 || GPIO(D, 1) and GPIO(D, 4)
 +
|-
 +
| 2 || Sdmmc1Clk or GPIO(M, 0), GPIO(M, 1), GPIO(M, 2), GPIO(M, 3), GPIO(M, 4) and GPIO(M, 5)
 +
|-
 +
| 3 || GPIO(V, 4)
 +
|-
 +
| 100 || Invalid
 +
|}
 +
 
 +
== AssignablePinGroupNameForHardwareTest ==
 +
{| class="wikitable sortable" border="1"
 +
|-
 +
! Name || Usage
 +
|-
 +
| 0 || Invalid
 +
|-
 +
| 1 || Invalid
 +
|-
 +
| 2 || Invalid
 +
|-
 +
| 3 || Invalid
 +
|-
 +
| 100 || Uart4Tx, Uart4Rx, Uart4Rts and Uart4Cts
 +
|}
    
== ISession ==
 
== ISession ==
Line 670: Line 702:     
=== SetPinAssignmentForHardwareTest ===
 
=== SetPinAssignmentForHardwareTest ===
Same as [[#SetPinAssignment]].
+
Takes an u32 '''PinAssignmentForHardwareTest'''. No output.
    
= sasbus =
 
= sasbus =