cc13x0_pac 0.10.3

Peripheral Access Crate for TI's cc13x0 microcontroller
Documentation
#[doc = "Register `PCSR` reader"]
pub type R = crate::R<PcsrSpec>;
#[doc = "Register `PCSR` writer"]
pub type W = crate::W<PcsrSpec>;
#[doc = "Field `EIASAMPLE` reader - 31:0\\]
Execution instruction address sample, or 0xFFFFFFFF if the core is halted."]
pub type EiasampleR = crate::FieldReader<u32>;
#[doc = "Field `EIASAMPLE` writer - 31:0\\]
Execution instruction address sample, or 0xFFFFFFFF if the core is halted."]
pub type EiasampleW<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
    #[doc = "Bits 0:31 - 31:0\\]
Execution instruction address sample, or 0xFFFFFFFF if the core is halted."]
    #[inline(always)]
    pub fn eiasample(&self) -> EiasampleR {
        EiasampleR::new(self.bits)
    }
}
impl W {
    #[doc = "Bits 0:31 - 31:0\\]
Execution instruction address sample, or 0xFFFFFFFF if the core is halted."]
    #[inline(always)]
    #[must_use]
    pub fn eiasample(&mut self) -> EiasampleW<PcsrSpec> {
        EiasampleW::new(self, 0)
    }
}
#[doc = "Program Counter Sample This register is used to enable coarse-grained software profiling using a debug agent, without changing the currently executing code. If the core is not in debug state, the value returned is the instruction address of a recently executed instruction. If the core is in debug state, the value returned is 0xFFFFFFFF.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pcsr::R`](R).  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`pcsr::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct PcsrSpec;
impl crate::RegisterSpec for PcsrSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`pcsr::R`](R) reader structure"]
impl crate::Readable for PcsrSpec {}
#[doc = "`write(|w| ..)` method takes [`pcsr::W`](W) writer structure"]
impl crate::Writable for PcsrSpec {
    type Safety = crate::Unsafe;
    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets PCSR to value 0"]
impl crate::Resettable for PcsrSpec {
    const RESET_VALUE: u32 = 0;
}