Struct mk20d7::Peripherals

source ·
pub struct Peripherals {
Show 63 fields pub FTFL_FLASHCONFIG: FTFL_FLASHCONFIG, pub AIPS0: AIPS0, pub AIPS1: AIPS1, pub AXBS: AXBS, pub DMA: DMA, pub FB: FB, pub FMC: FMC, pub FTFL: FTFL, pub DMAMUX: DMAMUX, pub CAN0: CAN0, pub SPI0: SPI0, pub SPI1: SPI1, pub I2S0: I2S0, pub CRC: CRC, pub USBDCD: USBDCD, pub PDB0: PDB0, pub PIT: PIT, pub FTM0: FTM0, pub FTM1: FTM1, pub FTM2: FTM2, pub ADC0: ADC0, pub ADC1: ADC1, pub RTC: RTC, pub RFVBAT: RFVBAT, pub LPTMR0: LPTMR0, pub RFSYS: RFSYS, pub TSI0: TSI0, pub SIM: SIM, pub PORTA: PORTA, pub PORTB: PORTB, pub PORTC: PORTC, pub PORTD: PORTD, pub PORTE: PORTE, pub WDOG: WDOG, pub EWM: EWM, pub CMT: CMT, pub MCG: MCG, pub OSC: OSC, pub I2C0: I2C0, pub I2C1: I2C1, pub UART0: UART0, pub UART1: UART1, pub UART2: UART2, pub UART3: UART3, pub UART4: UART4, pub USB0: USB0, pub CMP0: CMP0, pub CMP1: CMP1, pub CMP2: CMP2, pub VREF: VREF, pub LLWU: LLWU, pub PMC: PMC, pub SMC: SMC, pub RCM: RCM, pub DAC0: DAC0, pub PTA: PTA, pub PTB: PTB, pub PTC: PTC, pub PTD: PTD, pub PTE: PTE, pub SYSTEMCONTROL: SYSTEMCONTROL, pub SYSTICK: SYSTICK, pub MCM: MCM,
}
Expand description

All the peripherals

Fields§

§FTFL_FLASHCONFIG: FTFL_FLASHCONFIG

FTFL_FLASHCONFIG

§AIPS0: AIPS0

AIPS0

§AIPS1: AIPS1

AIPS1

§AXBS: AXBS

AXBS

§DMA: DMA

DMA

§FB: FB

FB

§FMC: FMC

FMC

§FTFL: FTFL

FTFL

§DMAMUX: DMAMUX

DMAMUX

§CAN0: CAN0

CAN0

§SPI0: SPI0

SPI0

§SPI1: SPI1

SPI1

§I2S0: I2S0

I2S0

§CRC: CRC

CRC

§USBDCD: USBDCD

USBDCD

§PDB0: PDB0

PDB0

§PIT: PIT

PIT

§FTM0: FTM0

FTM0

§FTM1: FTM1

FTM1

§FTM2: FTM2

FTM2

§ADC0: ADC0

ADC0

§ADC1: ADC1

ADC1

§RTC: RTC

RTC

§RFVBAT: RFVBAT

RFVBAT

§LPTMR0: LPTMR0

LPTMR0

§RFSYS: RFSYS

RFSYS

§TSI0: TSI0

TSI0

§SIM: SIM

SIM

§PORTA: PORTA

PORTA

§PORTB: PORTB

PORTB

§PORTC: PORTC

PORTC

§PORTD: PORTD

PORTD

§PORTE: PORTE

PORTE

§WDOG: WDOG

WDOG

§EWM: EWM

EWM

§CMT: CMT

CMT

§MCG: MCG

MCG

§OSC: OSC

OSC

§I2C0: I2C0

I2C0

§I2C1: I2C1

I2C1

§UART0: UART0

UART0

§UART1: UART1

UART1

§UART2: UART2

UART2

§UART3: UART3

UART3

§UART4: UART4

UART4

§USB0: USB0

USB0

§CMP0: CMP0

CMP0

§CMP1: CMP1

CMP1

§CMP2: CMP2

CMP2

§VREF: VREF

VREF

§LLWU: LLWU

LLWU

§PMC: PMC

PMC

§SMC: SMC

SMC

§RCM: RCM

RCM

§DAC0: DAC0

DAC0

§PTA: PTA

PTA

§PTB: PTB

PTB

§PTC: PTC

PTC

§PTD: PTD

PTD

§PTE: PTE

PTE

§SYSTEMCONTROL: SYSTEMCONTROL

SYSTEMCONTROL

§SYSTICK: SYSTICK

SYSTICK

§MCM: MCM

MCM

Implementations§

source§

impl Peripherals

source

pub fn take() -> Option<Self>

Returns all the peripherals once

source

pub unsafe fn steal() -> Self

Unchecked version of Peripherals::take

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.