mcxa_pac/cdog0/
assert16.rs1#[doc = "Register `ASSERT16` writer"]
2pub type W = crate::W<Assert16Spec>;
3#[doc = "Field `AST16` writer - ASSERT16 Command"]
4pub type Ast16W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
5#[cfg(feature = "debug")]
6impl core::fmt::Debug for crate::generic::Reg<Assert16Spec> {
7 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
8 write!(f, "(not readable)")
9 }
10}
11impl W {
12 #[doc = "Bits 0:31 - ASSERT16 Command"]
13 #[inline(always)]
14 pub fn ast16(&mut self) -> Ast16W<'_, Assert16Spec> {
15 Ast16W::new(self, 0)
16 }
17}
18#[doc = "ASSERT16 Command Register\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`assert16::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
19pub struct Assert16Spec;
20impl crate::RegisterSpec for Assert16Spec {
21 type Ux = u32;
22}
23#[doc = "`write(|w| ..)` method takes [`assert16::W`](W) writer structure"]
24impl crate::Writable for Assert16Spec {
25 type Safety = crate::Unsafe;
26}
27#[doc = "`reset()` method sets ASSERT16 to value 0"]
28impl crate::Resettable for Assert16Spec {}