Home
last modified time | relevance | path

Searched refs:gpio (Results 1 – 3 of 3) sorted by relevance

/openthread-3.5.0/src/core/diags/
DREADME.md21 - [diag gpio](#diag-gpio-get-gpio)
267 ### diag gpio get \<gpio\>
269 Get the gpio value.
272 > diag gpio get 0
277 ### diag gpio set \<gpio\> \<value\>
279 Set the gpio value.
284 > diag gpio set 0 1
288 ### diag gpio mode \<gpio\>
290 Get the gpio mode.
293 > diag gpio mode 1
[all …]
Dfactory_diags.cpp713 uint32_t gpio; in ProcessGpio() local
720 gpio = static_cast<uint32_t>(value); in ProcessGpio()
721 SuccessOrExit(error = otPlatDiagGpioGet(gpio, &level)); in ProcessGpio()
727 gpio = static_cast<uint32_t>(value); in ProcessGpio()
729 SuccessOrExit(error = otPlatDiagGpioSet(gpio, level)); in ProcessGpio()
734 gpio = static_cast<uint32_t>(value); in ProcessGpio()
738 SuccessOrExit(error = otPlatDiagGpioGetMode(gpio, &mode)); in ProcessGpio()
750 SuccessOrExit(error = otPlatDiagGpioSetMode(gpio, OT_GPIO_MODE_INPUT)); in ProcessGpio()
754 SuccessOrExit(error = otPlatDiagGpioSetMode(gpio, OT_GPIO_MODE_OUTPUT)); in ProcessGpio()
/openthread-3.5.0/tools/spi-hdlc-adapter/
DREADME.md17 - `--gpio-int[=gpio-path]`: Specify a path to the Linux sysfs-exported GPIO directory for the `I̅N̅…
18 - `--gpio-reset[=gpio-path]`: Specify a path to the Linux sysfs-exported GPIO directory for the `R̅…
33 …me, the special vendor-specific HDLC-lite symbol `0xF8` is emitted. If `--gpio-reset` is specified…