embassy-stm32

Crates

git

Versions

stm32h562rg

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ยง

sourceยง

impl CoreInstance for TIM1

sourceยง

impl CoreInstance for TIM2

sourceยง

impl CoreInstance for TIM3

sourceยง

impl CoreInstance for TIM4

sourceยง

impl CoreInstance for TIM5

sourceยง

impl CoreInstance for TIM6

sourceยง

impl CoreInstance for TIM7

sourceยง

impl CoreInstance for TIM8

sourceยง

impl CoreInstance for TIM12

sourceยง

impl CoreInstance for TIM13

sourceยง

impl CoreInstance for TIM14

sourceยง

impl CoreInstance for TIM15

sourceยง

impl CoreInstance for TIM16

sourceยง

impl CoreInstance for TIM17