embassy-stm32

Crates

git

Versions

stm32u5g9bj

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.

Object Safety§

This trait is not object safe.

Implementors§