Bus services: Difference between revisions

Created page with "= gpio = {| class="wikitable" border="1" |- ! Cmd || Name |- | 0 || OpenGpioRaw |- | 1 || OpenGpioById |- | 2 || |- | 3 || |- | 4 || |- | 5 || |- | 6 || |} == OpenGpioById ==..."
 
Line 4: Line 4:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || OpenGpioRaw
| 0 || OpenSessionForDev
|-
|-
| 1 || OpenGpioById
| 1 || [[#OpenSession]]
|-
|-
| 2 ||
| 2 || [[#OpenSessionForTest]]
|-
|-
| 3 ||
| 3 || IsWakeEventActive
|-
|-
| 4 ||
| 4 || GetWakeEventActiveFlagSet
|-
|-
| 5 ||
| 5 || SetWakeEventActiveFlagSetForDebug
|-
|-
| 6 ||
| 6 ||
|}
|}


== OpenGpioById ==
== OpenSession ==
Same thing as OpenGpioByRaw except the descriptor is looked up in a table:
Same thing as OpenSessionForDev except the descriptor is looked up in a table:


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Input id || GpioDescriptor
! Input id || GpioPadName
|-
|-
| 2 || 0x24
| 2 || 0x24
Line 43: Line 43:
|}
|}


== GpioDescriptor ==
== OpenSessionForTest ==
Same as [[#OpenSession]] but panics on failure.
 
== GpioPadName ==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-