Trait r3_support_rza1::serial::ScifExt
source · pub unsafe trait ScifExt: Deref<Target = RegisterBlock> + Sized {
// Required methods
fn configure_pins(&self, gpio: &RegisterBlock);
fn enable_clock(&self, cpg: &RegisterBlock);
// Provided methods
fn global() -> Self { ... }
fn configure_uart(&self, baud_rate: u32) { ... }
fn into_nb_writer(self) -> NbWriter<Self> { ... }
}
Expand description
The extension trait for rza1::SCIFx
(e.g., rza1::SCIF0
).
Safety
This is only meant to be implemented on rza1::SCIFx
.