Trait atsamd_hal::sercom::Sercom
source · pub trait Sercom: Sealed + Deref<Target = RegisterBlock> {
const NUM: usize;
// Required method
fn enable_apb_clock(&mut self, ctrl: &APB_CLK_CTRL);
}
Expand description
Type-level enum
representing a Serial Communication Interface (SERCOM)
Required Associated Constants§
Required Methods§
sourcefn enable_apb_clock(&mut self, ctrl: &APB_CLK_CTRL)
fn enable_apb_clock(&mut self, ctrl: &APB_CLK_CTRL)
Enable the corresponding APB clock