[−][src]Struct gd32vf103_pac::dma0::ch0ctl::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn chen(&mut self) -> _CHENW
[src]
Bit 0 - Channel enable
pub fn ftfie(&mut self) -> _FTFIEW
[src]
Bit 1 - Enable bit for channel full transfer finish interrupt
pub fn htfie(&mut self) -> _HTFIEW
[src]
Bit 2 - Enable bit for channel half transfer finish interrupt
pub fn errie(&mut self) -> _ERRIEW
[src]
Bit 3 - Enable bit for channel error interrupt
pub fn dir(&mut self) -> _DIRW
[src]
Bit 4 - Transfer direction
pub fn cmen(&mut self) -> _CMENW
[src]
Bit 5 - Circular mode enable
pub fn pnaga(&mut self) -> _PNAGAW
[src]
Bit 6 - Next address generation algorithm of peripheral
pub fn mnaga(&mut self) -> _MNAGAW
[src]
Bit 7 - Next address generation algorithm of memory
pub fn pwidth(&mut self) -> _PWIDTHW
[src]
Bits 8:9 - Transfer data size of peripheral
pub fn mwidth(&mut self) -> _MWIDTHW
[src]
Bits 10:11 - Transfer data size of memory
pub fn prio(&mut self) -> _PRIOW
[src]
Bits 12:13 - Priority level
pub fn m2m(&mut self) -> _M2MW
[src]
Bit 14 - Memory to Memory Mode
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,