[−][src]Enum lpc55s6x_pac::dma0::channel::xfercfg::SRCINCR
Possible values of the field SRCINC
Variants
NO_INCREMENT
No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.
WIDTH_X_1
1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.
WIDTH_X_2
2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.
WIDTH_X_4
4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.
Methods
impl SRCINCR
[src][−]
pub fn bits(&self) -> u8
[src][−]
Value of the field as raw bits
pub fn is_no_increment(&self) -> bool
[src][−]
Checks if the value of the field is NO_INCREMENT
pub fn is_width_x_1(&self) -> bool
[src][−]
Checks if the value of the field is WIDTH_X_1
pub fn is_width_x_2(&self) -> bool
[src][−]
Checks if the value of the field is WIDTH_X_2
pub fn is_width_x_4(&self) -> bool
[src][−]
Checks if the value of the field is WIDTH_X_4
Trait Implementations
impl PartialEq<SRCINCR> for SRCINCR
[src][+]
impl Copy for SRCINCR
[src]
impl Debug for SRCINCR
[src][+]
impl Clone for SRCINCR
[src][+]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self