[][src]Trait r3_port_arm::Sp804Options

pub trait Sp804Options {
    const SP804_BASE: usize;
    const FREQUENCY: u64;
    const FREQUENCY_DENOMINATOR: u64;
    const HEADROOM: u32;
    const INTERRUPT_PRIORITY: InterruptPriority;
    const INTERRUPT_NUM: InterruptNum;
}

The options for use_sp804!.

Associated Constants

const SP804_BASE: usize

The base address of SP804's memory-mapped registers.

const FREQUENCY: u64

The numerator of the effective timer clock rate of the dual timer.

const FREQUENCY_DENOMINATOR: u64

The denominator of the effective timer clock rate of the dual timer. Defaults to 1.

const HEADROOM: u32

The maximum permissible timer interrupt latency, measured in hardware timer cycles.

Defaults to min(FREQUENCY * 60 / FREQUENCY_DENOMINATOR, 0x40000000).

const INTERRUPT_PRIORITY: InterruptPriority

The interrupt priority of the timer interrupt line. Defaults to 0xc0.

const INTERRUPT_NUM: InterruptNum

The timer's interrupt number.

Loading content...

Implementors

Loading content...