embassy-stm32

Crates

git

Versions

stm32h503kb

Flavors

๐Ÿ“ฃ We want to hear from you! Fill the Rust Embedded 2024 micro-survey.

Trait embassy_stm32::timer::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ยง