atsamd51j/etm/
itatbctr0.rs
1#[doc = "Register `ITATBCTR0` writer"]
2pub type W = crate::W<Itatbctr0Spec>;
3impl core::fmt::Debug for crate::generic::Reg<Itatbctr0Spec> {
4 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
5 write!(f, "(not readable)")
6 }
7}
8impl W {}
9#[doc = "ETM Integration Test ATB Control 0\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`itatbctr0::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
10pub struct Itatbctr0Spec;
11impl crate::RegisterSpec for Itatbctr0Spec {
12 type Ux = u32;
13}
14#[doc = "`write(|w| ..)` method takes [`itatbctr0::W`](W) writer structure"]
15impl crate::Writable for Itatbctr0Spec {
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 ITATBCTR0 to value 0"]
21impl crate::Resettable for Itatbctr0Spec {
22 const RESET_VALUE: u32 = 0;
23}