#[repr(C)]
pub struct RegisterBlock {
Show 45 fields pub ctrl: CTRL, pub addrtiming: ADDRTIMING, pub rdtiming: RDTIMING, pub wrtiming: WRTIMING, pub polarity: POLARITY, pub addrtiming1: ADDRTIMING1, pub rdtiming1: RDTIMING1, pub wrtiming1: WRTIMING1, pub polarity1: POLARITY1, pub addrtiming2: ADDRTIMING2, pub rdtiming2: RDTIMING2, pub wrtiming2: WRTIMING2, pub polarity2: POLARITY2, pub addrtiming3: ADDRTIMING3, pub rdtiming3: RDTIMING3, pub wrtiming3: WRTIMING3, pub polarity3: POLARITY3, pub pagectrl: PAGECTRL, pub nandctrl: NANDCTRL, pub cmd: CMD, pub status: STATUS, pub eccparity: ECCPARITY, pub tftctrl: TFTCTRL, pub tftstatus: TFTSTATUS, pub tftcolorformat: TFTCOLORFORMAT, pub tftframebase: TFTFRAMEBASE, pub tftstride: TFTSTRIDE, pub tftsize: TFTSIZE, pub tfthporch: TFTHPORCH, pub tftvporch: TFTVPORCH, pub tfttiming: TFTTIMING, pub tftpolarity: TFTPOLARITY, pub tftdd: TFTDD, pub tftalpha: TFTALPHA, pub tftpixel0: TFTPIXEL0, pub tftpixel1: TFTPIXEL1, pub tftpixel: TFTPIXEL, pub tftmask: TFTMASK, pub if_: IF, pub ifs: IFS, pub ifc: IFC, pub ien: IEN, pub routepen: ROUTEPEN, pub routeloc0: ROUTELOC0, pub routeloc1: ROUTELOC1, /* private fields */
}
Expand description

Register block

Fields§

§ctrl: CTRL

0x00 - Control Register

§addrtiming: ADDRTIMING

0x04 - Address Timing Register

§rdtiming: RDTIMING

0x08 - Read Timing Register

§wrtiming: WRTIMING

0x0c - Write Timing Register

§polarity: POLARITY

0x10 - Polarity Register

§addrtiming1: ADDRTIMING1

0x18 - Address Timing Register 1

§rdtiming1: RDTIMING1

0x1c - Read Timing Register 1

§wrtiming1: WRTIMING1

0x20 - Write Timing Register 1

§polarity1: POLARITY1

0x24 - Polarity Register 1

§addrtiming2: ADDRTIMING2

0x28 - Address Timing Register 2

§rdtiming2: RDTIMING2

0x2c - Read Timing Register 2

§wrtiming2: WRTIMING2

0x30 - Write Timing Register 2

§polarity2: POLARITY2

0x34 - Polarity Register 2

§addrtiming3: ADDRTIMING3

0x38 - Address Timing Register 3

§rdtiming3: RDTIMING3

0x3c - Read Timing Register 3

§wrtiming3: WRTIMING3

0x40 - Write Timing Register 3

§polarity3: POLARITY3

0x44 - Polarity Register 3

§pagectrl: PAGECTRL

0x48 - Page Control Register

§nandctrl: NANDCTRL

0x4c - NAND Control Register

§cmd: CMD

0x50 - Command Register

§status: STATUS

0x54 - Status Register

§eccparity: ECCPARITY

0x58 - ECC Parity Register

§tftctrl: TFTCTRL

0x5c - TFT Control Register

§tftstatus: TFTSTATUS

0x60 - TFT Status Register

§tftcolorformat: TFTCOLORFORMAT

0x64 - Color Format Register

§tftframebase: TFTFRAMEBASE

0x68 - TFT Frame Base Register

§tftstride: TFTSTRIDE

0x70 - TFT Stride Register

§tftsize: TFTSIZE

0x74 - TFT Size Register

§tfthporch: TFTHPORCH

0x78 - TFT Horizontal Porch Register

§tftvporch: TFTVPORCH

0x7c - TFT Vertical Porch Register

§tfttiming: TFTTIMING

0x80 - TFT Timing Register

§tftpolarity: TFTPOLARITY

0x84 - TFT Polarity Register

§tftdd: TFTDD

0x88 - TFT Direct Drive Data Register

§tftalpha: TFTALPHA

0x8c - TFT Alpha Blending Register

§tftpixel0: TFTPIXEL0

0x90 - TFT Pixel 0 Register

§tftpixel1: TFTPIXEL1

0x94 - TFT Pixel 1 Register

§tftpixel: TFTPIXEL

0x98 - TFT Alpha Blending Result Pixel Register

§tftmask: TFTMASK

0x9c - TFT Masking Register

§if_: IF

0xa0 - Interrupt Flag Register

§ifs: IFS

0xa4 - Interrupt Flag Set Register

§ifc: IFC

0xa8 - Interrupt Flag Clear Register

§ien: IEN

0xac - Interrupt Enable Register

§routepen: ROUTEPEN

0xb0 - I/O Routing Register

§routeloc0: ROUTELOC0

0xb4 - I/O Routing Location Register

§routeloc1: ROUTELOC1

0xb8 - I/O Routing Location Register

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.