Type Alias Sercom1

Source
pub type Sercom1 = Sercom1;
Expand description

Type alias for the corresponding SERCOM instance

Aliased Type§

struct Sercom1 { /* private fields */ }

Trait Implementations§

Source§

impl Sercom for Sercom1

Source§

const NUM: usize = 1usize

SERCOM number
Source§

const DMA_RX_TRIGGER: TriggerSource = TriggerSource::Sercom1Rx

RX Trigger source for DMA transactions
Source§

const DMA_TX_TRIGGER: TriggerSource = TriggerSource::Sercom1Tx

TX trigger source for DMA transactions
Source§

type Interrupt = SERCOM1

Source§

fn enable_apb_clock(&mut self, ctrl: &ApbClkCtrl)

Enable the corresponding APB clock
Source§

fn reg_block(peripherals: &mut Peripherals) -> &RegisterBlock

Get a reference to the sercom from a Peripherals block
Source§

fn rx_waker() -> &'static AtomicWaker

Get a reference to this Sercom’s associated RX Waker
Source§

fn tx_waker() -> &'static AtomicWaker

Get a reference to this Sercom’s associated TX Waker