rv32m1_ri5cy-pac 0.1.1

Peripheral access API for the RI5CY core of RV32M1 chips
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[doc = "Reader of register PIN"]
pub type R = crate::R<u32, super::PIN>;
#[doc = "Reader of field `PDI`"]
pub type PDI_R = crate::R<u32, u32>;
impl R {
  #[doc = "Bits 0:31 - Pin Data Input"]
  #[inline(always)]
  pub fn pdi(&self) -> PDI_R {
    PDI_R::new((self.bits & 0xffff_ffff) as u32)
  }
}