[−][src]Struct drone_cortex_m::map::reg::tpiu::Acpr
Asynchronous Clock Prescaler Register.
Fields
swoscaler: Swoscaler<_T>
SWO baud rate prescaler value.
Trait Implementations
impl<_T: Copy + RegTag> Copy for Reg<_T>
[src]
impl<_T: Clone + RegTag> Clone for Reg<_T>
[src]
fn clone(&self) -> Reg<_T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<_T: RegTag> RReg<_T> for Reg<_T>
[src]
fn load_val(&self) -> Self::Val
[src]
fn load<'a>(&'a self) -> Self::Hold where
Self: RegRef<'a, T>,
[src]
Self: RegRef<'a, T>,
fn as_ptr(&self) -> *const <Self::Val as Bitfield>::Bits
[src]
impl<_T: RegTag> Reg<_T> for Reg<_T>
[src]
type Val = Val
Opaque storage for register values. Read more
type UReg = Reg<Urt>
Corresponding unsynchronized register token.
type SReg = Reg<Srt>
Corresponding synchronized register token.
type CReg = Reg<Crt>
Corresponding copyable register token.
const ADDRESS: usize
[src]
const RESET: u32
[src]
unsafe fn val_from(bits: u32) -> Val
[src]
fn into_unsync(self) -> Self::UReg where
T: RegOwned,
[src]
T: RegOwned,
fn into_sync(self) -> Self::SReg where
T: RegOwned,
[src]
T: RegOwned,
fn into_copy(self) -> Self::CReg
[src]
fn as_sync(&self) -> &Self::SReg where
T: RegAtomic,
[src]
T: RegAtomic,
fn default_val(&self) -> Self::Val
[src]
impl<_T: RegTag> WReg<_T> for Reg<_T>
[src]
fn as_mut_ptr(&self) -> *mut <Self::Val as Bitfield>::Bits
[src]
impl<_T: RegTag> Token for Reg<_T>
[src]
impl<'a, _T> RegHold<'a, _T, Reg<_T>> for Hold<'a, _T> where
_T: RegTag,
[src]
_T: RegTag,
impl<'a, _T> RegRef<'a, _T> for Reg<_T> where
_T: RegTag + 'a,
[src]
_T: RegTag + 'a,
Auto Trait Implementations
Blanket Implementations
impl<R> SRwReg for R where
R: SRwReg + RwRegAtomic<'a, Srt>,
[src]
R: SRwReg + RwRegAtomic<'a, Srt>,
impl<R> CRwReg for R where
R: CRwReg + RwRegAtomic<'a, Crt>,
[src]
R: CRwReg + RwRegAtomic<'a, Crt>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<R, T> RwReg<T> for R where
R: RReg<T> + WReg<T>,
T: RegTag,
[src]
R: RReg<T> + WReg<T>,
T: RegTag,
impl<R> URwReg for R where
R: RwReg<Urt> + RwRegUnsync<'a>,
[src]
R: RwReg<Urt> + RwRegUnsync<'a>,
impl<R> SRwReg for R where
R: RwReg<Srt> + WRegAtomic<'a, Srt>,
[src]
R: RwReg<Srt> + WRegAtomic<'a, Srt>,
impl<R> CRwReg for R where
R: RwReg<Crt> + WRegAtomic<'a, Crt> + Copy,
[src]
R: RwReg<Crt> + WRegAtomic<'a, Crt> + Copy,
impl<'a, R> RwRegUnsync<'a> for R where
R: RReg<Urt> + WRegUnsync<'a> + RegRef<'a, Urt>,
[src]
R: RReg<Urt> + WRegUnsync<'a> + RegRef<'a, Urt>,
fn modify<F>(&'a mut self, f: F) where
F: for<'b> FnOnce(&'b mut <R as RegRef<'a, Urt>>::Hold) -> &'b mut <R as RegRef<'a, Urt>>::Hold,
[src]
F: for<'b> FnOnce(&'b mut <R as RegRef<'a, Urt>>::Hold) -> &'b mut <R as RegRef<'a, Urt>>::Hold,
impl<'a, T, R> WRegAtomic<'a, T> for R where
R: WReg<T> + RegRef<'a, T>,
T: RegAtomic,
<R as Reg<T>>::Val: Bitfield,
[src]
R: WReg<T> + RegRef<'a, T>,
T: RegAtomic,
<R as Reg<T>>::Val: Bitfield,
fn store<F>(&'a self, f: F) where
F: for<'b> FnOnce(&'b mut <R as RegRef<'a, T>>::Hold) -> &'b mut <R as RegRef<'a, T>>::Hold,
[src]
F: for<'b> FnOnce(&'b mut <R as RegRef<'a, T>>::Hold) -> &'b mut <R as RegRef<'a, T>>::Hold,
fn store_val(&self, val: <R as Reg<T>>::Val)
[src]
fn reset(&'a self)
[src]
impl<'a, R> WRegUnsync<'a> for R where
R: WReg<Urt> + RegRef<'a, Urt>,
[src]
R: WReg<Urt> + RegRef<'a, Urt>,