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