efm32pg1b-pac 0.4.3

Peripheral access API for Silicon Labs EFM32PG1B microcontrollers
Documentation
///Register `CMD` reader
pub type R = crate::R<CMDrs>;
///Register `CMD` writer
pub type W = crate::W<CMDrs>;
///Field `INSTR` reader - Execute Instruction
pub type InstrR = crate::FieldReader;
///Field `INSTR` writer - Execute Instruction
pub type InstrW<'a, REG> = crate::FieldWriter<'a, REG, 8>;
///Field `SEQSTART` writer - Encryption/Decryption SEQUENCE Start
pub type SeqstartW<'a, REG> = crate::BitWriter<'a, REG>;
///Field `SEQSTOP` writer - Sequence Stop
pub type SeqstopW<'a, REG> = crate::BitWriter<'a, REG>;
///Field `SEQSTEP` writer - Sequence Step
pub type SeqstepW<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    ///Bits 0:7 - Execute Instruction
    #[inline(always)]
    pub fn instr(&self) -> InstrR {
        InstrR::new((self.bits & 0xff) as u8)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("CMD").field("instr", &self.instr()).finish()
    }
}
impl W {
    ///Bits 0:7 - Execute Instruction
    #[inline(always)]
    pub fn instr(&mut self) -> InstrW<'_, CMDrs> {
        InstrW::new(self, 0)
    }
    ///Bit 9 - Encryption/Decryption SEQUENCE Start
    #[inline(always)]
    pub fn seqstart(&mut self) -> SeqstartW<'_, CMDrs> {
        SeqstartW::new(self, 9)
    }
    ///Bit 10 - Sequence Stop
    #[inline(always)]
    pub fn seqstop(&mut self) -> SeqstopW<'_, CMDrs> {
        SeqstopW::new(self, 10)
    }
    ///Bit 11 - Sequence Step
    #[inline(always)]
    pub fn seqstep(&mut self) -> SeqstepW<'_, CMDrs> {
        SeqstepW::new(self, 11)
    }
}
///Command Register
///
///You can [`read`](crate::Reg::read) this register and get [`cmd::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cmd::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
pub struct CMDrs;
impl crate::RegisterSpec for CMDrs {
    type Ux = u32;
}
///`read()` method returns [`cmd::R`](R) reader structure
impl crate::Readable for CMDrs {}
///`write(|w| ..)` method takes [`cmd::W`](W) writer structure
impl crate::Writable for CMDrs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets CMD to value 0
impl crate::Resettable for CMDrs {}