Struct drone_stm32f1::reg::Value []

pub struct Value<R> { /* fields omitted */ }

Register value type.

Methods

impl Value<Tpiuspp>
[src]

[src]

Selects a pin protocol.

impl Value<Tpiuffc>
[src]

[src]

Sets EnFCont bit.

Activates or deactivates TPIU formatter.

impl Value<Itmtp>
[src]

[src]

Enable tracing a range of ports by mask.

impl Value<Itmtc>
[src]

[src]

Sets ITMENA bit.

Global Enable Bit of the ITM.

[src]

Sets ATB ID which identifies the source of the trace data.

Panics

If id is greater or equals to 0x80.

[src]

Returns busy status.

impl Value<Itmla>
[src]

[src]

Unlocks Write Access to the other ITM registers.

impl Value<Mcucr>
[src]

[src]

Trace pin assignment control.

impl Value<Demcr>
[src]

[src]

Sets TRCENA bit.

Global enable for all DWT and ITM features.

impl Value<Acr>
[src]

[src]

The ratio of the SYSCLK (system clock) period to the Flash access time.

impl<T> Value<Crl<T>>
[src]

[src]

Sets pin mode configuration bits.

impl<T> Value<Crh<T>>
[src]

[src]

Sets pin mode configuration bits.

impl Value<Cfgr>
[src]

[src]

PLL multiplication factor.

Panics

If value is less than 0x2 or greater than 0x10.

[src]

System clock switch.

[src]

System clock switch status.

impl Value<Aircr>
[src]

[src]

Register writes must include this method, otherwise the write is ignored.

[src]

System Reset Request.

impl Value<Ctrl>
[src]

[src]

Sets TICKINT bit.

SysTick exception request enable.

[src]

Sets ENABLE bit.

Counter enable.

impl Value<Load>
[src]

[src]

Specifies the start value to load into the VAL register when the counter is enabled and when it reaches 0.

Panics

If value is greater than 0xFF_FFFF.

Trait Implementations

impl AcrBits<Value> for Value<Acr>

[src]

Prefetch buffer enable.

[src]

Flash half cycle access enable.

impl BsrrBits<A, Value> for Value<Bsrr<A>>

[src]

Sets pin output.

impl BsrrBits<B, Value> for Value<Bsrr<B>>

[src]

Sets pin output.

impl BsrrBits<C, Value> for Value<Bsrr<C>>

[src]

Sets pin output.

impl BsrrBits<D, Value> for Value<Bsrr<D>>

[src]

Sets pin output.

impl BsrrBits<E, Value> for Value<Bsrr<E>>

[src]

Sets pin output.

impl BsrrBits<F, Value> for Value<Bsrr<F>>

[src]

Sets pin output.

impl BsrrBits<G, Value> for Value<Bsrr<G>>

[src]

Sets pin output.

impl CrBits<Value> for Value<Cr>

[src]

PLL enable.

[src]

HSE clock enable.

[src]

External high-speed clock bypass.

[src]

PLL clock ready flag.

[src]

External high-speed clock ready flag.

[src]

Clock security system enable.

impl CfgrBits<Value> for Value<Cfgr>

[src]

PLL entry clock source.

[src]

HSE divider for PLL entry.

impl CirBits<Value> for Value<Cir>

[src]

Clock security system interrupt clear.

[src]

Clock security system interrupt flag.

impl Apb2enrBits<Value> for Value<Apb2enr>

[src]

Enables an IO port clock.

impl<R> RawValue<R> for Value<R>

Constructs a new register value wrapper handler.

Returns a raw register value.

Replaces a raw register value.

[src]

Copies any number of low order bits from a source into the same number of adjacent bits at any position in the stored register value. Read more

[src]

Reads any number of low order bits at any position from the stored register value. Read more