[][src]Type Definition stm32g0::stm32g030::tim2::cnt::R

type R = R<u32, CNT>;

Reader of register CNT

Methods

impl R[src]

pub fn cnt_h(&self) -> CNT_H_R[src]

Bits 16:31 - High counter value (TIM2 only)

pub fn cnt_l(&self) -> CNT_L_R[src]

Bits 0:15 - Low counter value