tm4c123x/pwm0/_0_count.rs
1#[doc = "Reader of register _0_COUNT"]
2pub type R = crate::R<u32, super::_0_COUNT>;
3#[doc = "Reader of field `COUNT`"]
4pub type COUNT_R = crate::R<u16, u16>;
5impl R {
6 #[doc = "Bits 0:15 - Counter Value"]
7 #[inline(always)]
8 pub fn count(&self) -> COUNT_R {
9 COUNT_R::new((self.bits & 0xffff) as u16)
10 }
11}