Skip to main content

Side

Trait Side 

Source
pub trait Side:
    Sealed
    + Send
    + Sync
    + 'static {
    const INDEX: u8;
}
Expand description

A processor-side marker selecting which register view a doorbell drives.

Sealed against external implementations; see Primary, Secondary, and Tertiary.

Required Associated Constants§

Source

const INDEX: u8

Zero-based side index (Primary = 0, Secondary = 1, Tertiary = 2).

Drivers map this onto their hardware numbering, e.g. a 1-based PROC register bank is INDEX + 1.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§