Searched refs:gpio (Results 1 – 6 of 6) sorted by relevance
/openthread-latest/src/core/diags/ |
D | README.md | 22 - [diag gpio](#diag-gpio-get-gpio) 368 ### diag gpio get \<gpio\> 370 Get the gpio value. 373 > diag gpio get 0 378 ### diag gpio set \<gpio\> \<value\> 380 Set the gpio value. 385 > diag gpio set 0 1 389 ### diag gpio mode \<gpio\> 391 Get the gpio mode. 394 > diag gpio mode 1 [all …]
|
D | factory_diags.cpp | 1055 uint32_t gpio; in ProcessGpio() local 1061 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint32(aArgs[1], gpio)); in ProcessGpio() 1062 SuccessOrExit(error = otPlatDiagGpioGet(gpio, &level)); in ProcessGpio() 1067 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint32(aArgs[1], gpio)); in ProcessGpio() 1069 SuccessOrExit(error = otPlatDiagGpioSet(gpio, level)); in ProcessGpio() 1073 SuccessOrExit(error = Utils::CmdLineParser::ParseAsUint32(aArgs[1], gpio)); in ProcessGpio() 1077 SuccessOrExit(error = otPlatDiagGpioGetMode(gpio, &mode)); in ProcessGpio() 1089 SuccessOrExit(error = otPlatDiagGpioSetMode(gpio, OT_GPIO_MODE_INPUT)); in ProcessGpio() 1093 SuccessOrExit(error = otPlatDiagGpioSetMode(gpio, OT_GPIO_MODE_OUTPUT)); in ProcessGpio()
|
/openthread-latest/tools/cp-caps/ |
D | rcp_caps_test.py | 442 gpio = self.__get_dut_diag_gpio() 446 self.__dut.diag_set_gpio_value(gpio, 0) 447 value_0 = self.__dut.diag_get_gpio_value(gpio) 448 self.__dut.diag_set_gpio_value(gpio, 1) 449 value_1 = self.__dut.diag_get_gpio_value(gpio) 458 gpio = self.__get_dut_diag_gpio() 462 self.__dut.diag_set_gpio_mode(gpio, 'in') 463 mode_in = self.__dut.diag_get_gpio_mode(gpio) 464 self.__dut.diag_set_gpio_value(gpio, 'out') 465 mode_out = self.__dut.diag_get_gpio_mode(gpio)
|
D | README.md | 91 - DUT_DIAG_GPIO: Diag gpio value. The default value is `0` if it is not set. 126 diag gpio mode 2 ----------------------------------------- NotSupported 127 diag gpio mode 2 in -------------------------------------- NotSupported 128 diag gpio mode 2 out ------------------------------------- NotSupported 129 diag gpio get 2 ------------------------------------------ NotSupported 130 diag gpio set 2 0 ---------------------------------------- NotSupported 131 diag gpio set 2 1 ---------------------------------------- NotSupported
|
/openthread-latest/tools/spi-hdlc-adapter/ |
D | README.md | 17 - `--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…
|
/openthread-latest/tools/otci/otci/ |
D | otci.py | 2713 def diag_set_gpio_value(self, gpio: int, value: int): 2717 def diag_get_gpio_value(self, gpio: int) -> int: 2721 def diag_set_gpio_mode(self, gpio: int, mode: str): 2725 def diag_get_gpio_mode(self, gpio: int) -> str:
|