Skip to main content

pio_balanced_network_select_subsystem_buses

Function pio_balanced_network_select_subsystem_buses 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_balanced_network_select_subsystem_buses( network: *const PioBalancedNetwork, subsystems: *const PioSubsystemSet, name: *const c_char, name_len: usize, error: *mut *mut PioError, ) -> *mut PioVector
Expand description

The buses of one balanced network that a named subsystem selects, in ascending bus number order.

The name is matched without case and without surrounding whitespace, the way a .con or .mon statement names a subsystem. A name the subsystem set does not state reports BIND.CAPI.INDEX_OUT_OF_RANGE.

The returned vector owns its values: read them with pio_vector_values and release the handle with pio_vector_release. Each value is a bus number, an integer a double represents exactly.

ยงSafety

Pointers and handles must satisfy the crate-level safety requirements.