Skip to main content

TVD0

Struct TVD0 

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

Television Decoder

Implementations§

Source§

impl TVD0

Source

pub const PTR: *const 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 tvd_en(&self) -> &TVD_EN

0x00 - TVD MODULE CONTROL Register

Source

pub fn tvd_mode(&self) -> &TVD_MODE

0x04 - TVD MODE CONTROL Register

Source

pub fn tvd_clamp_agc1(&self) -> &TVD_CLAMP_AGC1

0x08 - TVD CLAMP And AGC CONTROL Register1

Source

pub fn tvd_clamp_agc2(&self) -> &TVD_CLAMP_AGC2

0x0c - TVD CLAMP And AGC CONTROL Register2

Source

pub fn tvd_hlock1(&self) -> &TVD_HLOCK1

0x10 - TVD HLOCK CONTROL Register1

Source

pub fn tvd_hlock2(&self) -> &TVD_HLOCK2

0x14 - TVD HLOCK CONTROL Register2

Source

pub fn tvd_hlock3(&self) -> &TVD_HLOCK3

0x18 - TVD HLOCK CONTROL Register3

Source

pub fn tvd_hlock4(&self) -> &TVD_HLOCK4

0x1c - TVD HLOCK CONTROL Register4

Source

pub fn tvd_hlock5(&self) -> &TVD_HLOCK5

0x20 - TVD HLOCK CONTROL Register5

Source

pub fn tvd_vlock1(&self) -> &TVD_VLOCK1

0x24 - TVD VLOCK CONTROL Register1

Source

pub fn tvd_vlock2(&self) -> &TVD_VLOCK2

0x28 - TVD VLOCK CONTROL Register2

Source

pub fn tvd_clock1(&self) -> &TVD_CLOCK1

0x30 - TVD CHROMA LOCK CONTROL Register1

Source

pub fn tvd_clock2(&self) -> &TVD_CLOCK2

0x34 - TVD CHROMA LOCK CONTROL Register2

Source

pub fn tvd_yc_sep1(&self) -> &TVD_YC_SEP1

0x40 - TVD YC SEPERATION CONROL Register1

Source

pub fn tvd_yc_sep2(&self) -> &TVD_YC_SEP2

0x44 - TVD YC SEPERATION CONROL Register2

Source

pub fn tvd_enhance1(&self) -> &TVD_ENHANCE1

0x50 - TVD ENHANCEMENT CONTROL Register1

Source

pub fn tvd_enhance2(&self) -> &TVD_ENHANCE2

0x54 - TVD ENHANCEMENT CONTROL Register2

Source

pub fn tvd_enhance3(&self) -> &TVD_ENHANCE3

0x58 - TVD ENHANCEMENT CONTROL Register3

Source

pub fn tvd_wb1(&self) -> &TVD_WB1

0x60 - TVD WB DMA CONTROL Register1

Source

pub fn tvd_wb2(&self) -> &TVD_WB2

0x64 - TVD WB DMA CONTROL Register2

Source

pub fn tvd_wb3(&self) -> &TVD_WB3

0x68 - TVD WB DMA CONTROL Register3

Source

pub fn tvd_wb4(&self) -> &TVD_WB4

0x6c - TVD WB DMA CONTROL Register4

Source

pub fn tvd_irq_ctl(&self) -> &TVD_IRQ_CTL

0x80 - TVD DMA Interrupt Control Register

Source

pub fn tvd_irq_status(&self) -> &TVD_IRQ_STATUS

0x90 - TVD DMA Interrupt Status Register

Source

pub fn tvd_debug1(&self) -> &TVD_DEBUG1

0x100 - TVD DEBUG CONTROL Register1

Source

pub fn tvd_status1(&self) -> &TVD_STATUS1

0x180 - TVD DEBUG STATUS Register1

Source

pub fn tvd_status2(&self) -> &TVD_STATUS2

0x184 - TVD DEBUG STATUS Register2

Source

pub fn tvd_status3(&self) -> &TVD_STATUS3

0x188 - TVD DEBUG STATUS Register3

Source

pub fn tvd_status4(&self) -> &TVD_STATUS4

0x18c - TVD DEBUG STATUS Register4

Source

pub fn tvd_status5(&self) -> &TVD_STATUS5

0x190 - TVD DEBUG STATUS Register5

Source

pub fn tvd_status6(&self) -> &TVD_STATUS6

0x194 - TVD DEBUG STATUS Register6

Trait Implementations§

Source§

impl Debug for TVD0

Source§

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

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

impl Deref for TVD0

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Send for TVD0

Auto Trait Implementations§

§

impl !Sync for TVD0

§

impl Freeze for TVD0

§

impl RefUnwindSafe for TVD0

§

impl Unpin for TVD0

§

impl UnsafeUnpin for TVD0

§

impl UnwindSafe for TVD0

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.