ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ov5640_state_t Struct Reference

One OV5640 camera sensor on the SCCB bus. More...

Data Fields

uint16_t reg_ptr
 Active 16-bit register pointer.
uint8_t ptr_bytes
 Pointer bytes captured this transfer.
uint8_t reg_format
 Latched 0x4300 DVP output format.
uint8_t reg_isp_mux
 Latched 0x501F ISP output mux.
uint8_t reg_test
 Latched 0x503D test-pattern control.
uint32_t writes
 Config register writes accepted.
uint32_t id_reads
 Chip-ID bytes served for reporting.

Detailed Description

One OV5640 camera sensor on the SCCB bus.

Captures a 16-bit big-endian register pointer, serves the fixed identity bytes, and latches the three configuration registers verified by the firmware after sensor setup.

Definition at line 56 of file board_periph_riic_devices.c.

Field Documentation

◆ id_reads

uint32_t ov5640_state_t::id_reads

Chip-ID bytes served for reporting.

Definition at line 63 of file board_periph_riic_devices.c.

Referenced by internal_ov5640_read().

◆ ptr_bytes

uint8_t ov5640_state_t::ptr_bytes

Pointer bytes captured this transfer.

Definition at line 58 of file board_periph_riic_devices.c.

Referenced by internal_ov5640_write().

◆ reg_format

uint8_t ov5640_state_t::reg_format

Latched 0x4300 DVP output format.

Definition at line 59 of file board_periph_riic_devices.c.

Referenced by internal_ov5640_read(), and internal_ov5640_write().

◆ reg_isp_mux

uint8_t ov5640_state_t::reg_isp_mux

Latched 0x501F ISP output mux.

Definition at line 60 of file board_periph_riic_devices.c.

Referenced by internal_ov5640_read(), and internal_ov5640_write().

◆ reg_ptr

uint16_t ov5640_state_t::reg_ptr

Active 16-bit register pointer.

Definition at line 57 of file board_periph_riic_devices.c.

Referenced by internal_ov5640_read(), and internal_ov5640_write().

◆ reg_test

uint8_t ov5640_state_t::reg_test

Latched 0x503D test-pattern control.

Definition at line 61 of file board_periph_riic_devices.c.

Referenced by internal_ov5640_read(), and internal_ov5640_write().

◆ writes

uint32_t ov5640_state_t::writes

Config register writes accepted.

Definition at line 62 of file board_periph_riic_devices.c.

Referenced by internal_ov5640_write().


The documentation for this struct was generated from the following file: