Trait MasterExt

Source
pub trait MasterExt {
    type CRrs: MasterCrR + MasterCrW;
    type ISRrs: MasterIsr;
    type ICRrs: MasterIcr;
    type DIERrs: MasterDierR + MasterDierW;

    // Required methods
    fn cr(&self) -> &Reg<Self::CRrs>;
    fn isr(&self) -> &Reg<Self::ISRrs>;
    fn icr(&self) -> &Reg<Self::ICRrs>;
    fn dier(&self) -> &Reg<Self::DIERrs>;
    fn cntr(&self) -> &CNTR;
    fn perr(&self) -> &PERR;
    fn repr(&self) -> &REPR;
    fn cmp1r(&self) -> &CMP1R;
    fn cmp2r(&self) -> &CMP1R;
    fn cmp3r(&self) -> &CMP1R;
    fn cmp4r(&self) -> &CMP1R;

    // Provided method
    fn cmpr(&self, c: Cmp) -> &CMP1R { ... }
}

Required Associated Types§

Source

type CRrs: MasterCrR + MasterCrW

Source

type ISRrs: MasterIsr

Source

type ICRrs: MasterIcr

Source

type DIERrs: MasterDierR + MasterDierW

Required Methods§

Source

fn cr(&self) -> &Reg<Self::CRrs>

Source

fn isr(&self) -> &Reg<Self::ISRrs>

Source

fn icr(&self) -> &Reg<Self::ICRrs>

Source

fn dier(&self) -> &Reg<Self::DIERrs>

Source

fn cntr(&self) -> &CNTR

Source

fn perr(&self) -> &PERR

Source

fn repr(&self) -> &REPR

Source

fn cmp1r(&self) -> &CMP1R

Source

fn cmp2r(&self) -> &CMP1R

Source

fn cmp3r(&self) -> &CMP1R

Source

fn cmp4r(&self) -> &CMP1R

Provided Methods§

Source

fn cmpr(&self, c: Cmp) -> &CMP1R

Implementors§

Source§

impl MasterExt for stm32_hrtim::pac::hrtim_master::RegisterBlock

Source§

impl MasterExt for stm32_hrtim::pac::hrtim_tima::RegisterBlock

Source§

impl MasterExt for stm32_hrtim::pac::hrtim_timb::RegisterBlock

Source§

impl MasterExt for stm32_hrtim::pac::hrtim_timc::RegisterBlock

Source§

impl MasterExt for stm32_hrtim::pac::hrtim_timd::RegisterBlock

Source§

impl MasterExt for stm32_hrtim::pac::hrtim_time::RegisterBlock

Source§

impl MasterExt for stm32_hrtim::pac::hrtim_timf::RegisterBlock