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.

Required Methods§

Provided Methods§

source

fn global() -> Self

source

fn configure_uart(&self, baud_rate: u32)

source

fn into_nb_writer(self) -> NbWriter<Self>

Implementations on Foreign Types§

source§

impl ScifExt for SCIF2

Implementors§