///Register `IPGR3` reader
pub type R = crate::R<IPGR3rs>;
///Field `IDLE` reader - Status of IP-Plug IDLE is set some time after a request by setting PSTART at 1, and reset by resetting PSTART at 0.
pub type IDLE_R = crate::BitReader;
impl R {
///Bit 0 - Status of IP-Plug IDLE is set some time after a request by setting PSTART at 1, and reset by resetting PSTART at 0.
#[inline(always)]
pub fn idle(&self) -> IDLE_R {
IDLE_R::new((self.bits & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IPGR3").field("idle", &self.idle()).finish()
}
}
/**DCMIPP IP-Plug global register 3
You can [`read`](crate::Reg::read) this register and get [`ipgr3::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct IPGR3rs;
impl crate::RegisterSpec for IPGR3rs {
type Ux = u32;
}
///`read()` method returns [`ipgr3::R`](R) reader structure
impl crate::Readable for IPGR3rs {}
///`reset()` method sets IPGR3 to value 0x01
impl crate::Resettable for IPGR3rs {
const RESET_VALUE: u32 = 0x01;
}