RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn tifr4(&self) -> &TIFR4

0x00 - Timer/Counter4 Interrupt Flag register

Source

pub const fn timsk4(&self) -> &TIMSK4

0x39 - Timer/Counter4 Interrupt Mask Register

Source

pub const fn tccr4a(&self) -> &TCCR4A

0x67 - Timer/Counter4 Control Register A

Source

pub const fn tccr4b(&self) -> &TCCR4B

0x68 - Timer/Counter4 Control Register B

Source

pub const fn tccr4c(&self) -> &TCCR4C

0x69 - Timer/Counter 4 Control Register C

Source

pub const fn tcnt4(&self) -> &TCNT4

0x6b - Timer/Counter4 Bytes

Source

pub const fn icr4(&self) -> &ICR4

0x6d - Timer/Counter4 Input Capture Register Bytes

Source

pub const fn ocr4a(&self) -> &OCR4A

0x6f - Timer/Counter4 Output Compare Register A Bytes

Source

pub const fn ocr4b(&self) -> &OCR4B

0x71 - Timer/Counter4 Output Compare Register B Bytes

Source

pub const fn ocr4c(&self) -> &OCR4C

0x73 - Timer/Counter4 Output Compare Register B Bytes

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.