zephyr::raw

Function gpio_port_set_clr_bits_raw

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

@brief Set physical level of selected output pins.

@param port Pointer to the device structure for the driver instance. @param set_pins Value indicating which pins will be set to high. @param clear_pins Value indicating which pins will be set to low.

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