Struct atsam4sd16c_pac::adc::cgr::R

source ·
pub struct R(_);
Expand description

Register CGR reader

Implementations§

Bits 0:1 - Gain for Channel 0

Bits 2:3 - Gain for Channel 1

Bits 4:5 - Gain for Channel 2

Bits 6:7 - Gain for Channel 3

Bits 8:9 - Gain for Channel 4

Bits 10:11 - Gain for Channel 5

Bits 12:13 - Gain for Channel 6

Bits 14:15 - Gain for Channel 7

Bits 16:17 - Gain for Channel 8

Bits 18:19 - Gain for Channel 9

Bits 20:21 - Gain for Channel 10

Bits 22:23 - Gain for Channel 11

Bits 24:25 - Gain for Channel 12

Bits 26:27 - Gain for Channel 13

Bits 28:29 - Gain for Channel 14

Bits 30:31 - Gain for Channel 15

Methods from Deref<Target = R<CGR_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

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.