neorv32-pac 0.2.0

Peripheral Access Crate (PAC) for the open-source NEORV32 RISC-V microcontroller
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[doc = "Register `PORT_IN` reader"]
pub type R = crate::R<PortInSpec>;
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        write!(f, "{}", self.bits())
    }
}
#[doc = "Parallel input port\n\nYou can [`read`](crate::Reg::read) this register and get [`port_in::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct PortInSpec;
impl crate::RegisterSpec for PortInSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`port_in::R`](R) reader structure"]
impl crate::Readable for PortInSpec {}
#[doc = "`reset()` method sets PORT_IN to value 0"]
impl crate::Resettable for PortInSpec {}