Struct drone_stm32f1::reg::Alias
[−]
pub struct Alias<R> { /* fields omitted */ }
Register bit-band alias type.
Trait Implementations
impl RegionAlias<Acr> for Alias<Acr>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Acr>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl AcrBits<Alias> for Alias<Acr>
fn prefetch_enable(&mut self, enable: bool) -> &mut Self
[src]
Prefetch buffer enable.
fn half_cycle(&mut self, enable: bool) -> &mut Self
[src]
Flash half cycle access enable.
impl RegionAlias<Crl<A>> for Alias<Crl<A>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crl<A>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Crh<A>> for Alias<Crh<A>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crh<A>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Bsrr<A>> for Alias<Bsrr<A>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Bsrr<A>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl BsrrBits<A, Alias> for Alias<Bsrr<A>>
impl RegionAlias<Crl<B>> for Alias<Crl<B>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crl<B>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Crh<B>> for Alias<Crh<B>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crh<B>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Bsrr<B>> for Alias<Bsrr<B>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Bsrr<B>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl BsrrBits<B, Alias> for Alias<Bsrr<B>>
impl RegionAlias<Crl<C>> for Alias<Crl<C>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crl<C>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Crh<C>> for Alias<Crh<C>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crh<C>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Bsrr<C>> for Alias<Bsrr<C>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Bsrr<C>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl BsrrBits<C, Alias> for Alias<Bsrr<C>>
impl RegionAlias<Crl<D>> for Alias<Crl<D>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crl<D>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Crh<D>> for Alias<Crh<D>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crh<D>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Bsrr<D>> for Alias<Bsrr<D>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Bsrr<D>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl BsrrBits<D, Alias> for Alias<Bsrr<D>>
impl RegionAlias<Crl<E>> for Alias<Crl<E>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crl<E>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Crh<E>> for Alias<Crh<E>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crh<E>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Bsrr<E>> for Alias<Bsrr<E>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Bsrr<E>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl BsrrBits<E, Alias> for Alias<Bsrr<E>>
impl RegionAlias<Crl<F>> for Alias<Crl<F>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crl<F>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Crh<F>> for Alias<Crh<F>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crh<F>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Bsrr<F>> for Alias<Bsrr<F>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Bsrr<F>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl BsrrBits<F, Alias> for Alias<Bsrr<F>>
impl RegionAlias<Crl<G>> for Alias<Crl<G>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crl<G>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Crh<G>> for Alias<Crh<G>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Crh<G>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl RegionAlias<Bsrr<G>> for Alias<Bsrr<G>>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Bsrr<G>>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl BsrrBits<G, Alias> for Alias<Bsrr<G>>
impl RegionAlias<Cr> for Alias<Cr>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Cr>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl CrBits<Alias> for Alias<Cr>
fn pll_enable(&mut self, enable: bool) -> &mut Self
[src]
PLL enable.
fn hse_enable(&mut self, enable: bool) -> &mut Self
[src]
HSE clock enable.
fn hse_bypass(&mut self, bypass: bool) -> &mut Self
[src]
External high-speed clock bypass.
fn pll_ready(&self) -> bool
[src]
PLL clock ready flag.
fn hse_ready(&self) -> bool
[src]
External high-speed clock ready flag.
fn css_enable(&mut self, enable: bool) -> &mut Self
[src]
Clock security system enable.
impl RegionAlias<Cfgr> for Alias<Cfgr>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Cfgr>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl CfgrBits<Alias> for Alias<Cfgr>
fn pll_source(&mut self, source: CfgrPllSource) -> &mut Self
[src]
PLL entry clock source.
fn pll_hse_prescaler(&mut self, prescaler: CfgrPllHsePrescaler) -> &mut Self
[src]
HSE divider for PLL entry.
impl RegionAlias<Cir> for Alias<Cir>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Cir>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl CirBits<Alias> for Alias<Cir>
fn css_clear(&mut self) -> &mut Self
[src]
Clock security system interrupt clear.
fn css(&self) -> bool
[src]
Clock security system interrupt flag.
impl RegionAlias<Apb2enr> for Alias<Apb2enr>
const BASE: usize
BASE: usize = PERIPHERAL_ALIAS_BASE
Start of a bit-banding alias memory region.
unsafe fn new(address: usize) -> Alias<Apb2enr>
Constructs a new bit-band alias handler. Read more
fn alias_base(address: usize) -> usize
[src]
Returns a bit-band alias base for the address.
impl Apb2enrBits<Alias> for Alias<Apb2enr>
fn port_enable(&mut self, port: Apb2enrIop, enable: bool) -> &mut Self
[src]
Enables an IO port clock.
impl<R> RawAlias<R> for Alias<R> where
Alias<R>: RegionAlias<R>,
Alias<R>: RegionAlias<R>,