pub type R = crate::R<GCRrs>;
pub type W = crate::W<GCRrs>;
pub type TRGO_R = crate::BitReader;
pub type TRGO_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn trgo(&self) -> TRGO_R {
TRGO_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("GCR").field("trgo", &self.trgo()).finish()
}
}
impl W {
#[inline(always)]
pub fn trgo(&mut self) -> TRGO_W<GCRrs> {
TRGO_W::new(self, 0)
}
}
pub struct GCRrs;
impl crate::RegisterSpec for GCRrs {
type Ux = u32;
}
impl crate::Readable for GCRrs {}
impl crate::Writable for GCRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for GCRrs {}