# CHANNEL in k210_pac::i2s0 - Rust
Register block
Keywords: rust, rustlang, rust-lang, CHANNEL

# Struct k210_pac::i2s0::CHANNEL

source · [−]

    #[repr(C)]pub struct CHANNEL {Show 15 fields
        pub left_rxtx: LEFT_RXTX,
        pub right_rxtx: RIGHT_RXTX,
        pub rer: RER,
        pub ter: TER,
        pub rcr: RCR,
        pub tcr: TCR,
        pub isr: ISR,
        pub imr: IMR,
        pub ror: ROR,
        pub tor: TOR,
        pub rfcr: RFCR,
        pub tfcr: TFCR,
        pub rff: RFF,
        pub tff: TFF,
        pub _reserved: [_RESERVED; 2],
    }

Expand description

Register block

## Fields

`left_rxtx: LEFT_RXTX`

0x00 - Left Receive or Left Transmit Register

`right_rxtx: RIGHT_RXTX`

0x04 - Right Receive or Right Transmit Register

`rer: RER`

0x08 - Receive Enable Register

`ter: TER`

0x0c - Transmit Enable Register

`rcr: RCR`

0x10 - Receive Configuration Register

`tcr: TCR`

0x14 - Transmit Configuration Register

`isr: ISR`

0x18 - Interrupt Status Register

`imr: IMR`

0x1c - Interrupt Mask Register

`ror: ROR`

0x20 - Receive Overrun Register

`tor: TOR`

0x24 - Transmit Overrun Register

`rfcr: RFCR`

0x28 - Receive FIFO Configuration Register

`tfcr: TFCR`

0x2c - Transmit FIFO Configuration Register

`rff: RFF`

0x30 - Receive FIFO Flush Register

`tff: TFF`

0x34 - Transmit FIFO Flush Register

`_reserved: [_RESERVED; 2]`

0x38 - _RESERVED0

## Auto Trait Implementations

### impl !RefUnwindSafe for CHANNEL

### impl Send for CHANNEL

### impl !Sync for CHANNEL

### impl Unpin for CHANNEL

### impl UnwindSafe for CHANNEL

## 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.