RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn strobe(&self) -> &STROBE

0x00 - Channel Strobe

Source

pub const fn channel0(&self) -> &CHANNEL0

0x10 - Multiplexer Channel 0

Source

pub const fn channel1(&self) -> &CHANNEL1

0x11 - Multiplexer Channel 1

Source

pub const fn channel2(&self) -> &CHANNEL2

0x12 - Multiplexer Channel 2

Source

pub const fn channel3(&self) -> &CHANNEL3

0x13 - Multiplexer Channel 3

Source

pub const fn channel4(&self) -> &CHANNEL4

0x14 - Multiplexer Channel 4

Source

pub const fn channel5(&self) -> &CHANNEL5

0x15 - Multiplexer Channel 5

Source

pub const fn channel6(&self) -> &CHANNEL6

0x16 - Multiplexer Channel 6

Source

pub const fn channel7(&self) -> &CHANNEL7

0x17 - Multiplexer Channel 7

Source

pub const fn userccllut0a(&self) -> &USERCCLLUT0A

0x20 - User CCL LUT0 Event A

Source

pub const fn userccllut0b(&self) -> &USERCCLLUT0B

0x21 - User CCL LUT0 Event B

Source

pub const fn userccllut1a(&self) -> &USERCCLLUT1A

0x22 - User CCL LUT1 Event A

Source

pub const fn userccllut1b(&self) -> &USERCCLLUT1B

0x23 - User CCL LUT1 Event B

Source

pub const fn userccllut2a(&self) -> &USERCCLLUT2A

0x24 - User CCL LUT2 Event A

Source

pub const fn userccllut2b(&self) -> &USERCCLLUT2B

0x25 - User CCL LUT2 Event B

Source

pub const fn userccllut3a(&self) -> &USERCCLLUT3A

0x26 - User CCL LUT3 Event A

Source

pub const fn userccllut3b(&self) -> &USERCCLLUT3B

0x27 - User CCL LUT3 Event B

Source

pub const fn useradc0(&self) -> &USERADC0

0x28 - User ADC0

Source

pub const fn userevouta(&self) -> &USEREVOUTA

0x29 - User EVOUT Port A

Source

pub const fn userevoutb(&self) -> &USEREVOUTB

0x2a - User EVOUT Port B

Source

pub const fn userevoutc(&self) -> &USEREVOUTC

0x2b - User EVOUT Port C

Source

pub const fn userevoutd(&self) -> &USEREVOUTD

0x2c - User EVOUT Port D

Source

pub const fn userevoute(&self) -> &USEREVOUTE

0x2d - User EVOUT Port E

Source

pub const fn userevoutf(&self) -> &USEREVOUTF

0x2e - User EVOUT Port F

Source

pub const fn userusart0(&self) -> &USERUSART0

0x2f - User USART0

Source

pub const fn userusart1(&self) -> &USERUSART1

0x30 - User USART1

Source

pub const fn userusart2(&self) -> &USERUSART2

0x31 - User USART2

Source

pub const fn userusart3(&self) -> &USERUSART3

0x32 - User USART3

Source

pub const fn usertca0(&self) -> &USERTCA0

0x33 - User TCA0

Source

pub const fn usertcb0(&self) -> &USERTCB0

0x34 - User TCB0

Source

pub const fn usertcb1(&self) -> &USERTCB1

0x35 - User TCB1

Source

pub const fn usertcb2(&self) -> &USERTCB2

0x36 - User TCB2

Source

pub const fn usertcb3(&self) -> &USERTCB3

0x37 - User TCB3

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.