efm32pg1b-pac 0.4.3

Peripheral access API for Silicon Labs EFM32PG1B microcontrollers
Documentation
///Register `DOUT_TGL` writer
pub type W = crate::W<DOUT_TGLrs>;
///Field `PINS_DOUT_TGL` writer - Data Out Toggle for pins 0:15
pub type PinsDoutTglW<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>;
impl core::fmt::Debug for crate::generic::Reg<DOUT_TGLrs> {
    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
        write!(f, "(not readable)")
    }
}
impl W {
    ///Bits 0:15 - Data Out Toggle for pins 0:15
    #[inline(always)]
    pub fn pins_dout_tgl(&mut self) -> PinsDoutTglW<'_, DOUT_TGLrs> {
        PinsDoutTglW::new(self, 0)
    }
}
///Port Data Out Toggle Register. Write bits to 1 to toggle corresponding bits in GPIO_Px_DOUT. Bits written to 0 will have no effect.
///
///You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`dout_tgl::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
pub struct DOUT_TGLrs;
impl crate::RegisterSpec for DOUT_TGLrs {
    type Ux = u32;
}
///`write(|w| ..)` method takes [`dout_tgl::W`](W) writer structure
impl crate::Writable for DOUT_TGLrs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets DOUT_TGL to value 0
impl crate::Resettable for DOUT_TGLrs {}