INFO: Setup for CAMERA module bringup using CSI

10 views
Skip to first unread message

Narasimha Rao

unread,
Mar 15, 2024, 8:40:49 AM3/15/24
to inside...@googlegroups.com
Hi Team/ Anil,

I would like to understand the CAMERA module interface and practice the driver which is good for beginners. 

Could you please suggest some links.

Anil Kumar Pugalia

unread,
Apr 8, 2024, 1:47:09 PM4/8/24
to inside...@googlegroups.com

Any particular camera interface?

Regards
Anil
Passion: https://sysplay.in (Playing with Systems)
Narasimha Rao wrote on 15/03/24 18:10:
Hi Team/ Anil,

I would like to understand the CAMERA module interface and practice the driver which is good for beginners. 

Could you please suggest some links.
--
You received this message because you are subscribed to the Google Groups "SysPlay's Inside Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inside_linux/CAAvht3U0i03DG2tt1bMOw_Y%3DH17EEY4N861TKEPfZBfdqo1baQ%40mail.gmail.com.

Narasimha Rao

unread,
Apr 11, 2024, 10:35:05 AM4/11/24
to inside...@googlegroups.com
CSI interface..

Either Omini vision, IMX.

Regards, 
Narasimha 


Abhijit Sahu

unread,
Apr 11, 2024, 3:09:46 PM4/11/24
to inside...@googlegroups.com
pub struct SomeData {
  pub a: u8,
  pub b: u32,
  pub c: u32,
  pub d: u32,
}

pub enum MyDataEnum {
  MyData(SomeData),
}

impl MyDataEnum {
  // Method to update the value of field `c` within the `SomeData` variant
  pub fn update_c(&mut self, new_value: u32) {
    match self {
      MyDataEnum::MyData(data) => data.c = new_value,
    }
  }
}

fn update_data(data: &mut MyDataEnum) {
  // Update the value of c using the update_c method
  data.update_c(10);
}

fn main() {
  // Create an instance of SomeData
  let data1 = SomeData {
    a: 1,
    b: 2,
    c: 3,
    d: 4,
  };

  // Create an instance of MyDataEnum
  let mut d1 = MyDataEnum::MyData(data1);

  // Update the value of field `c` using the update_data function
  update_data(&mut d1);

  // Print the updated value of `d1.c`
  match &d1 {
    MyDataEnum::MyData(data) => println!("Updated value of `d1.c`: {}", data.c),
  }
}



--
Kind Regards,
Abhijit Sahu

Abhijit Sahu

unread,
Apr 11, 2024, 3:09:57 PM4/11/24
to inside...@googlegroups.com
pub struct SomeData {
pub a: u8,
pub b: u32,
pub c: u32,
pub d: u32,
}

pub enum MyDataEnum {
MyData(SomeData),
}

impl MyDataEnum {
// Method to update the value of field `c` within the `SomeData` variant
pub fn update_c(&mut self, new_value: u32) {
match self {
MyDataEnum::MyData(data) => data.c = new_value,
}
}
}

fn main() {
// Create an instance of SomeData
let data1 = SomeData {
a: 1,
b: 2,
c: 3,
d: 4,
};

// Create an instance of MyDataEnum
let mut d1 = MyDataEnum::MyData(data1);

// Update the value of field `c` using the update_c method
d1.update_c(10);

Anil Kumar Pugalia

unread,
Apr 14, 2024, 3:31:47 AM4/14/24
to inside...@googlegroups.com

Abhijit,

    What are these?

Thanks & Regards

Anil
Passion: https://sysplay.in (Playing with Systems)
Abhijit Sahu wrote on 12/04/24 00:39:

Anil Kumar Pugalia

unread,
Apr 14, 2024, 3:32:26 AM4/14/24
to inside...@googlegroups.com

Did you try with RPi?

Thanks & Regards

Anil
Passion: https://sysplay.in (Playing with Systems)
Narasimha Rao wrote on 11/04/24 20:04:
Reply all
Reply to author
Forward
0 new messages