Struct d1_pac::tve::tve_configuration::R

source ·
pub struct R(/* private fields */);
Expand description

Register tve_configuration reader

Implementations§

source§

impl R

source

pub fn tvmode_select(&self) -> TVMODE_SELECT_R

Bits 0:3 - TVMode_Select

Note: Changing this register value will cause some relative register setting to relative value.

source

pub fn mode_1080i_1250line_sel(&self) -> MODE_1080I_1250LINE_SEL_R

Bit 4 - Mode_1080i_1250Line_Sel

source

pub fn color_bar_mode(&self) -> COLOR_BAR_MODE_R

Bit 8 - Standard Color bar input selection

This bit selects whether the Video Encoder video data input is replaced by an internal standard color bar generator or not.

source

pub fn color_bar_type(&self) -> COLOR_BAR_TYPE_R

Bit 9

source

pub fn cvbs_en(&self) -> CVBS_EN_R

Bit 16 - Composite video enables selection

This bit selects whether the composite video output (CVBS) is enabled or disabled.

source

pub fn yc_en(&self) -> YC_EN_R

Bit 17 - S-port Video enable Selection.

This bit selects whether the S-port(Y/C) video output is enabled or disabled.

source

pub fn yuv_rgb_output_en(&self) -> YUV_RGB_OUTPUT_EN_R

Bit 18

source

pub fn input_chroma_data_sampling_rate_sel( &self, ) -> INPUT_CHROMA_DATA_SAMPLING_RATE_SEL_R

Bit 19

source

pub fn cb_cr_seq_for_422_mode(&self) -> CB_CR_SEQ_FOR_422_MODE_R

Bit 20 - Cb_Cr_Seq_For_422_Mode

source

pub fn core_control_logic_clock_sel(&self) -> CORE_CONTROL_LOGIC_CLOCK_SEL_R

Bit 24

source

pub fn core_datapath_logic_clock_sel(&self) -> CORE_DATAPATH_LOGIC_CLOCK_SEL_R

Bit 25

source

pub fn dac_control_logic_clock_sel(&self) -> DAC_CONTROL_LOGIC_CLOCK_SEL_R

Bit 26

source

pub fn dac_src_sel(&self) -> DAC_SRC_SEL_R

Bits 27:28

source

pub fn bypass_tv(&self) -> BYPASS_TV_R

Bit 29

Methods from Deref<Target = R<TVE_CONFIGURATION_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<TVE_CONFIGURATION_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<TVE_CONFIGURATION_SPEC>> for R

source§

fn from(reader: R<TVE_CONFIGURATION_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for R

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.