ADuCM302x 0.1.0

A Peripheral Access Crate for the Analog Devices ADuCM302x series of MCUs
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[doc = "Reader of register SNAP2"]
pub type R = crate::R<u16, super::SNAP2>;
#[doc = "Reader of field `VALUE`"]
pub type VALUE_R = crate::R<u16, u16>;
impl R {
    #[doc = "Bits 0:14 - Part of the 47-bit Input Capture Channel 0 Containing a Sticky Snapshot of CNT2"]
    #[inline(always)]
    pub fn value(&self) -> VALUE_R {
        VALUE_R::new((self.bits & 0x7fff) as u16)
    }
}