Struct d1_pac::tve::tve_configuration::W

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

Register tve_configuration writer

Implementations§

source§

impl W

source

pub fn tvmode_select(&mut self) -> TVMODE_SELECT_W<'_, 0>

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(&mut self) -> MODE_1080I_1250LINE_SEL_W<'_, 4>

Bit 4 - Mode_1080i_1250Line_Sel

source

pub fn color_bar_mode(&mut self) -> COLOR_BAR_MODE_W<'_, 8>

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(&mut self) -> COLOR_BAR_TYPE_W<'_, 9>

Bit 9

source

pub fn cvbs_en(&mut self) -> CVBS_EN_W<'_, 16>

Bit 16 - Composite video enables selection

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

source

pub fn yc_en(&mut self) -> YC_EN_W<'_, 17>

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(&mut self) -> YUV_RGB_OUTPUT_EN_W<'_, 18>

Bit 18

source

pub fn input_chroma_data_sampling_rate_sel( &mut self, ) -> INPUT_CHROMA_DATA_SAMPLING_RATE_SEL_W<'_, 19>

Bit 19

source

pub fn cb_cr_seq_for_422_mode(&mut self) -> CB_CR_SEQ_FOR_422_MODE_W<'_, 20>

Bit 20 - Cb_Cr_Seq_For_422_Mode

source

pub fn core_control_logic_clock_sel( &mut self, ) -> CORE_CONTROL_LOGIC_CLOCK_SEL_W<'_, 24>

Bit 24

source

pub fn core_datapath_logic_clock_sel( &mut self, ) -> CORE_DATAPATH_LOGIC_CLOCK_SEL_W<'_, 25>

Bit 25

source

pub fn dac_control_logic_clock_sel( &mut self, ) -> DAC_CONTROL_LOGIC_CLOCK_SEL_W<'_, 26>

Bit 26

source

pub fn dac_src_sel(&mut self) -> DAC_SRC_SEL_W<'_, 27>

Bits 27:28

source

pub fn bypass_tv(&mut self) -> BYPASS_TV_W<'_, 29>

Bit 29

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

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

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

§Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<TVE_CONFIGURATION_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<TVE_CONFIGURATION_SPEC>> for W

source§

fn from(writer: W<TVE_CONFIGURATION_SPEC>) -> Self

Converts to this type from the input type.

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> 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.