Line 6: |
Line 6: |
| ! Cmd || Name | | ! Cmd || Name |
| |- | | |- |
− | | 0 || [[#OpenSessionForDev|OpenSessionForDev]] | + | | 0 || [5.0.0+] [[#OpenSessionForDevDeprecated|OpenSessionForDevDeprecated]] ([1.0.0-4.1.0] OpenSessionForDev) |
| |- | | |- |
− | | 1 || [[#OpenSession|OpenSession]] | + | | 1 || [5.0.0+] [[#OpenSessionDeprecated|OpenSessionDeprecated]] ([1.0.0-4.1.0] OpenSession) |
| |- | | |- |
− | | 2 || [[#OpenSessionForTest|OpenSessionForTest]] | + | | 2 || [5.0.0+] [[#OpenSessionForTestDeprecated|OpenSessionForTestDeprecated]] ([1.0.0-4.1.0] OpenSessionForTest) |
| |- | | |- |
− | | 3 || [1.0.0-6.2.0] [[#IsWakeEventActive|IsWakeEventActive]] | + | | 3 || [5.0.0-6.2.0] [[#IsWakeEventActiveDeprecated|IsWakeEventActiveDeprecated]] ([1.0.0-4.1.0] IsWakeEventActive) |
| |- | | |- |
− | | 4 || [1.0.0-6.2.0] [[#GetWakeEventActiveFlagSet|GetWakeEventActiveFlagSet]] | + | | 4 || [5.0.0-6.2.0] [[#GetWakeEventActiveFlagSetDeprecated|GetWakeEventActiveFlagSetDeprecated]] ([1.0.0-4.1.0] GetWakeEventActiveFlagSet) |
| |- | | |- |
− | | 5 || [1.0.0-6.2.0] [[#SetWakeEventActiveFlagSetForDebug|SetWakeEventActiveFlagSetForDebug]] | + | | 5 || [5.0.0-6.2.0] [[#SetWakeEventActiveFlagSetForDebugDeprecated|SetWakeEventActiveFlagSetForDebugDeprecated]] ([1.0.0-4.1.0] SetWakeEventActiveFlagSetForDebug) |
| |- | | |- |
| | 6 || [[#SetWakePinDebugMode|SetWakePinDebugMode]] | | | 6 || [[#SetWakePinDebugMode|SetWakePinDebugMode]] |
| |- | | |- |
− | | 7 || [5.0.0+] [[#OpenSession2|OpenSession2]] | + | | 7 || [5.0.0+] [[#OpenSession|OpenSession]] |
| |- | | |- |
− | | 8 || [5.0.0+] [[#IsWakeEventActive2|IsWakeEventActive2]] | + | | 8 || [5.0.0+] [[#IsWakeEventActive|IsWakeEventActive]] |
| |- | | |- |
− | | 9 || [5.0.0+] [[#SetWakeEventActiveFlagSetForDebug2|SetWakeEventActiveFlagSetForDebug2]] | + | | 9 || [5.0.0+] [[#SetWakeEventActiveFlagSetForDebug|SetWakeEventActiveFlagSetForDebug]] |
| |- | | |- |
− | | 10 || [6.0.0+] [[#SetRetryPolicy|SetRetryPolicy]] | + | | 10 || [6.0.0+] [[#DumpStateForDebug|DumpStateForDebug]] |
| |} | | |} |
| | | |
− | == OpenSessionForDev == | + | == OpenSessionForDevDeprecated == |
| Takes an input [[#GpioPadDescriptor]]. Returns an [[#IPadSession]]. | | Takes an input [[#GpioPadDescriptor]]. Returns an [[#IPadSession]]. |
| | | |
− | == OpenSession == | + | == OpenSessionDeprecated == |
− | Same as [[#OpenSessionForDev]] except it takes a [[#GpioPadName]] which is then converted to a [[#GpioPadDescriptor]]. Returns an [[#IPadSession]]. | + | Same as [[#OpenSessionForDevDeprecated]] except it takes a [[#GpioPadName]] which is then converted to a [[#GpioPadDescriptor]]. Returns an [[#IPadSession]]. |
| | | |
− | == OpenSessionForTest == | + | == OpenSessionForTestDeprecated == |
− | Same as [[#OpenSession]] but panics on failure. | + | Same as [[#OpenSessionDeprecated]] but panics on failure. |
| | | |
− | == IsWakeEventActive == | + | == IsWakeEventActiveDeprecated == |
| Takes an input [[#GpioPadName]]. Returns a bool '''IsActive'''. | | Takes an input [[#GpioPadName]]. Returns a bool '''IsActive'''. |
| | | |
− | == GetWakeEventActiveFlagSet == | + | == GetWakeEventActiveFlagSetDeprecated == |
| No input. Returns an output u128 [[#WakeBitFlag]]. | | No input. Returns an output u128 [[#WakeBitFlag]]. |
| | | |
− | == SetWakeEventActiveFlagSetForDebug == | + | == SetWakeEventActiveFlagSetForDebugDeprecated == |
| Takes an input [[#GpioPadName]] and an input bool '''IsEnabled'''. No output. | | Takes an input [[#GpioPadName]] and an input bool '''IsEnabled'''. No output. |
| | | |
Line 50: |
Line 50: |
| Takes an input u32 '''WakePinDebugMode'''. No output. | | Takes an input u32 '''WakePinDebugMode'''. No output. |
| | | |
− | == OpenSession2 == | + | == OpenSession == |
− | Same as [[#OpenSession]] but takes a [[#GpioPadName|DeviceCode]] and an input u32 [[#AccessMode]]. | + | Same as [[#OpenSessionDeprecated]] but takes a [[#GpioPadName|DeviceCode]] and an input u32 [[#AccessMode]]. |
| | | |
− | == IsWakeEventActive2 == | + | == IsWakeEventActive == |
− | Same as [[#IsWakeEventActive]] but takes a [[#GpioPadName|DeviceCode]]. | + | Same as [[#IsWakeEventActiveDeprecated]] but takes a [[#GpioPadName|DeviceCode]]. |
| | | |
− | == SetWakeEventActiveFlagSetForDebug2 == | + | == SetWakeEventActiveFlagSetForDebug == |
− | Same as [[#SetWakeEventActiveFlagSetForDebug]] but takes a [[#GpioPadName|DeviceCode]]. | + | Same as [[#SetWakeEventActiveFlagSetForDebugDeprecated]] but takes a [[#GpioPadName|DeviceCode]]. |
| | | |
− | == SetRetryPolicy == | + | == DumpStateForDebug == |
| Stubbed. Returns 0. | | Stubbed. Returns 0. |
| | | |
Line 69: |
Line 69: |
| ! Cmd || Name | | ! Cmd || Name |
| |- | | |- |
− | | 0 || [[#SetDirection|SetDirection]] | + | | 0 || [12.0.0+] [[#SetDirectionDeprecated|SetDirectionDeprecated]] ([1.0.0-11.0.1] SetDirection) |
| |- | | |- |
| | 1 || [[#GetDirection|GetDirection]] | | | 1 || [[#GetDirection|GetDirection]] |
Line 103: |
Line 103: |
| | 16 || [4.0.0+] [[#SetValueForSleepState|SetValueForSleepState]] | | | 16 || [4.0.0+] [[#SetValueForSleepState|SetValueForSleepState]] |
| |- | | |- |
− | | 17 || [6.0.0+] [[#GetValueForSleepState|GetValueForSleepState]] | + | | 17 || [6.0.0+] [[#GetMaxDebounceTime|GetMaxDebounceTime]] |
| |- | | |- |
− | | 18 || [12.0.0+] [[#SetInput|SetInput]] | + | | 18 || [12.0.0+] [[#SetDirectionInput|SetDirectionInput]] |
| |- | | |- |
− | | 19 || [12.0.0+] [[#SetOutput|SetOutput]] | + | | 19 || [12.0.0+] [[#SetDirectionOutput|SetDirectionOutput]] |
| |} | | |} |
| | | |
− | === SetDirection === | + | === SetDirectionDeprecated === |
| Takes an input u32 [[#Direction]]. No output. | | Takes an input u32 [[#Direction]]. No output. |
| | | |
Line 161: |
Line 161: |
| Takes an input u32 '''ValueForSleepState'''. No output. | | Takes an input u32 '''ValueForSleepState'''. No output. |
| | | |
− | === GetValueForSleepState === | + | === GetMaxDebounceTime === |
− | No input. Returns an output u32 '''ValueForSleepState'''. | + | No input. Returns an output u32 '''MaxDebounceTime'''. |
| | | |
− | === SetInput === | + | === SetDirectionInput === |
| No input/output. | | No input/output. |
| | | |
− | === SetOutput === | + | === SetDirectionOutput === |
| Takes an input u32 [[#GpioValue]]. No output. | | Takes an input u32 [[#GpioValue]]. No output. |
| | | |