dwm_gpio_value_toggle

Toggles pin value.

void dwm_gpio_value_toggle(uint8_t gpio_idx)
Parameters
  • gpio_idx – ? 8-bit integer ? (see previous chapter for allowed values).

  • outputStatus code.

C code example

dwm_gpio_value_toggle(DWM_GPIO_IDX_13);

SPI/UART example

TLV Request

Type

Length

Value

pin index

0x2c

0x01

0x0D

Type 0x2c means command dwm_gpio_value_toggle

TLV Response

Type

Length

Value (see error codes)

0x40

0x01

0x00

Type 0x40 means err_code of the previous command