[][src]Struct arducam_mipicamera::c::CameraInterface

#[repr(C)]pub struct CameraInterface {
    pub i2c_bus: c_int,
    pub camera_num: c_int,
    pub sda_pins: [c_int; 2],
    pub scl_pins: [c_int; 2],
    pub shutdown_pins: [c_int; 2],
    pub led_pins: [c_int; 2],
}

Fields

i2c_bus: c_intcamera_num: c_int

mipi interface number

sda_pins: [c_int; 2]

enable sda_pins[camera_num], disable sda_pins[camera_num ? 0 : 1]

scl_pins: [c_int; 2]

enable scl_pins[camera_num], disable scl_pins[camera_num ? 0 : 1]

shutdown_pins: [c_int; 2]led_pins: [c_int; 2]

Trait Implementations

impl Clone for CameraInterface[src]

impl Copy for CameraInterface[src]

impl Debug for CameraInterface[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.