Our website is under construction. Please stay tuned!

leaps_gpio_cfg_input

Configure GPIO pin as input.

Input
  • gpio_idx: ? 8-bit unsigned integer ? (see previous chapter for allowed values)

  • gpio_pull: ? 8-bit unsigned integer ? (0 no pull, 1 pull down, 3 pull up*)

Output

Example

TLV Request

Type

Length

Value

pin index

pin pull mode

0 -no pull

1 -pull down

3 -pull up

0x29

0x02

0x0D

0x03

Type 0x29 means command leaps_gpio_cfg_input

TLV response

Type

Length

Value

0x40

0x01

0x00

Type 0x40 means status code