TVE

Struct TVE 

Source
pub struct TVE { /* private fields */ }
Expand description

TV Encoder

Implementations§

Source§

impl TVE

Source

pub const PTR: *const RegisterBlock = {0x5604000 as *const tve::RegisterBlock}

Pointer to the register block

Source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

Source

pub fn tve_clock_gating(&self) -> &TVE_CLOCK_GATING

0x00 - TV Encoder Clock Gating Register

Source

pub fn tve_configuration(&self) -> &TVE_CONFIGURATION

0x04 - TV Encoder Configuration Register

Source

pub fn tve_dac1(&self) -> &TVE_DAC1

0x08 - TV Encoder DAC Register1

Source

pub fn tve_notch_dac_delay(&self) -> &TVE_NOTCH_DAC_DELAY

0x0c - TV Encoder Notch and DAC Delay Register

Source

pub fn tve_chroma_frequency(&self) -> &TVE_CHROMA_FREQUENCY

0x10 - TV Encoder Chroma Frequency Register

Source

pub fn tve_front_back_porch(&self) -> &TVE_FRONT_BACK_PORCH

0x14 - TV Encoder Front/Back Porch Register

Source

pub fn tve_hd_vsync(&self) -> &TVE_HD_VSYNC

0x18 - TV Encoder HD Mode VSYNC Register

Source

pub fn tve_line_number(&self) -> &TVE_LINE_NUMBER

0x1c - TV Encoder Line Number Register

Source

pub fn tve_level(&self) -> &TVE_LEVEL

0x20 - TV Encoder Level Register

Source

pub fn tve_dac2(&self) -> &TVE_DAC2

0x24 - TV Encoder DAC Register2

Source

pub fn tve_auto_detection_enable(&self) -> &TVE_AUTO_DETECTION_ENABLE

0x30 - TV Encoder Auto Detection Enable Register

Source

pub fn tve_auto_detection_interrupt_status( &self, ) -> &TVE_AUTO_DETECTION_INTERRUPT_STATUS

0x34 - TV Encoder Auto Detection Interrupt Status Register

Source

pub fn tve_auto_detection_status(&self) -> &TVE_AUTO_DETECTION_STATUS

0x38 - TV Encoder Auto Detection Status Register

Source

pub fn tve_auto_detection_debounce_setting( &self, ) -> &TVE_AUTO_DETECTION_DEBOUNCE_SETTING

0x3c - TV Encoder Auto Detection De-bounce Setting Register

Source

pub fn tve_auto_detect_cfg0(&self) -> &TVE_AUTO_DETECT_CFG0

0xf8 - TV Encoder Auto Detect Configuration Register0

Source

pub fn tve_auto_detect_cfg1(&self) -> &TVE_AUTO_DETECT_CFG1

0xfc - TV Encoder Auto Detect Configuration Register1

Source

pub fn tve_color_burst_phase_reset_cfg( &self, ) -> &TVE_COLOR_BURST_PHASE_RESET_CFG

0x100 - TV Encoder Color Burst Phase Reset Configuration Register

Source

pub fn tve_vsync_number(&self) -> &TVE_VSYNC_NUMBER

0x104 - TV Encoder VSYNC Number Register

Source

pub fn tve_notch_filter_frequency(&self) -> &TVE_NOTCH_FILTER_FREQUENCY

0x108 - TV Encoder Notch Filter Frequency Register

Source

pub fn tve_cbcr_level_gain(&self) -> &TVE_CBCR_LEVEL_GAIN

0x10c - TV Encoder Cb/Cr Level/Gain Register

Source

pub fn tve_tint_color_burst_phase(&self) -> &TVE_TINT_COLOR_BURST_PHASE

0x110 - TV Encoder Tint and Color Burst Phase Register

Source

pub fn tve_burst_width(&self) -> &TVE_BURST_WIDTH

0x114 - TV Encoder Burst Width Register

Source

pub fn tve_cbcr_gain(&self) -> &TVE_CBCR_GAIN

0x118 - TV Encoder Cb/Cr Gain Register

Source

pub fn tve_sync_vbi_level(&self) -> &TVE_SYNC_VBI_LEVEL

0x11c - TV Encoder Sync and VBI Level Register

Source

pub fn tve_white_level(&self) -> &TVE_WHITE_LEVEL

0x120 - TV Encoder White Level Register

Source

pub fn tve_video_active_line(&self) -> &TVE_VIDEO_ACTIVE_LINE

0x124 - TV Encoder Video Active Line Register

Source

pub fn tve_video_chroma_bw_comp_gain(&self) -> &TVE_VIDEO_CHROMA_BW_COMP_GAIN

0x128 - TV Encoder Video Chroma BW and CompGain Register

Source

pub fn tve_notch_width_comp_yuv_en(&self) -> &TVE_NOTCH_WIDTH_COMP_YUV_EN

0x12c - TV Encoder Register

Source

pub fn tve_resync_parameters(&self) -> &TVE_RESYNC_PARAMETERS

0x130 - TV Encoder Re-sync Parameters Register

Source

pub fn tve_slave_parameter(&self) -> &TVE_SLAVE_PARAMETER

0x134 - TV Encoder Slave Parameter Register

Source

pub fn tve_configuration0(&self) -> &TVE_CONFIGURATION0

0x138 - TV Encoder Configuration Register0

Source

pub fn tve_configuration1(&self) -> &TVE_CONFIGURATION1

0x13c - TV Encoder Configuration Register1

Source

pub fn tve_low_pass_control(&self) -> &TVE_LOW_PASS_CONTROL

0x380 - TV Encoder Low Pass Control Register

Source

pub fn tve_low_pass_filter_control(&self) -> &TVE_LOW_PASS_FILTER_CONTROL

0x384 - TV Encoder Low Pass Filter Control Register

Source

pub fn tve_low_pass_gain(&self) -> &TVE_LOW_PASS_GAIN

0x388 - TV Encoder Low Pass Gain Register

Source

pub fn tve_low_pass_gain_control(&self) -> &TVE_LOW_PASS_GAIN_CONTROL

0x38c - TV Encoder Low Pass Gain Control Register

Source

pub fn tve_low_pass_shoot_control(&self) -> &TVE_LOW_PASS_SHOOT_CONTROL

0x390 - TV Encoder Low Pass Shoot Control Register

Source

pub fn tve_low_pass_coring(&self) -> &TVE_LOW_PASS_CORING

0x394 - TV Encoder Low Pass Coring Register

Source

pub fn tve_noise_reduction(&self) -> &TVE_NOISE_REDUCTION

0x3a0 - TV Encoder Noise Reduction Register

Trait Implementations§

Source§

impl Debug for TVE

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for TVE

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Send for TVE

Auto Trait Implementations§

§

impl Freeze for TVE

§

impl RefUnwindSafe for TVE

§

impl !Sync for TVE

§

impl Unpin for TVE

§

impl UnwindSafe for TVE

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

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

Source§

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

Source§

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.