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

Top-level configuration for ra8_mipi_phy_init. More...

#include <ra8_mipi_phy_types.h>

Collaboration diagram for ra8_mipi_phy_config_t:

Data Fields

ra8_mipi_phy_mode_t mode
 Host (DSI) or device (CSI).
uint8_t pclka_mhz
 PCLKA frequency, MHz (40..125).
uint16_t line_rate_mbps
 Per-lane line rate (80..720).
ra8_mipi_phy_lane_count_t lane_count
 1 or 2 data lanes.
ra8_mipi_phy_clk_mode_t clk_mode
 Continuous vs non-continuous HS clock.
ra8_mipi_phy_eotp_t eotp
 Append EoTP (DSI only).
ra8_mipi_phy_pll_t pll
 PLL coefficients.
uint8_t escdiv
 Escape clk divisor (0..31).
const ra8_mipi_phy_timing_tp_timing
 Non-NULL timing block.

Detailed Description

Top-level configuration for ra8_mipi_phy_init.

cppcheck cannot see tests/ so it flags every field as unused; each member is read in ra8_mipi_phy_init.

Definition at line 312 of file ra8_mipi_phy_types.h.

Field Documentation

◆ clk_mode

ra8_mipi_phy_clk_mode_t ra8_mipi_phy_config_t::clk_mode

Continuous vs non-continuous HS clock.

Definition at line 317 of file ra8_mipi_phy_types.h.

Referenced by internal_mipi_phy_cache_state().

◆ eotp

ra8_mipi_phy_eotp_t ra8_mipi_phy_config_t::eotp

Append EoTP (DSI only).

Definition at line 318 of file ra8_mipi_phy_types.h.

Referenced by internal_mipi_phy_cache_state().

◆ escdiv

uint8_t ra8_mipi_phy_config_t::escdiv

Escape clk divisor (0..31).

Definition at line 320 of file ra8_mipi_phy_types.h.

Referenced by internal_mipi_phy_init_host(), and internal_mipi_phy_validate_init_cfg().

◆ lane_count

ra8_mipi_phy_lane_count_t ra8_mipi_phy_config_t::lane_count

1 or 2 data lanes.

Definition at line 316 of file ra8_mipi_phy_types.h.

Referenced by internal_mipi_phy_cache_state(), and internal_mipi_phy_validate_init_cfg().

◆ line_rate_mbps

uint16_t ra8_mipi_phy_config_t::line_rate_mbps

Per-lane line rate (80..720).

Definition at line 315 of file ra8_mipi_phy_types.h.

◆ mode

ra8_mipi_phy_mode_t ra8_mipi_phy_config_t::mode

Host (DSI) or device (CSI).

Definition at line 313 of file ra8_mipi_phy_types.h.

Referenced by internal_mipi_phy_init_power_up(), internal_mipi_phy_validate_init_cfg(), and ra8_mipi_phy_init().

◆ p_timing

const ra8_mipi_phy_timing_t* ra8_mipi_phy_config_t::p_timing

Non-NULL timing block.

Definition at line 321 of file ra8_mipi_phy_types.h.

Referenced by internal_mipi_phy_validate_init_cfg(), and ra8_mipi_phy_init().

◆ pclka_mhz

uint8_t ra8_mipi_phy_config_t::pclka_mhz

PCLKA frequency, MHz (40..125).

Definition at line 314 of file ra8_mipi_phy_types.h.

Referenced by internal_mipi_phy_init_power_up(), and internal_mipi_phy_validate_init_cfg().

◆ pll

ra8_mipi_phy_pll_t ra8_mipi_phy_config_t::pll

PLL coefficients.

Definition at line 319 of file ra8_mipi_phy_types.h.

Referenced by internal_mipi_phy_init_host(), and internal_mipi_phy_validate_init_cfg().


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