pub struct DisplayConfig {Show 13 fields
pub active_width: u16,
pub active_height: u16,
pub h_back_porch: u16,
pub h_front_porch: u16,
pub v_back_porch: u16,
pub v_front_porch: u16,
pub h_sync: u16,
pub v_sync: u16,
pub frame_rate: u16,
pub h_sync_pol: bool,
pub v_sync_pol: bool,
pub no_data_enable_pol: bool,
pub pixel_clock_pol: bool,
}
Expand description
Display configuration constants
Fields§
§active_width: u16
§active_height: u16
§h_back_porch: u16
§h_front_porch: u16
§v_back_porch: u16
§v_front_porch: u16
§h_sync: u16
§v_sync: u16
§frame_rate: u16
§h_sync_pol: bool
false
: active low, true
: active high
v_sync_pol: bool
false
: active low, true
: active high
no_data_enable_pol: bool
false
: active low, true
: active high
pixel_clock_pol: bool
false
: active low, true
: active high
Auto Trait Implementations§
impl Freeze for DisplayConfig
impl RefUnwindSafe for DisplayConfig
impl Send for DisplayConfig
impl Sync for DisplayConfig
impl Unpin for DisplayConfig
impl UnwindSafe for DisplayConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more