1#[doc = "Register `LAR` writer"]
2pub type W = crate::W<LarSpec>;
3impl core::fmt::Debug for crate::generic::Reg<LarSpec> {
4 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
5 write!(f, "(not readable)")
6 }
7}
8impl W {}
9#[doc = "ETM Lock Access Register\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lar::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
10pub struct LarSpec;
11impl crate::RegisterSpec for LarSpec {
12 type Ux = u32;
13}
14#[doc = "`write(|w| ..)` method takes [`lar::W`](W) writer structure"]
15impl crate::Writable for LarSpec {
16 type Safety = crate::Unsafe;
17 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
18 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
19}
20#[doc = "`reset()` method sets LAR to value 0"]
21impl crate::Resettable for LarSpec {
22 const RESET_VALUE: u32 = 0;
23}