RegisterBlock

Struct RegisterBlock 

#[repr(C)]
pub struct RegisterBlock {
Show 16 fields trgmux_dmamux0: TrgmuxDmamux0, trgmux_extout: [TrgmuxExtout; 2], trgmux_adc: [TrgmuxAdc; 2], _reserved3: [u8; 8], trgmux_cmp0: TrgmuxCmp0, _reserved4: [u8; 8], trgmux_ftm: [TrgmuxFtm; 4], trgmux_pdb: [TrgmuxPdb; 2], _reserved6: [u8; 4], trgmux_flexio: TrgmuxFlexio, trgmux_lpit0: TrgmuxLpit0, trgmux_lpuart: [TrgmuxLpuart; 2], trgmux_lpi2c0: TrgmuxLpi2c0, _reserved10: [u8; 4], trgmux_lpspi: [TrgmuxLpspi; 2], trgmux_lptmr0: TrgmuxLptmr0,
}
Expand description

Register block

Fields§

§trgmux_dmamux0: TrgmuxDmamux0§trgmux_extout: [TrgmuxExtout; 2]§trgmux_adc: [TrgmuxAdc; 2]§_reserved3: [u8; 8]§trgmux_cmp0: TrgmuxCmp0§_reserved4: [u8; 8]§trgmux_ftm: [TrgmuxFtm; 4]§trgmux_pdb: [TrgmuxPdb; 2]§_reserved6: [u8; 4]§trgmux_flexio: TrgmuxFlexio§trgmux_lpit0: TrgmuxLpit0§trgmux_lpuart: [TrgmuxLpuart; 2]§trgmux_lpi2c0: TrgmuxLpi2c0§_reserved10: [u8; 4]§trgmux_lpspi: [TrgmuxLpspi; 2]§trgmux_lptmr0: TrgmuxLptmr0

Implementations§

§

impl RegisterBlock

pub const fn trgmux_dmamux0(&self) -> &TrgmuxDmamux0

0x00 - TRGMUX DMAMUX0 Register

pub const fn trgmux_extout(&self, n: usize) -> &TrgmuxExtout

0x04..0x0c - TRGMUX EXTOUT0 Register

pub fn trgmux_extout_iter(&self) -> impl Iterator<Item = &TrgmuxExtout>

Iterator for array of: 0x04..0x0c - TRGMUX EXTOUT0 Register

pub const fn trgmux_adc(&self, n: usize) -> &TrgmuxAdc

0x0c..0x14 - TRGMUX ADC0 Register

pub fn trgmux_adc_iter(&self) -> impl Iterator<Item = &TrgmuxAdc>

Iterator for array of: 0x0c..0x14 - TRGMUX ADC0 Register

pub const fn trgmux_cmp0(&self) -> &TrgmuxCmp0

0x1c - TRGMUX CMP0 Register

pub const fn trgmux_ftm(&self, n: usize) -> &TrgmuxFtm

0x28..0x38 - TRGMUX FTM0 Register

pub fn trgmux_ftm_iter(&self) -> impl Iterator<Item = &TrgmuxFtm>

Iterator for array of: 0x28..0x38 - TRGMUX FTM0 Register

pub const fn trgmux_pdb(&self, n: usize) -> &TrgmuxPdb

0x38..0x40 - TRGMUX PDB0 Register

pub fn trgmux_pdb_iter(&self) -> impl Iterator<Item = &TrgmuxPdb>

Iterator for array of: 0x38..0x40 - TRGMUX PDB0 Register

pub const fn trgmux_flexio(&self) -> &TrgmuxFlexio

0x44 - TRGMUX FLEXIO Register

pub const fn trgmux_lpit0(&self) -> &TrgmuxLpit0

0x48 - TRGMUX LPIT0 Register

pub const fn trgmux_lpuart(&self, n: usize) -> &TrgmuxLpuart

0x4c..0x54 - TRGMUX LPUART0 Register

pub fn trgmux_lpuart_iter(&self) -> impl Iterator<Item = &TrgmuxLpuart>

Iterator for array of: 0x4c..0x54 - TRGMUX LPUART0 Register

pub const fn trgmux_lpi2c0(&self) -> &TrgmuxLpi2c0

0x54 - TRGMUX LPI2C0 Register

pub const fn trgmux_lpspi(&self, n: usize) -> &TrgmuxLpspi

0x5c..0x64 - TRGMUX LPSPI0 Register

pub fn trgmux_lpspi_iter(&self) -> impl Iterator<Item = &TrgmuxLpspi>

Iterator for array of: 0x5c..0x64 - TRGMUX LPSPI0 Register

pub const fn trgmux_lptmr0(&self) -> &TrgmuxLptmr0

0x64 - TRGMUX LPTMR0 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>,

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.