zephyr::raw

Function gpio_port_toggle_bits

source
pub unsafe extern "C" fn gpio_port_toggle_bits(
    port: *const device,
    pins: u32,
) -> i32
Expand description

@brief Toggle level of selected output pins.

@param port Pointer to the device structure for the driver instance. @param pins Value indicating which pins will be modified.

@retval 0 If successful. @retval -EIO I/O error when accessing an external GPIO chip. @retval -EWOULDBLOCK if operation would block.