pub struct Board<VDD, VCORE, RTC> {
    pub pwr: Power<VDD, VCORE, RTC>,
    pub flash: Flash,
    pub rcc: Rcc,
}
Expand description

The L031K6-Nucleo

Fields

pwr: Power<VDD, VCORE, RTC>

The constrained Power peripheral

flash: Flash

The constrained Flash peripheral

rcc: Rcc

The constrained Rcc peripheral

Implementations

Obtain Pins for this board in their post-reset state

Set the up SysTick exception to be called every ticks CPU cycles

Configure pin D13 to be used to drive the user led LD3

Initialize the VCP UART (pass-through the STLink USB) and return Tx and Rx pins

Initialize I2C1 and return the peripheral

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.