Struct bl702_pac::Peripherals

source ·
pub struct Peripherals {
Show 31 fields pub GLB: GLB, pub RF: RF, pub GPIP: GPIP, pub SEC_DBG: SEC_DBG, pub SEC_ENG: SEC_ENG, pub TZC_SEC: TZC_SEC, pub TZC_NSEC: TZC_NSEC, pub EF_DATA_0: EF_DATA_0, pub EF_DATA_1: EF_DATA_1, pub EF_CTRL: EF_CTRL, pub CCI: CCI, pub L1C: L1C, pub UART: UART, pub SPI: SPI, pub I2C: I2C, pub PWM: PWM, pub TIMER: TIMER, pub IR: IR, pub CKS: CKS, pub QDEC: QDEC, pub KYS: KYS, pub I2S: I2S, pub CAM: CAM, pub MJPEG: MJPEG, pub SF_CTRL: SF_CTRL, pub DMA: DMA, pub EMAC: EMAC, pub USB: USB, pub PDS: PDS, pub HBN: HBN, pub AON: AON,
}
Expand description

All the peripherals.

Fields§

§GLB: GLB

GLB

§RF: RF

RF

§GPIP: GPIP

GPIP

§SEC_DBG: SEC_DBG

SEC_DBG

§SEC_ENG: SEC_ENG

SEC_ENG

§TZC_SEC: TZC_SEC

TZC_SEC

§TZC_NSEC: TZC_NSEC

TZC_NSEC

§EF_DATA_0: EF_DATA_0

EF_DATA_0

§EF_DATA_1: EF_DATA_1

EF_DATA_1

§EF_CTRL: EF_CTRL

EF_CTRL

§CCI: CCI

CCI

§L1C: L1C

L1C

§UART: UART

UART

§SPI: SPI

SPI

§I2C: I2C

I2C

§PWM: PWM

PWM

§TIMER: TIMER

TIMER

§IR: IR

IR

§CKS: CKS

CKS

§QDEC: QDEC

QDEC

§KYS: KYS

KYS

§I2S: I2S

I2S

§CAM: CAM

CAM

§MJPEG: MJPEG

MJPEG

§SF_CTRL: SF_CTRL

SF_CTRL

§DMA: DMA

DMA

§EMAC: EMAC

EMAC

§USB: USB

USB

§PDS: PDS

PDS

§HBN: HBN

HBN

§AON: AON

AON

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 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.