pub struct CvtTimings {Show 20 fields
pub pixel_clock: f64,
pub h_total: u32,
pub h_active: u32,
pub h_blank: u32,
pub h_front_porch: u32,
pub h_sync: u32,
pub h_back_porch: u32,
pub h_sync_polarity: bool,
pub h_freq: f64,
pub h_period: f64,
pub v_total: u32,
pub v_active: u32,
pub v_blank: u32,
pub v_front_porch: u32,
pub v_sync: u32,
pub v_back_porch: u32,
pub v_sync_polarity: bool,
pub v_freq: f64,
pub v_period: f64,
pub interlaced: bool,
}Expand description
Represents CVT timings.
To better understand CVT timings, read the README of this crate
Fields§
§pixel_clock: f64The pixel clock (MHz)
h_total: u32Total width to scan (Pixels)
h_active: u32Active width section to scan (Pixels)
h_blank: u32Blanking width section to scan (Pixels)
h_front_porch: u32Front Porch width section to scan (Pixels)
h_sync: u32Horizontal Sync (Pixels)
h_back_porch: u32Back Porch width section to scan (Pixels)
h_sync_polarity: boolPolarity of the horizontal sync scan (+/-)
h_freq: f64Horizontal scan frequency (KHz)
This represents how many times per second a horizontal scan is performed
h_period: f64Horizontal scan period (us)
This represents the amount of time a horizontal scan takes
v_total: u32Total height to scan (Pixels)
v_active: u32Active height section to scan (Pixels)
v_blank: u32Blanking height section to scan (Pixels)
v_front_porch: u32Front Porch height section to scan (Pixels)
v_sync: u32Vertical Sync (Pixels)
v_back_porch: u32Back Porch height section to scan (Pixels)
v_sync_polarity: boolPolarity of the vertical sync scan (+/-)
v_freq: f64Vertical scan frequency (KHz)
This represents how many times per second a vertical scan is performed
v_period: f64Vertical scan period (us)
This represents the amount of time a vertical scan takes
interlaced: boolWhether the video stream is interlaced or not
Implementations§
Source§impl CvtTimings
impl CvtTimings
Trait Implementations§
Source§impl Clone for CvtTimings
impl Clone for CvtTimings
Source§fn clone(&self) -> CvtTimings
fn clone(&self) -> CvtTimings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more