Struct d1_pac::tcon_tv0::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 33 fields pub tv_gctl: TV_GCTL, pub tv_gint0: TV_GINT0, pub tv_gint1: TV_GINT1, pub tv_src_ctl: TV_SRC_CTL, pub tv_io_pol: TV_IO_POL, pub tv_io_tri: TV_IO_TRI, pub tv_ctl: TV_CTL, pub tv_basic0: TV_BASIC0, pub tv_basic1: TV_BASIC1, pub tv_basic2: TV_BASIC2, pub tv_basic3: TV_BASIC3, pub tv_basic4: TV_BASIC4, pub tv_basic5: TV_BASIC5, pub tv_debug: TV_DEBUG, pub tv_ceu_ctl: TV_CEU_CTL, pub tv_ceu_coef_mul: [TV_CEU_COEF_MUL; 11], pub tv_ceu_coef_rang: [TV_CEU_COEF_RANG; 3], pub tv_safe_period: TV_SAFE_PERIOD, pub tv_fill_ctl: TV_FILL_CTL, pub tv_fill_begin0: TV_FILL_BEGIN, pub tv_fill_end0: TV_FILL_END, pub tv_fill_data0: TV_FILL_DATA, pub tv_fill_begin1: TV_FILL_BEGIN, pub tv_fill_end1: TV_FILL_END, pub tv_fill_data1: TV_FILL_DATA, pub tv_fill_begin2: TV_FILL_BEGIN, pub tv_fill_end2: TV_FILL_END, pub tv_fill_data2: TV_FILL_DATA, pub tv_data_io_pol0: TV_DATA_IO_POL0, pub tv_data_io_pol1: TV_DATA_IO_POL1, pub tv_data_io_tri0: TV_DATA_IO_TRI0, pub tv_data_io_tri1: TV_DATA_IO_TRI1, pub tv_pixeldepth_mode: TV_PIXELDEPTH_MODE, /* private fields */
}
Expand description

Register block

Fields§

§tv_gctl: TV_GCTL

0x00 - TV Global Control Register

§tv_gint0: TV_GINT0

0x04 - TV Global Interrupt Register0

§tv_gint1: TV_GINT1

0x08 - TV Global Interrupt Register1

§tv_src_ctl: TV_SRC_CTL

0x40 - TV Source Control Register

§tv_io_pol: TV_IO_POL

0x88 - TV SYNC Signal Polarity Register

§tv_io_tri: TV_IO_TRI

0x8c - TV SYNC Signal IO Control Register

§tv_ctl: TV_CTL

0x90 - TV Control Register

§tv_basic0: TV_BASIC0

0x94 - TV Basic Timing Register0

§tv_basic1: TV_BASIC1

0x98 - TV Basic Timing Register1

§tv_basic2: TV_BASIC2

0x9c - TV Basic Timing Register2

§tv_basic3: TV_BASIC3

0xa0 - TV Basic Timing Register3

§tv_basic4: TV_BASIC4

0xa4 - TV Basic Timing Register4

§tv_basic5: TV_BASIC5

0xa8 - TV Basic Timing Register5

§tv_debug: TV_DEBUG

0xfc - TV Debug Register

§tv_ceu_ctl: TV_CEU_CTL

0x100 - TV CEU Control Register

§tv_ceu_coef_mul: [TV_CEU_COEF_MUL; 11]

0x110..0x13c - TV CEU Coefficient Register0

§tv_ceu_coef_rang: [TV_CEU_COEF_RANG; 3]

0x140..0x14c - TV CEU Coefficient Register2

§tv_safe_period: TV_SAFE_PERIOD

0x1f0 - TV Safe Period Register

§tv_fill_ctl: TV_FILL_CTL

0x300 - TV Fill Data Control Register

§tv_fill_begin0: TV_FILL_BEGIN

0x304 - TV Fill Data Begin Register

§tv_fill_end0: TV_FILL_END

0x308 - TV Fill Data End Register

§tv_fill_data0: TV_FILL_DATA

0x30c - TV Fill Data Value Register

§tv_fill_begin1: TV_FILL_BEGIN

0x310 - TV Fill Data Begin Register

§tv_fill_end1: TV_FILL_END

0x314 - TV Fill Data End Register

§tv_fill_data1: TV_FILL_DATA

0x318 - TV Fill Data Value Register

§tv_fill_begin2: TV_FILL_BEGIN

0x31c - TV Fill Data Begin Register

§tv_fill_end2: TV_FILL_END

0x320 - TV Fill Data End Register

§tv_fill_data2: TV_FILL_DATA

0x324 - TV Fill Data Value Register

§tv_data_io_pol0: TV_DATA_IO_POL0

0x330 - TCON Data IO Polarity Control0

§tv_data_io_pol1: TV_DATA_IO_POL1

0x334 - TCON Data IO Polarity Control1

§tv_data_io_tri0: TV_DATA_IO_TRI0

0x338 - TCON Data IO Enable Control0

§tv_data_io_tri1: TV_DATA_IO_TRI1

0x33c - TCON Data IO Enable Control1

§tv_pixeldepth_mode: 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>,

§

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.