Struct stm32f103xx::dma1::ccr2::W
[−]
[src]
pub struct W { /* fields omitted */ }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 en(&mut self) -> _ENW[src]
Bit 0 - Channel enable
pub fn tcie(&mut self) -> _TCIEW[src]
Bit 1 - Transfer complete interrupt enable
pub fn htie(&mut self) -> _HTIEW[src]
Bit 2 - Half Transfer interrupt enable
pub fn teie(&mut self) -> _TEIEW[src]
Bit 3 - Transfer error interrupt enable
pub fn dir(&mut self) -> _DIRW[src]
Bit 4 - Data transfer direction
pub fn circ(&mut self) -> _CIRCW[src]
Bit 5 - Circular mode
pub fn pinc(&mut self) -> _PINCW[src]
Bit 6 - Peripheral increment mode
pub fn minc(&mut self) -> _MINCW[src]
Bit 7 - Memory increment mode
pub fn psize(&mut self) -> _PSIZEW[src]
Bits 8:9 - Peripheral size
pub fn msize(&mut self) -> _MSIZEW[src]
Bits 10:11 - Memory size
pub fn pl(&mut self) -> _PLW[src]
Bits 12:13 - Channel Priority level
pub fn mem2mem(&mut self) -> _MEM2MEMW[src]
Bit 14 - Memory to memory mode