Struct stm32f072_hal::stm32::gpioa::afrl::W

source ·
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

Reset value of the register

Writes raw bits to the register

Bits 28:31 - Alternate function selection for port x bit y (y = 0..7)

Bits 24:27 - Alternate function selection for port x bit y (y = 0..7)

Bits 20:23 - Alternate function selection for port x bit y (y = 0..7)

Bits 16:19 - Alternate function selection for port x bit y (y = 0..7)

Bits 12:15 - Alternate function selection for port x bit y (y = 0..7)

Bits 8:11 - Alternate function selection for port x bit y (y = 0..7)

Bits 4:7 - Alternate function selection for port x bit y (y = 0..7)

Bits 0:3 - Alternate function selection for port x bit y (y = 0..7)

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.

Should always be Self
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.