embassy-stm32

Crates

git

Versions

stm32l433rc

Flavors

embassy_stm32::timer

Trait CoreInstance

Source
pub trait CoreInstance: SealedInstance + 'static {
    type UpdateInterrupt: Interrupt;

    const BITS: TimerBits;

    // Required method
    fn regs() -> *mut ();
}
Expand description

Core timer instance.

Required Associated Constants§

Source

const BITS: TimerBits

Amount of bits this timer has.

Required Associated Types§

Source

type UpdateInterrupt: Interrupt

Update Interrupt for this timer.

Required Methods§

Source

fn regs() -> *mut ()

Registers for this timer.

This is a raw pointer to the register block. The actual register block layout varies depending on the timer type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§