pub struct Peripherals {Show 23 fields
pub LEDS: LEDS,
pub GPIO0: GPIO0,
pub GPIO1: GPIO1,
pub UART0: UART0,
pub UART1: UART1,
pub TIMER0: TIMER0,
pub TIMER1: TIMER1,
pub SPI0: SPI0,
pub USB0: USB0,
pub USB0_EP_CONTROL: USB0_EP_CONTROL,
pub USB0_EP_IN: USB0_EP_IN,
pub USB0_EP_OUT: USB0_EP_OUT,
pub USB1: USB1,
pub USB1_EP_CONTROL: USB1_EP_CONTROL,
pub USB1_EP_IN: USB1_EP_IN,
pub USB1_EP_OUT: USB1_EP_OUT,
pub USB2: USB2,
pub USB2_EP_CONTROL: USB2_EP_CONTROL,
pub USB2_EP_IN: USB2_EP_IN,
pub USB2_EP_OUT: USB2_EP_OUT,
pub ADVERTISER: ADVERTISER,
pub INFO: INFO,
pub USER0: USER0,
}Expand description
All the peripherals.
Fields§
§LEDS: LEDSleds
GPIO0: GPIO0gpio0
GPIO1: GPIO1gpio1
UART0: UART0uart0
UART1: UART1uart1
TIMER0: TIMER0timer0
TIMER1: TIMER1timer1
SPI0: SPI0spi0
USB0: USB0usb0
USB0_EP_CONTROL: USB0_EP_CONTROLusb0_ep_control
USB0_EP_IN: USB0_EP_INusb0_ep_in
USB0_EP_OUT: USB0_EP_OUTusb0_ep_out
USB1: USB1usb1
USB1_EP_CONTROL: USB1_EP_CONTROLusb1_ep_control
USB1_EP_IN: USB1_EP_INusb1_ep_in
USB1_EP_OUT: USB1_EP_OUTusb1_ep_out
USB2: USB2usb2
USB2_EP_CONTROL: USB2_EP_CONTROLusb2_ep_control
USB2_EP_IN: USB2_EP_INusb2_ep_in
USB2_EP_OUT: USB2_EP_OUTusb2_ep_out
ADVERTISER: ADVERTISERadvertiser
INFO: INFOinfo
USER0: USER0user0
Implementations§
Auto Trait Implementations§
impl Freeze for Peripherals
impl RefUnwindSafe for Peripherals
impl Send for Peripherals
impl !Sync for Peripherals
impl Unpin for Peripherals
impl UnwindSafe for Peripherals
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more