Searched refs:aGpio (Results 1 – 4 of 4) sorted by relevance
/openthread-3.7.0/examples/platforms/simulation/ |
D | diag.c | 78 otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue) in otPlatDiagGpioSet() argument 82 otEXPECT_ACTION(aGpio == SIM_GPIO, error = OT_ERROR_INVALID_ARGS); in otPlatDiagGpioSet() 89 otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue) in otPlatDiagGpioGet() argument 93 otEXPECT_ACTION((aGpio == SIM_GPIO) && (aValue != NULL), error = OT_ERROR_INVALID_ARGS); in otPlatDiagGpioGet() 100 otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode) in otPlatDiagGpioSetMode() argument 104 otEXPECT_ACTION(aGpio == SIM_GPIO, error = OT_ERROR_INVALID_ARGS); in otPlatDiagGpioSetMode() 111 otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode) in otPlatDiagGpioGetMode() argument 115 otEXPECT_ACTION((aGpio == SIM_GPIO) && (aMode != NULL), error = OT_ERROR_INVALID_ARGS); in otPlatDiagGpioGetMode()
|
/openthread-3.7.0/include/openthread/platform/ |
D | diag.h | 155 otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue); 170 otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue); 185 otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode); 201 otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode);
|
/openthread-3.7.0/src/posix/platform/ |
D | radio.cpp | 561 otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue) in otPlatDiagGpioSet() argument 566 snprintf(cmd, sizeof(cmd), "gpio set %d %d", aGpio, aValue); in otPlatDiagGpioSet() 573 otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue) in otPlatDiagGpioGet() argument 580 snprintf(cmd, sizeof(cmd), "gpio get %d", aGpio); in otPlatDiagGpioGet() 589 otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode) in otPlatDiagGpioSetMode() argument 594 … snprintf(cmd, sizeof(cmd), "gpio mode %d %s", aGpio, aMode == OT_GPIO_MODE_INPUT ? "in" : "out"); in otPlatDiagGpioSetMode() 601 otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode) in otPlatDiagGpioGetMode() argument 608 snprintf(cmd, sizeof(cmd), "gpio mode %d", aGpio); in otPlatDiagGpioGetMode()
|
/openthread-3.7.0/src/core/diags/ |
D | factory_diags.cpp | 895 OT_TOOL_WEAK otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue) in otPlatDiagGpioSet() argument 897 OT_UNUSED_VARIABLE(aGpio); in otPlatDiagGpioSet() 903 OT_TOOL_WEAK otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue) in otPlatDiagGpioGet() argument 905 OT_UNUSED_VARIABLE(aGpio); in otPlatDiagGpioGet() 911 OT_TOOL_WEAK otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode) in otPlatDiagGpioSetMode() argument 913 OT_UNUSED_VARIABLE(aGpio); in otPlatDiagGpioSetMode() 919 OT_TOOL_WEAK otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode) in otPlatDiagGpioGetMode() argument 921 OT_UNUSED_VARIABLE(aGpio); in otPlatDiagGpioGetMode()
|