gpio_input_get & gpio_input_get_high

permal
Posts: 384
Joined: Sun May 14, 2017 5:36 pm

gpio_input_get & gpio_input_get_high

Postby permal » Sat Aug 26, 2017 6:40 pm

The documentation for gpio_input_get & gpio_input_get_high gives the impression that they return a 32-bit value corresponding to the current input levels of the GPIO. However, when I tried these functions I got only garbage and had to fall back to gpio_get_level() which works as expected.

What is the purpose of these functions and what do they actually read?

Who is online

Users browsing this forum: No registered users and 102 guests