RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn ctrla(&self) -> &CTRLA

0x00 - Control Register A

Source

pub const fn seqctrl0(&self) -> &SEQCTRL0

0x01 - Sequential Control 0

Source

pub const fn seqctrl1(&self) -> &SEQCTRL1

0x02 - Sequential Control 1

Source

pub const fn intctrl0(&self) -> &INTCTRL0

0x05 - Interrupt Control 0

Source

pub const fn intflags(&self) -> &INTFLAGS

0x07 - Interrupt Flags

Source

pub const fn lut0ctrla(&self) -> &LUT0CTRLA

0x08 - LUT Control 0 A

Source

pub const fn lut0ctrlb(&self) -> &LUT0CTRLB

0x09 - LUT Control 0 B

Source

pub const fn lut0ctrlc(&self) -> &LUT0CTRLC

0x0a - LUT Control 0 C

Source

pub const fn truth0(&self) -> &TRUTH0

0x0b - Truth 0

Source

pub const fn lut1ctrla(&self) -> &LUT1CTRLA

0x0c - LUT Control 1 A

Source

pub const fn lut1ctrlb(&self) -> &LUT1CTRLB

0x0d - LUT Control 1 B

Source

pub const fn lut1ctrlc(&self) -> &LUT1CTRLC

0x0e - LUT Control 1 C

Source

pub const fn truth1(&self) -> &TRUTH1

0x0f - Truth 1

Source

pub const fn lut2ctrla(&self) -> &LUT2CTRLA

0x10 - LUT Control 2 A

Source

pub const fn lut2ctrlb(&self) -> &LUT2CTRLB

0x11 - LUT Control 2 B

Source

pub const fn lut2ctrlc(&self) -> &LUT2CTRLC

0x12 - LUT Control 2 C

Source

pub const fn truth2(&self) -> &TRUTH2

0x13 - Truth 2

Source

pub const fn lut3ctrla(&self) -> &LUT3CTRLA

0x14 - LUT Control 3 A

Source

pub const fn lut3ctrlb(&self) -> &LUT3CTRLB

0x15 - LUT Control 3 B

Source

pub const fn lut3ctrlc(&self) -> &LUT3CTRLC

0x16 - LUT Control 3 C

Source

pub const fn truth3(&self) -> &TRUTH3

0x17 - Truth 3

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.