pub unsafe extern "C" fn gpio_pin_toggle(
port: *const device,
pin: u8,
) -> i32
Expand description
@brief Toggle pin level.
@param port Pointer to the device structure for the driver instance. @param pin Pin number.
@retval 0 If successful. @retval -EIO I/O error when accessing an external GPIO chip. @retval -EWOULDBLOCK if operation would block.