# DMA_SEL2_W in k210_pac::sysctl::dma_sel0 - Rust
Write proxy for field `dma_sel2`
Keywords: rust, rustlang, rust-lang, DMA_SEL2_W

# Struct k210_pac::sysctl::dma_sel0::DMA_SEL2_W

source · [−]

    pub struct DMA_SEL2_W<'a> { /* private fields */ }

Expand description

Write proxy for field `dma_sel2`

## Implementations

source

### impl<'a> DMA_SEL2_W<'a>

source

#### pub fn variant(self, variant: DMA_SEL2_A) -> &'a mut W

Writes `variant` to the field

source

#### pub fn ssi0_rx_req(self) -> &'a mut W

`0`

source

#### pub fn ssi0_tx_req(self) -> &'a mut W

`1`

source

#### pub fn ssi1_rx_req(self) -> &'a mut W

`10`

source

#### pub fn ssi1_tx_req(self) -> &'a mut W

`11`

source

#### pub fn ssi2_rx_req(self) -> &'a mut W

`100`

source

#### pub fn ssi2_tx_req(self) -> &'a mut W

`101`

source

#### pub fn ssi3_rx_req(self) -> &'a mut W

`110`

source

#### pub fn ssi3_tx_req(self) -> &'a mut W

`111`

source

#### pub fn i2c0_rx_req(self) -> &'a mut W

`1000`

source

#### pub fn i2c0_tx_req(self) -> &'a mut W

`1001`

source

#### pub fn i2c1_rx_req(self) -> &'a mut W

`1010`

source

#### pub fn i2c1_tx_req(self) -> &'a mut W

`1011`

source

#### pub fn i2c2_rx_req(self) -> &'a mut W

`1100`

source

#### pub fn i2c2_tx_req(self) -> &'a mut W

`1101`

source

#### pub fn uart1_rx_req(self) -> &'a mut W

`1110`

source

#### pub fn uart1_tx_req(self) -> &'a mut W

`1111`

source

#### pub fn uart2_rx_req(self) -> &'a mut W

`10000`

source

#### pub fn uart2_tx_req(self) -> &'a mut W

`10001`

source

#### pub fn uart3_rx_req(self) -> &'a mut W

`10010`

source

#### pub fn uart3_tx_req(self) -> &'a mut W

`10011`

source

#### pub fn aes_req(self) -> &'a mut W

`10100`

source

#### pub fn sha_rx_req(self) -> &'a mut W

`10101`

source

#### pub fn ai_rx_req(self) -> &'a mut W

`10110`

source

#### pub fn fft_rx_req(self) -> &'a mut W

`10111`

source

#### pub fn fft_tx_req(self) -> &'a mut W

`11000`

source

#### pub fn i2s0_tx_req(self) -> &'a mut W

`11001`

source

#### pub fn i2s0_rx_req(self) -> &'a mut W

`11010`

source

#### pub fn i2s1_tx_req(self) -> &'a mut W

`11011`

source

#### pub fn i2s1_rx_req(self) -> &'a mut W

`11100`

source

#### pub fn i2s2_tx_req(self) -> &'a mut W

`11101`

source

#### pub fn i2s2_rx_req(self) -> &'a mut W

`11110`

source

#### pub fn i2s0_bf_dir_req(self) -> &'a mut W

`11111`

source

#### pub fn i2s0_bf_voice_req(self) -> &'a mut W

`100000`

source

#### pub unsafe fn bits(self, value: u8) -> &'a mut W

Writes raw bits to the field

## Auto Trait Implementations

### impl<'a> !RefUnwindSafe for DMA_SEL2_W<'a>

### impl<'a> Send for DMA_SEL2_W<'a>

### impl<'a> !Sync for DMA_SEL2_W<'a>

### impl<'a> Unpin for DMA_SEL2_W<'a>

### impl<'a> !UnwindSafe for DMA_SEL2_W<'a>

## Blanket Implementations

source

### impl<T> Any for T where
T: 'static + ?Sized,

source

#### fn type_id(&self) -> TypeId

Gets the `TypeId` of `self`. Read more

source

### impl<T> Borrow<T> for T where
T: ?Sized,

const: unstable · source

#### fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more

source

### impl<T> BorrowMut<T> for T where
T: ?Sized,

const: unstable · source

#### fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more

source

### impl<T> From<T> for T

const: unstable · source

#### fn from(t: T) -> T

Returns the argument unchanged.

source

### impl<T, U> Into<U> for T where
U: From<T>,

const: unstable · source

#### fn into(self) -> U

Calls `U::from(self)`.

That is, this conversion is whatever the implementation of `From<T> for U` chooses to do.

source

### impl<T, U> TryFrom<U> for T where
U: Into<T>,

#### type Error = Infallible

The type returned in the event of a conversion error.

const: unstable · source

#### fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.

source

### impl<T, U> TryInto<U> for T where
U: TryFrom<T>,

#### type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

const: unstable · source

#### fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.