[][src]Function wpilib_sys::bindings::HAL_GetPortWithModule

pub unsafe extern "C" fn HAL_GetPortWithModule(
    module: i32,
    channel: i32
) -> HAL_PortHandle

Gets a port handle for a specific channel and module.

This is expected to be used for PCMs, as the roboRIO does not work with modules anymore.

The created handle does not need to be freed.

@param module the module number @param channel the channel number @return the created port