#[repr(transparent)]pub struct Ctrl2Clr(pub u32);Expand description
LCDIF General Control2 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl2Clr
impl Ctrl2Clr
Sourcepub const fn even_line_pattern(&self) -> Ctrl2ClrEvenLinePattern
pub const fn even_line_pattern(&self) -> Ctrl2ClrEvenLinePattern
This field determines the order of the RGB components of each pixel in EVEN lines (line numbers 2,4,6,
Sourcepub const fn set_even_line_pattern(&mut self, val: Ctrl2ClrEvenLinePattern)
pub const fn set_even_line_pattern(&mut self, val: Ctrl2ClrEvenLinePattern)
This field determines the order of the RGB components of each pixel in EVEN lines (line numbers 2,4,6,
Sourcepub const fn odd_line_pattern(&self) -> Ctrl2ClrOddLinePattern
pub const fn odd_line_pattern(&self) -> Ctrl2ClrOddLinePattern
This field determines the order of the RGB components of each pixel in ODD lines (line numbers 1,3,5,
Sourcepub const fn set_odd_line_pattern(&mut self, val: Ctrl2ClrOddLinePattern)
pub const fn set_odd_line_pattern(&mut self, val: Ctrl2ClrOddLinePattern)
This field determines the order of the RGB components of each pixel in ODD lines (line numbers 1,3,5,
Sourcepub const fn burst_len_8(&self) -> bool
pub const fn burst_len_8(&self) -> bool
By default, when the LCDIF is in the bus master mode, it will issue AXI bursts of length 16 (except when in packed 24 bpp mode, it will issue bursts of length 15)
Sourcepub const fn set_burst_len_8(&mut self, val: bool)
pub const fn set_burst_len_8(&mut self, val: bool)
By default, when the LCDIF is in the bus master mode, it will issue AXI bursts of length 16 (except when in packed 24 bpp mode, it will issue bursts of length 15)
Sourcepub const fn outstanding_reqs(&self) -> Ctrl2ClrOutstandingReqs
pub const fn outstanding_reqs(&self) -> Ctrl2ClrOutstandingReqs
This bitfield indicates the maximum number of outstanding transactions that LCDIF should request when it is acting as a bus master
Sourcepub const fn set_outstanding_reqs(&mut self, val: Ctrl2ClrOutstandingReqs)
pub const fn set_outstanding_reqs(&mut self, val: Ctrl2ClrOutstandingReqs)
This bitfield indicates the maximum number of outstanding transactions that LCDIF should request when it is acting as a bus master