BT_GpioSet()

Sets the state of the specified GPIO.

Notes

Parameters

Parameter Description

ulGPIO

GPIO number of the GPIO line to be tested.

bValue

BT_TRUE or BT_FALSE.

Returns

BT_TRUE or BT_FALSE to represent the GPIO’s current state. On error, BT_FALSE is returned, and pError can be tested.

Further Reading

The full API is defined under:

os/include/gpio/bt_gpio.h

See the implementation under: os/src/gpio/bt_gpio.c

Back