Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 58 fields pub ACMPHS0: ACMPHS0, pub ACMPLP: ACMPLP, pub ADC160: ADC160, pub CTSU: CTSU, pub OPAMP: OPAMP, pub SDADC24: SDADC24, pub TSN: TSN, pub DAC12: DAC12, pub DAC8: DAC8, pub ELC: ELC, pub IWDT: IWDT, pub KINT: KINT, pub USBFS: USBFS, pub WDT: WDT, pub CAC: CAC, pub CRC: CRC, pub DOC: DOC, pub SCI0: SCI0, pub SCI1: SCI1, pub SCI9: SCI9, pub SPI0: SPI0, pub SPI1: SPI1, pub CAN0: CAN0, pub IIC0: IIC0, pub IIC1: IIC1, pub MMF: MMF, pub MMPU: MMPU, pub SMPU: SMPU, pub SPMON: SPMON, pub SRAM: SRAM, pub BUS: BUS, pub DBG: DBG, pub DTC: DTC, pub ICU: ICU, pub SYSTEM: SYSTEM, pub MSTP: MSTP, pub AGT0: AGT0, pub AGT1: AGT1, pub GPT320: GPT320, pub GPT_OPS: GPT_OPS, pub GPT161: GPT161, pub GPT162: GPT162, pub GPT163: GPT163, pub GPT164: GPT164, pub GPT165: GPT165, pub GPT166: GPT166, pub POEG: POEG, pub RTC: RTC, pub FCACHE: FCACHE, pub PORT0: PORT0, pub PORT1: PORT1, pub PORT2: PORT2, pub PORT3: PORT3, pub PORT4: PORT4, pub PORT5: PORT5, pub PORT9: PORT9, pub PFS: PFS, pub PMISC: PMISC,
}
Expand description

All the peripherals.

Fields§

§ACMPHS0: ACMPHS0

ACMPHS0

§ACMPLP: ACMPLP

ACMPLP

§ADC160: ADC160

ADC160

§CTSU: CTSU

CTSU

§OPAMP: OPAMP

OPAMP

§SDADC24: SDADC24

SDADC24

§TSN: TSN

TSN

§DAC12: DAC12

DAC12

§DAC8: DAC8

DAC8

§ELC: ELC

ELC

§IWDT: IWDT

IWDT

§KINT: KINT

KINT

§USBFS: USBFS

USBFS

§WDT: WDT

WDT

§CAC: CAC

CAC

§CRC: CRC

CRC

§DOC: DOC

DOC

§SCI0: SCI0

SCI0

§SCI1: SCI1

SCI1

§SCI9: SCI9

SCI9

§SPI0: SPI0

SPI0

§SPI1: SPI1

SPI1

§CAN0: CAN0

CAN0

§IIC0: IIC0

IIC0

§IIC1: IIC1

IIC1

§MMF: MMF

MMF

§MMPU: MMPU

MMPU

§SMPU: SMPU

SMPU

§SPMON: SPMON

SPMON

§SRAM: SRAM

SRAM

§BUS: BUS

BUS

§DBG: DBG

DBG

§DTC: DTC

DTC

§ICU: ICU

ICU

§SYSTEM: SYSTEM

SYSTEM

§MSTP: MSTP

MSTP

§AGT0: AGT0

AGT0

§AGT1: AGT1

AGT1

§GPT320: GPT320

GPT320

§GPT_OPS: GPT_OPS

GPT_OPS

§GPT161: GPT161

GPT161

§GPT162: GPT162

GPT162

§GPT163: GPT163

GPT163

§GPT164: GPT164

GPT164

§GPT165: GPT165

GPT165

§GPT166: GPT166

GPT166

§POEG: POEG

POEG

§RTC: RTC

RTC

§FCACHE: FCACHE

FCACHE

§PORT0: PORT0

PORT0

§PORT1: PORT1

PORT1

§PORT2: PORT2

PORT2

§PORT3: PORT3

PORT3

§PORT4: PORT4

PORT4

§PORT5: PORT5

PORT5

§PORT9: PORT9

PORT9

§PFS: PFS

PFS

§PMISC: PMISC

PMISC

Implementations§

Source§

impl Peripherals

Source

pub unsafe fn steal() -> Self

Unchecked version of Peripherals::take.

§Safety

Each of the returned peripherals must be used at most once.

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.