[][src]Function wpilib_sys::bindings::HAL_InitializeI2C

pub unsafe extern "C" fn HAL_InitializeI2C(port: Type, status: *mut i32)

Initializes the I2C port.

Opens the port if necessary and saves the handle. If opening the MXP port, also sets up the channel functions appropriately.

@param port The port to open, 0 for the on-board, 1 for the MXP.