Struct d1_pac::tcon_lcd0::lcd_sync_pos::W
source · pub struct W(/* private fields */);
Expand description
Register lcd_sync_pos
writer
Implementations§
source§impl W
impl W
sourcepub fn lcd_sync_line_num(&mut self) -> LCD_SYNC_LINE_NUM_W<'_, 0>
pub fn lcd_sync_line_num(&mut self) -> LCD_SYNC_LINE_NUM_W<'_, 0>
Bits 0:11 - Set the line number of master LCD controller which is used to trigger the slave LCD controller to start working.
Note:It is only set in master LCD controller.It is not necessarily to set in slave LCD controller.
Tri pos = TlineLCD_Sync_Line_Num+Tpixel(HT-LCD_Sync_Pixel_Num)
Note: Only use in Single DSI mode.
sourcepub fn lcd_sync_pixel_num(&mut self) -> LCD_SYNC_PIXEL_NUM_W<'_, 16>
pub fn lcd_sync_pixel_num(&mut self) -> LCD_SYNC_PIXEL_NUM_W<'_, 16>
Bits 16:27 - Set the pixel number of master LCD controller which is used to trigger the slave LCD controller to start working.This value is the number of pixels between the trigger point and the end of the line.
Tri pos = TlineLCD_Sync_Line_Num+Tpixel(HT-LCD_Sync_Pixel_Num)
Note: Only use in Single DSI mode.
Methods from Deref<Target = W<LCD_SYNC_POS_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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