RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn tv_gctl(&self) -> &TV_GCTL

0x00 - TV Global Control Register

Source

pub const fn tv_gint0(&self) -> &TV_GINT0

0x04 - TV Global Interrupt Register0

Source

pub const fn tv_gint1(&self) -> &TV_GINT1

0x08 - TV Global Interrupt Register1

Source

pub const fn tv_src_ctl(&self) -> &TV_SRC_CTL

0x40 - TV Source Control Register

Source

pub const fn tv_io_pol(&self) -> &TV_IO_POL

0x88 - TV SYNC Signal Polarity Register

Source

pub const fn tv_io_tri(&self) -> &TV_IO_TRI

0x8c - TV SYNC Signal IO Control Register

Source

pub const fn tv_ctl(&self) -> &TV_CTL

0x90 - TV Control Register

Source

pub const fn tv_basic0(&self) -> &TV_BASIC0

0x94 - TV Basic Timing Register0

Source

pub const fn tv_basic1(&self) -> &TV_BASIC1

0x98 - TV Basic Timing Register1

Source

pub const fn tv_basic2(&self) -> &TV_BASIC2

0x9c - TV Basic Timing Register2

Source

pub const fn tv_basic3(&self) -> &TV_BASIC3

0xa0 - TV Basic Timing Register3

Source

pub const fn tv_basic4(&self) -> &TV_BASIC4

0xa4 - TV Basic Timing Register4

Source

pub const fn tv_basic5(&self) -> &TV_BASIC5

0xa8 - TV Basic Timing Register5

Source

pub const fn tv_debug(&self) -> &TV_DEBUG

0xfc - TV Debug Register

Source

pub const fn tv_ceu_ctl(&self) -> &TV_CEU_CTL

0x100 - TV CEU Control Register

Source

pub const fn tv_ceu_coef_mul(&self, n: usize) -> &TV_CEU_COEF_MUL

0x110..0x13c - TV CEU Coefficient Register0

Source

pub const fn tv_ceu_coef_rang(&self, n: usize) -> &TV_CEU_COEF_RANG

0x140..0x14c - TV CEU Coefficient Register2

Source

pub const fn tv_safe_period(&self) -> &TV_SAFE_PERIOD

0x1f0 - TV Safe Period Register

Source

pub const fn tv_fill_ctl(&self) -> &TV_FILL_CTL

0x300 - TV Fill Data Control Register

Source

pub const fn tv_fill_begin(&self, n: usize) -> &TV_FILL_BEGIN

0x304..0x310 - TV Fill Data Begin Register

Source

pub const fn tv_fill_end(&self, n: usize) -> &TV_FILL_END

0x308..0x314 - TV Fill Data End Register

Source

pub const fn tv_fill_data(&self, n: usize) -> &TV_FILL_DATA

0x30c..0x318 - TV Fill Data Value Register

Source

pub const fn tv_data_io_pol0(&self) -> &TV_DATA_IO_POL0

0x330 - TCON Data IO Polarity Control0

Source

pub const fn tv_data_io_pol1(&self) -> &TV_DATA_IO_POL1

0x334 - TCON Data IO Polarity Control1

Source

pub const fn tv_data_io_tri0(&self) -> &TV_DATA_IO_TRI0

0x338 - TCON Data IO Enable Control0

Source

pub const fn tv_data_io_tri1(&self) -> &TV_DATA_IO_TRI1

0x33c - TCON Data IO Enable Control1

Source

pub const fn tv_pixeldepth_mode(&self) -> &TV_PIXELDEPTH_MODE

0x340 - TV Pixeldepth Mode Control Register

Auto Trait Implementations§

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

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.