Bus services: Difference between revisions
Actual names |
|||
Line 6: | Line 6: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || [[# | | 0 || [5.0.0+] [[#OpenSessionForDevDeprecated|OpenSessionForDevDeprecated]] ([1.0.0-4.1.0] OpenSessionForDev) | ||
|- | |- | ||
| 1 || [[# | | 1 || [5.0.0+] [[#OpenSessionDeprecated|OpenSessionDeprecated]] ([1.0.0-4.1.0] OpenSession) | ||
|- | |- | ||
| 2 || [[# | | 2 || [5.0.0+] [[#OpenSessionForTestDeprecated|OpenSessionForTestDeprecated]] ([1.0.0-4.1.0] OpenSessionForTest) | ||
|- | |- | ||
| 3 || [ | | 3 || [5.0.0-6.2.0] [[#IsWakeEventActiveDeprecated|IsWakeEventActiveDeprecated]] ([1.0.0-4.1.0] IsWakeEventActive) | ||
|- | |- | ||
| 4 || [ | | 4 || [5.0.0-6.2.0] [[#GetWakeEventActiveFlagSetDeprecated|GetWakeEventActiveFlagSetDeprecated]] ([1.0.0-4.1.0] GetWakeEventActiveFlagSet) | ||
|- | |- | ||
| 5 || [ | | 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+] [[# | | 7 || [5.0.0+] [[#OpenSession|OpenSession]] | ||
|- | |- | ||
| 8 || [5.0.0+] [[# | | 8 || [5.0.0+] [[#IsWakeEventActive|IsWakeEventActive]] | ||
|- | |- | ||
| 9 || [5.0.0+] [[# | | 9 || [5.0.0+] [[#SetWakeEventActiveFlagSetForDebug|SetWakeEventActiveFlagSetForDebug]] | ||
|- | |- | ||
| 10 || [6.0.0+] [[# | | 10 || [6.0.0+] [[#DumpStateForDebug|DumpStateForDebug]] | ||
|} | |} | ||
== | == OpenSessionForDevDeprecated == | ||
Takes an input [[#GpioPadDescriptor]]. Returns an [[#IPadSession]]. | Takes an input [[#GpioPadDescriptor]]. Returns an [[#IPadSession]]. | ||
== | == OpenSessionDeprecated == | ||
Same as [[# | Same as [[#OpenSessionForDevDeprecated]] except it takes a [[#GpioPadName]] which is then converted to a [[#GpioPadDescriptor]]. Returns an [[#IPadSession]]. | ||
== | == OpenSessionForTestDeprecated == | ||
Same as [[# | Same as [[#OpenSessionDeprecated]] but panics on failure. | ||
== | == IsWakeEventActiveDeprecated == | ||
Takes an input [[#GpioPadName]]. Returns a bool '''IsActive'''. | Takes an input [[#GpioPadName]]. Returns a bool '''IsActive'''. | ||
== | == GetWakeEventActiveFlagSetDeprecated == | ||
No input. Returns an output u128 [[#WakeBitFlag]]. | No input. Returns an output u128 [[#WakeBitFlag]]. | ||
== | == 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. | ||
== | == OpenSession == | ||
Same as [[# | Same as [[#OpenSessionDeprecated]] but takes a [[#GpioPadName|DeviceCode]] and an input u32 [[#AccessMode]]. | ||
== | == IsWakeEventActive == | ||
Same as [[# | Same as [[#IsWakeEventActiveDeprecated]] but takes a [[#GpioPadName|DeviceCode]]. | ||
== | == SetWakeEventActiveFlagSetForDebug == | ||
Same as [[# | Same as [[#SetWakeEventActiveFlagSetForDebugDeprecated]] but takes a [[#GpioPadName|DeviceCode]]. | ||
== | == DumpStateForDebug == | ||
Stubbed. Returns 0. | Stubbed. Returns 0. | ||
Line 69: | Line 69: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || [[# | | 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+] [[# | | 17 || [6.0.0+] [[#GetMaxDebounceTime|GetMaxDebounceTime]] | ||
|- | |- | ||
| 18 || [12.0.0+] [[# | | 18 || [12.0.0+] [[#SetDirectionInput|SetDirectionInput]] | ||
|- | |- | ||
| 19 || [12.0.0+] [[# | | 19 || [12.0.0+] [[#SetDirectionOutput|SetDirectionOutput]] | ||
|} | |} | ||
=== | === 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. | ||
=== | === GetMaxDebounceTime === | ||
No input. Returns an output u32 ''' | No input. Returns an output u32 '''MaxDebounceTime'''. | ||
=== | === SetDirectionInput === | ||
No input/output. | No input/output. | ||
=== | === SetDirectionOutput === | ||
Takes an input u32 [[#GpioValue]]. No output. | Takes an input u32 [[#GpioValue]]. No output. | ||