Our website is under construction. Please stay tuned!

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).

  • output – err_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