RegisterBlock

Struct RegisterBlock 

#[repr(C)]
pub struct RegisterBlock {
Show 44 fields _reserved0: [u8; 128], pcc_ftfc: PccFtfc, pcc_dmamux: PccDmamux, _reserved2: [u8; 8], pcc_flex_can0: PccFlexCan0, pcc_flex_can1: PccFlexCan1, pcc_ftm3: PccFtm3, pcc_adc1: PccAdc1, _reserved6: [u8; 12], pcc_flex_can2: PccFlexCan2, pcc_lpspi: [PccLpspi; 3], _reserved8: [u8; 8], pcc_pdb1: PccPdb1, pcc_crc: PccCrc, _reserved10: [u8; 12], pcc_pdb0: PccPdb0, pcc_lpit: PccLpit, pcc_ftm0: PccFtm0, pcc_ftm1: PccFtm1, pcc_ftm2: PccFtm2, pcc_adc0: PccAdc0, _reserved16: [u8; 4], pcc_rtc: PccRtc, _reserved17: [u8; 8], pcc_lptmr0: PccLptmr0, _reserved18: [u8; 32], pcc_porta: PccPorta, pcc_portb: PccPortb, pcc_portc: PccPortc, pcc_portd: PccPortd, pcc_porte: PccPorte, _reserved23: [u8; 48], pcc_flex_io: PccFlexIo, _reserved24: [u8; 24], pcc_ewm: PccEwm, _reserved25: [u8; 16], pcc_lpi2c0: PccLpi2c0, _reserved26: [u8; 12], pcc_lpuart: [PccLpuart; 3], _reserved27: [u8; 4], pcc_ftm4: PccFtm4, pcc_ftm5: PccFtm5, _reserved29: [u8; 12], pcc_cmp0: PccCmp0,
}
Expand description

Register block

Fields§

§_reserved0: [u8; 128]§pcc_ftfc: PccFtfc§pcc_dmamux: PccDmamux§_reserved2: [u8; 8]§pcc_flex_can0: PccFlexCan0§pcc_flex_can1: PccFlexCan1§pcc_ftm3: PccFtm3§pcc_adc1: PccAdc1§_reserved6: [u8; 12]§pcc_flex_can2: PccFlexCan2§pcc_lpspi: [PccLpspi; 3]§_reserved8: [u8; 8]§pcc_pdb1: PccPdb1§pcc_crc: PccCrc§_reserved10: [u8; 12]§pcc_pdb0: PccPdb0§pcc_lpit: PccLpit§pcc_ftm0: PccFtm0§pcc_ftm1: PccFtm1§pcc_ftm2: PccFtm2§pcc_adc0: PccAdc0§_reserved16: [u8; 4]§pcc_rtc: PccRtc§_reserved17: [u8; 8]§pcc_lptmr0: PccLptmr0§_reserved18: [u8; 32]§pcc_porta: PccPorta§pcc_portb: PccPortb§pcc_portc: PccPortc§pcc_portd: PccPortd§pcc_porte: PccPorte§_reserved23: [u8; 48]§pcc_flex_io: PccFlexIo§_reserved24: [u8; 24]§pcc_ewm: PccEwm§_reserved25: [u8; 16]§pcc_lpi2c0: PccLpi2c0§_reserved26: [u8; 12]§pcc_lpuart: [PccLpuart; 3]§_reserved27: [u8; 4]§pcc_ftm4: PccFtm4§pcc_ftm5: PccFtm5§_reserved29: [u8; 12]§pcc_cmp0: PccCmp0

Implementations§

§

impl RegisterBlock

pub const fn pcc_ftfc(&self) -> &PccFtfc

0x80 - PCC FTFC Register

pub const fn pcc_dmamux(&self) -> &PccDmamux

0x84 - PCC DMAMUX Register

pub const fn pcc_flex_can0(&self) -> &PccFlexCan0

0x90 - PCC FlexCAN0 Register

pub const fn pcc_flex_can1(&self) -> &PccFlexCan1

0x94 - PCC FlexCAN1 Register

pub const fn pcc_ftm3(&self) -> &PccFtm3

0x98 - PCC FTM3 Register

pub const fn pcc_adc1(&self) -> &PccAdc1

0x9c - PCC ADC1 Register

pub const fn pcc_flex_can2(&self) -> &PccFlexCan2

0xac - PCC FlexCAN2 Register

pub const fn pcc_lpspi(&self, n: usize) -> &PccLpspi

0xb0..0xbc - PCC LPSPI0 Register

pub fn pcc_lpspi_iter(&self) -> impl Iterator<Item = &PccLpspi>

Iterator for array of: 0xb0..0xbc - PCC LPSPI0 Register

pub const fn pcc_pdb1(&self) -> &PccPdb1

0xc4 - PCC PDB1 Register

pub const fn pcc_crc(&self) -> &PccCrc

0xc8 - PCC CRC Register

pub const fn pcc_pdb0(&self) -> &PccPdb0

0xd8 - PCC PDB0 Register

pub const fn pcc_lpit(&self) -> &PccLpit

0xdc - PCC LPIT Register

pub const fn pcc_ftm0(&self) -> &PccFtm0

0xe0 - PCC FTM0 Register

pub const fn pcc_ftm1(&self) -> &PccFtm1

0xe4 - PCC FTM1 Register

pub const fn pcc_ftm2(&self) -> &PccFtm2

0xe8 - PCC FTM2 Register

pub const fn pcc_adc0(&self) -> &PccAdc0

0xec - PCC ADC0 Register

pub const fn pcc_rtc(&self) -> &PccRtc

0xf4 - PCC RTC Register

pub const fn pcc_lptmr0(&self) -> &PccLptmr0

0x100 - PCC LPTMR0 Register

pub const fn pcc_porta(&self) -> &PccPorta

0x124 - PCC PORTA Register

pub const fn pcc_portb(&self) -> &PccPortb

0x128 - PCC PORTB Register

pub const fn pcc_portc(&self) -> &PccPortc

0x12c - PCC PORTC Register

pub const fn pcc_portd(&self) -> &PccPortd

0x130 - PCC PORTD Register

pub const fn pcc_porte(&self) -> &PccPorte

0x134 - PCC PORTE Register

pub const fn pcc_flex_io(&self) -> &PccFlexIo

0x168 - PCC FlexIO Register

pub const fn pcc_ewm(&self) -> &PccEwm

0x184 - PCC EWM Register

pub const fn pcc_lpi2c0(&self) -> &PccLpi2c0

0x198 - PCC LPI2C0 Register

pub const fn pcc_lpuart(&self, n: usize) -> &PccLpuart

0x1a8..0x1b4 - PCC LPUART0 Register

pub fn pcc_lpuart_iter(&self) -> impl Iterator<Item = &PccLpuart>

Iterator for array of: 0x1a8..0x1b4 - PCC LPUART0 Register

pub const fn pcc_ftm4(&self) -> &PccFtm4

0x1b8 - PCC FTM4 Register

pub const fn pcc_ftm5(&self) -> &PccFtm5

0x1bc - PCC FTM5 Register

pub const fn pcc_cmp0(&self) -> &PccCmp0

0x1cc - PCC CMP0 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.