[][src]Type Definition imxrt1062_lcdif::ctrl_set::R

type R = R<u32, CTRL_SET>;

Reader of register CTRL_SET

Methods

impl R[src]

pub fn run(&self) -> RUN_R[src]

Bit 0 - When this bit is set by software, the LCDIF will begin transferring data between the SoC and the display

pub fn data_format_24_bit(&self) -> DATA_FORMAT_24_BIT_R[src]

Bit 1 - Used only when WORD_LENGTH = 3, i

pub fn data_format_18_bit(&self) -> DATA_FORMAT_18_BIT_R[src]

Bit 2 - Used only when WORD_LENGTH = 2, i.e. 18-bit.

pub fn data_format_16_bit(&self) -> DATA_FORMAT_16_BIT_R[src]

Bit 3 - When this bit is 1 and WORD_LENGTH = 0, it implies that the 16-bit data is in ARGB555 format

pub fn master(&self) -> MASTER_R[src]

Bit 5 - Set this bit to make the LCDIF act as a bus master

pub fn enable_pxp_handshake(&self) -> ENABLE_PXP_HANDSHAKE_R[src]

Bit 6 - If this bit is set and LCDIF_MASTER bit is set, the LCDIF will act as bus master and the handshake mechanism between LCDIF and PXP will be turned on

pub fn word_length(&self) -> WORD_LENGTH_R[src]

Bits 8:9 - Input data format.

pub fn lcd_databus_width(&self) -> LCD_DATABUS_WIDTH_R[src]

Bits 10:11 - LCD Data bus transfer width.

pub fn csc_data_swizzle(&self) -> CSC_DATA_SWIZZLE_R[src]

Bits 12:13 - This field specifies how to swap the bytes after the data has been converted into an internal representation of 24 bits per pixel and before it is transmitted over the LCD interface bus

pub fn input_data_swizzle(&self) -> INPUT_DATA_SWIZZLE_R[src]

Bits 14:15 - This field specifies how to swap the bytes fetched by the bus master interface

pub fn dotclk_mode(&self) -> DOTCLK_MODE_R[src]

Bit 17 - Set this bit to 1 to make the hardware go into the DOTCLK mode, i

pub fn bypass_count(&self) -> BYPASS_COUNT_R[src]

Bit 19 - When this bit is 0, it means that LCDIF will stop the block operation and turn off the RUN bit after the amount of data indicated by the LCDIF_TRANSFER_COUNT register has been transferred out

pub fn shift_num_bits(&self) -> SHIFT_NUM_BITS_R[src]

Bits 21:25 - The data to be transmitted is shifted left or right by this number of bits.

pub fn data_shift_dir(&self) -> DATA_SHIFT_DIR_R[src]

Bit 26 - Use this bit to determine the direction of shift of transmit data.

pub fn clkgate(&self) -> CLKGATE_R[src]

Bit 30 - This bit must be set to zero for normal operation

pub fn sftrst(&self) -> SFTRST_R[src]

Bit 31 - This bit must be set to zero to enable normal operation of the LCDIF