pub type Sercom2 = Sercom2;
Expand description
Type alias for the corresponding SERCOM instance
Aliased Type§
struct Sercom2 { /* private fields */ }
Trait Implementations§
Source§impl Sercom for Sercom2
impl Sercom for Sercom2
Source§const DMA_RX_TRIGGER: TriggerSource = TriggerSource::Sercom2Rx
const DMA_RX_TRIGGER: TriggerSource = TriggerSource::Sercom2Rx
RX Trigger source for DMA transactions
Source§const DMA_TX_TRIGGER: TriggerSource = TriggerSource::Sercom2Tx
const DMA_TX_TRIGGER: TriggerSource = TriggerSource::Sercom2Tx
TX trigger source for DMA transactions
type Interrupt = SERCOM2
Source§fn enable_apb_clock(&mut self, ctrl: &ApbClkCtrl)
fn enable_apb_clock(&mut self, ctrl: &ApbClkCtrl)
Enable the corresponding APB clock
Source§fn reg_block(peripherals: &mut Peripherals) -> &RegisterBlock
fn reg_block(peripherals: &mut Peripherals) -> &RegisterBlock
Get a reference to the sercom from a
Peripherals
blockSource§fn rx_waker() -> &'static AtomicWaker
fn rx_waker() -> &'static AtomicWaker
Get a reference to this
Sercom
’s associated RX WakerSource§fn tx_waker() -> &'static AtomicWaker
fn tx_waker() -> &'static AtomicWaker
Get a reference to this
Sercom
’s associated TX Waker