[][src]Struct bl602_pac::Peripherals

pub struct Peripherals {
    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 SF_CTRL: SF_CTRL,
    pub DMA: DMA,
    pub PDS: PDS,
    pub HBN: HBN,
    pub AON: AON,
}
[]

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

SF_CTRL: SF_CTRL
[]

SF_CTRL

DMA: DMA
[]

DMA

PDS: PDS
[]

PDS

HBN: HBN
[]

HBN

AON: AON
[]

AON

Implementations

impl Peripherals[src][]

pub fn take() -> Option<Self>[src][]

Returns all the peripherals once

pub unsafe fn steal() -> Self[src][]

Unchecked version of Peripherals::take

Auto Trait Implementations

impl Send for Peripherals

impl !Sync for Peripherals

impl Unpin for Peripherals

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

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

The type returned in the event of a conversion error.