#[doc = "The minor loop offset is not applied to the SADDR"]
#[inline]
pubfn_0(self)-> &'amutW{
self.variant(SMLOEW::_0)
}
#[doc = "The minor loop offset is applied to the SADDR"]
#[inline]
pubfn_1(self)-> &'amutW{
self.variant(SMLOEW::_1)
}
#[doc = r" Sets the field bit"]
pubfnset_bit(self)-> &'amutW{
self.bit(true)
}
#[doc = r" Clears the field bit"]
pubfnclear_bit(self)-> &'amutW{
self.bit(false)
}
#[doc = r" Writes raw bits to the field"]
#[inline]
pubfnbit(self,value: bool)-> &'amutW{
constMASK: bool=true;
constOFFSET: u8=31;
self.w.bits&=!((MASKasu32)<<OFFSET);
self.w.bits|=((value&MASK)asu32)<<OFFSET;
self.w
}
}
implR{
#[doc = r" Value of the register as raw bits"]
#[inline]
pubfnbits(&self)-> u32{
self.bits
}
#[doc = "Bits 0:9 - Minor Byte Transfer Count"]
#[inline]
pubfnnbytes(&self)-> NBYTESR{
letbits={
constMASK: u16=1023;
constOFFSET: u8=0;
((self.bits>>OFFSET)&MASKasu32)asu16
};
NBYTESR{bits}
}
#[doc = "Bits 10:29 - If SMLOE or DMLOE is set, this field represents a sign-extended offset applied to the source or destination address to form the next-state value after the minor loop completes."]
#[inline]
pubfnmloff(&self)-> MLOFFR{
letbits={
constMASK: u32=1048575;
constOFFSET: u8=10;
((self.bits>>OFFSET)&MASKasu32)asu32
};
MLOFFR{bits}
}
#[doc = "Bit 30 - Destination Minor Loop Offset enable"]
#[inline]
pubfndmloe(&self)-> DMLOER{
DMLOER::_from({
constMASK: bool=true;
constOFFSET: u8=30;
((self.bits>>OFFSET)&MASKasu32)!=0
})
}
#[doc = "Bit 31 - Source Minor Loop Offset Enable"]
#[inline]
pubfnsmloe(&self)-> SMLOER{
SMLOER::_from({
constMASK: bool=true;
constOFFSET: u8=31;
((self.bits>>OFFSET)&MASKasu32)!=0
})
}
}
implW{
#[doc = r" Reset value of the register"]
#[inline]
pubfnreset_value()-> W{
W{bits: 0}
}
#[doc = r" Writes raw bits to the register"]
#[inline]
pubunsafefnbits(&mutself,bits: u32)-> &mutSelf{
self.bits=bits;
self
}
#[doc = "Bits 0:9 - Minor Byte Transfer Count"]
#[inline]
pubfnnbytes(&mutself)-> _NBYTESW{
_NBYTESW{w: self}
}
#[doc = "Bits 10:29 - If SMLOE or DMLOE is set, this field represents a sign-extended offset applied to the source or destination address to form the next-state value after the minor loop completes."]
#[inline]
pubfnmloff(&mutself)-> _MLOFFW{
_MLOFFW{w: self}
}
#[doc = "Bit 30 - Destination Minor Loop Offset enable"]
#[inline]
pubfndmloe(&mutself)-> _DMLOEW{
_DMLOEW{w: self}
}
#[doc = "Bit 31 - Source Minor Loop Offset Enable"]