Struct drone_stm32f1::reg::Pointer
[−]
pub struct Pointer<R, A> { /* fields omitted */ }
Register pointer type.
Trait Implementations
impl<A> ValuePointer<Tpiuspp, A> for Pointer<Tpiuspp, A>
type Value = Value<Tpiuspp>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> ValuePointer<Tpiuffc, A> for Pointer<Tpiuffc, A>
type Value = Value<Tpiuffc>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> ValuePointer<Itmtp, A> for Pointer<Itmtp, A>
type Value = Value<Itmtp>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> ValuePointer<Itmtc, A> for Pointer<Itmtc, A>
type Value = Value<Itmtc>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> ValuePointer<Itmla, A> for Pointer<Itmla, A>
type Value = Value<Itmla>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> ValuePointer<Mcucr, A> for Pointer<Mcucr, A>
type Value = Value<Mcucr>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> ValuePointer<Demcr, A> for Pointer<Demcr, A>
type Value = Value<Demcr>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> ValuePointer<Acr, A> for Pointer<Acr, A>
type Value = Value<Acr>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Acr, A> for Pointer<Acr, A>
type Alias = Alias<Acr>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crl<A>, A> for Pointer<Crl<A>, A>
type Value = Value<Crl<A>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crl<A>, A> for Pointer<Crl<A>, A>
type Alias = Alias<Crl<A>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crh<A>, A> for Pointer<Crh<A>, A>
type Value = Value<Crh<A>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crh<A>, A> for Pointer<Crh<A>, A>
type Alias = Alias<Crh<A>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Bsrr<A>, A> for Pointer<Bsrr<A>, A>
type Value = Value<Bsrr<A>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Bsrr<A>, A> for Pointer<Bsrr<A>, A>
type Alias = Alias<Bsrr<A>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crl<B>, A> for Pointer<Crl<B>, A>
type Value = Value<Crl<B>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crl<B>, A> for Pointer<Crl<B>, A>
type Alias = Alias<Crl<B>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crh<B>, A> for Pointer<Crh<B>, A>
type Value = Value<Crh<B>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crh<B>, A> for Pointer<Crh<B>, A>
type Alias = Alias<Crh<B>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Bsrr<B>, A> for Pointer<Bsrr<B>, A>
type Value = Value<Bsrr<B>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Bsrr<B>, A> for Pointer<Bsrr<B>, A>
type Alias = Alias<Bsrr<B>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crl<C>, A> for Pointer<Crl<C>, A>
type Value = Value<Crl<C>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crl<C>, A> for Pointer<Crl<C>, A>
type Alias = Alias<Crl<C>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crh<C>, A> for Pointer<Crh<C>, A>
type Value = Value<Crh<C>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crh<C>, A> for Pointer<Crh<C>, A>
type Alias = Alias<Crh<C>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Bsrr<C>, A> for Pointer<Bsrr<C>, A>
type Value = Value<Bsrr<C>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Bsrr<C>, A> for Pointer<Bsrr<C>, A>
type Alias = Alias<Bsrr<C>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crl<D>, A> for Pointer<Crl<D>, A>
type Value = Value<Crl<D>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crl<D>, A> for Pointer<Crl<D>, A>
type Alias = Alias<Crl<D>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crh<D>, A> for Pointer<Crh<D>, A>
type Value = Value<Crh<D>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crh<D>, A> for Pointer<Crh<D>, A>
type Alias = Alias<Crh<D>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Bsrr<D>, A> for Pointer<Bsrr<D>, A>
type Value = Value<Bsrr<D>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Bsrr<D>, A> for Pointer<Bsrr<D>, A>
type Alias = Alias<Bsrr<D>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crl<E>, A> for Pointer<Crl<E>, A>
type Value = Value<Crl<E>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crl<E>, A> for Pointer<Crl<E>, A>
type Alias = Alias<Crl<E>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crh<E>, A> for Pointer<Crh<E>, A>
type Value = Value<Crh<E>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crh<E>, A> for Pointer<Crh<E>, A>
type Alias = Alias<Crh<E>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Bsrr<E>, A> for Pointer<Bsrr<E>, A>
type Value = Value<Bsrr<E>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Bsrr<E>, A> for Pointer<Bsrr<E>, A>
type Alias = Alias<Bsrr<E>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crl<F>, A> for Pointer<Crl<F>, A>
type Value = Value<Crl<F>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crl<F>, A> for Pointer<Crl<F>, A>
type Alias = Alias<Crl<F>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crh<F>, A> for Pointer<Crh<F>, A>
type Value = Value<Crh<F>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crh<F>, A> for Pointer<Crh<F>, A>
type Alias = Alias<Crh<F>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Bsrr<F>, A> for Pointer<Bsrr<F>, A>
type Value = Value<Bsrr<F>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Bsrr<F>, A> for Pointer<Bsrr<F>, A>
type Alias = Alias<Bsrr<F>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crl<G>, A> for Pointer<Crl<G>, A>
type Value = Value<Crl<G>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crl<G>, A> for Pointer<Crl<G>, A>
type Alias = Alias<Crl<G>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Crh<G>, A> for Pointer<Crh<G>, A>
type Value = Value<Crh<G>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Crh<G>, A> for Pointer<Crh<G>, A>
type Alias = Alias<Crh<G>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Bsrr<G>, A> for Pointer<Bsrr<G>, A>
type Value = Value<Bsrr<G>>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Bsrr<G>, A> for Pointer<Bsrr<G>, A>
type Alias = Alias<Bsrr<G>>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Cr, A> for Pointer<Cr, A>
type Value = Value<Cr>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Cr, A> for Pointer<Cr, A>
type Alias = Alias<Cr>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Cfgr, A> for Pointer<Cfgr, A>
type Value = Value<Cfgr>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Cfgr, A> for Pointer<Cfgr, A>
type Alias = Alias<Cfgr>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Cir, A> for Pointer<Cir, A>
type Value = Value<Cir>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Cir, A> for Pointer<Cir, A>
type Alias = Alias<Cir>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Apb2enr, A> for Pointer<Apb2enr, A>
type Value = Value<Apb2enr>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> AliasPointer<Apb2enr, A> for Pointer<Apb2enr, A>
type Alias = Alias<Apb2enr>
A corresponding register bit-band alias type.
fn bits(&self) -> Self::Alias
[src]
Returns a register bit-band alias.
impl<A> ValuePointer<Aircr, A> for Pointer<Aircr, A>
type Value = Value<Aircr>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> ValuePointer<Ctrl, A> for Pointer<Ctrl, A>
type Value = Value<Ctrl>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<A> ValuePointer<Load, A> for Pointer<Load, A>
type Value = Value<Load>
A corresponding register value wrapper type.
fn read(&self) -> Self::Value
[src]
Reads a wrapped value at the register address.
fn write<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Writes a wrapped value at the register address.
fn modify<F>(&self, f: F) where
F: Fn(&mut Self::Value) -> &Self::Value,
[src]
F: Fn(&mut Self::Value) -> &Self::Value,
Reads, modifies, and writes a wrapped value at the register address.
impl<R, A> RawPointer<R, A> for Pointer<R, A>
unsafe fn new(address: usize) -> Pointer<R, A>
Constructs a new register pointer handler. Read more
fn get(&self) -> usize
Returns a raw register address.
fn read_raw(&self) -> u32
[src]
Reads a raw value at the register address.
fn write_raw(&self, value: u32)
[src]
Writes a raw value at the register address.