#[repr(C)]
pub struct CH { pub cr: Reg<CR_SPEC>, pub ndtr: Reg<NDTR_SPEC>, pub par: Reg<PAR_SPEC>, pub mar: Reg<MAR_SPEC>, }
Expand description

Register block

Fields

cr: Reg<CR_SPEC>

0x00 - DMA channel 1 configuration register

ndtr: Reg<NDTR_SPEC>

0x04 - DMA channel 1 number of data tegister

par: Reg<PAR_SPEC>

0x08 - DMA channel 1 peripheral address

mar: Reg<MAR_SPEC>

0x0c - DMA channel 1 memory address

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.