pub struct LtdcConfiguration {
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 h_sync_polarity: PolarityActive,
pub v_sync_polarity: PolarityActive,
pub data_enable_polarity: PolarityActive,
pub pixel_clock_polarity: PolarityEdge,
}Expand description
Display configuration parameters
Fields§
§active_width: u16Active width in pixels
active_height: u16Active height in pixels
h_back_porch: u16Horizontal back porch (in units of pixel clock period)
h_front_porch: u16Horizontal front porch (in units of pixel clock period)
v_back_porch: u16Vertical back porch (in units of horizontal scan line)
v_front_porch: u16Vertical front porch (in units of horizontal scan line)
h_sync: u16Horizontal synchronization width (in units of pixel clock period)
v_sync: u16Vertical synchronization height (in units of horizontal scan line)
h_sync_polarity: PolarityActiveHorizontal synchronization polarity: false: active low, true: active high
v_sync_polarity: PolarityActiveVertical synchronization polarity: false: active low, true: active high
data_enable_polarity: PolarityActiveData enable polarity: false: active low, true: active high
pixel_clock_polarity: PolarityEdgePixel clock polarity: false: falling edge, true: rising edge
Trait Implementations§
Source§impl Clone for LtdcConfiguration
impl Clone for LtdcConfiguration
Source§fn clone(&self) -> LtdcConfiguration
fn clone(&self) -> LtdcConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LtdcConfiguration
impl Debug for LtdcConfiguration
Source§impl Format for LtdcConfiguration
impl Format for LtdcConfiguration
Source§impl PartialEq for LtdcConfiguration
impl PartialEq for LtdcConfiguration
impl Copy for LtdcConfiguration
impl StructuralPartialEq for LtdcConfiguration
Auto Trait Implementations§
impl Freeze for LtdcConfiguration
impl RefUnwindSafe for LtdcConfiguration
impl Send for LtdcConfiguration
impl Sync for LtdcConfiguration
impl Unpin for LtdcConfiguration
impl UnwindSafe for LtdcConfiguration
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