1#[doc = "Register `tp_data` reader"]
2pub type R = crate::R<TP_DATA_SPEC>;
3#[doc = "Field `tp_data` reader - TP Data"]
4pub type TP_DATA_R = crate::FieldReader<u16>;
5impl R {
6 #[doc = "Bits 0:11 - TP Data"]
7 #[inline(always)]
8 pub fn tp_data(&self) -> TP_DATA_R {
9 TP_DATA_R::new((self.bits & 0x0fff) as u16)
10 }
11}
12#[doc = "TP Data Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`tp_data::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct TP_DATA_SPEC;
14impl crate::RegisterSpec for TP_DATA_SPEC {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`tp_data::R`](R) reader structure"]
18impl crate::Readable for TP_DATA_SPEC {}
19#[doc = "`reset()` method sets tp_data to value 0"]
20impl crate::Resettable for TP_DATA_SPEC {
21 const RESET_VALUE: Self::Ux = 0;
22}