tm4c129x/udma/
useburstclr.rs1#[doc = "Writer for register USEBURSTCLR"]
2pub type W = crate::W<u32, super::USEBURSTCLR>;
3#[doc = "Register USEBURSTCLR `reset()`'s with value 0"]
4impl crate::ResetValue for super::USEBURSTCLR {
5 type Type = u32;
6 #[inline(always)]
7 fn reset_value() -> Self::Type {
8 0
9 }
10}
11#[doc = "Write proxy for field `CLR`"]
12pub struct CLR_W<'a> {
13 w: &'a mut W,
14}
15impl<'a> CLR_W<'a> {
16 #[doc = r"Writes raw bits to the field"]
17 #[inline(always)]
18 pub unsafe fn bits(self, value: u32) -> &'a mut W {
19 self.w.bits = (self.w.bits & !0xffff_ffff) | ((value as u32) & 0xffff_ffff);
20 self.w
21 }
22}
23impl W {
24 #[doc = "Bits 0:31 - Channel \\[n\\]
25Useburst Clear"]
26 #[inline(always)]
27 pub fn clr(&mut self) -> CLR_W {
28 CLR_W { w: self }
29 }
30}