Struct nrf52832_hal::pac::temp::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 23 fields pub tasks_start: Reg<TASKS_START_SPEC>, pub tasks_stop: Reg<TASKS_STOP_SPEC>, pub events_datardy: Reg<EVENTS_DATARDY_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub temp: Reg<TEMP_SPEC>, pub a0: Reg<A0_SPEC>, pub a1: Reg<A1_SPEC>, pub a2: Reg<A2_SPEC>, pub a3: Reg<A3_SPEC>, pub a4: Reg<A4_SPEC>, pub a5: Reg<A5_SPEC>, pub b0: Reg<B0_SPEC>, pub b1: Reg<B1_SPEC>, pub b2: Reg<B2_SPEC>, pub b3: Reg<B3_SPEC>, pub b4: Reg<B4_SPEC>, pub b5: Reg<B5_SPEC>, pub t0: Reg<T0_SPEC>, pub t1: Reg<T1_SPEC>, pub t2: Reg<T2_SPEC>, pub t3: Reg<T3_SPEC>, pub t4: Reg<T4_SPEC>, /* private fields */
}
Expand description

Register block

Fields§

§tasks_start: Reg<TASKS_START_SPEC>

0x00 - Start temperature measurement

§tasks_stop: Reg<TASKS_STOP_SPEC>

0x04 - Stop temperature measurement

§events_datardy: Reg<EVENTS_DATARDY_SPEC>

0x100 - Temperature measurement complete, data ready

§intenset: Reg<INTENSET_SPEC>

0x304 - Enable interrupt

§intenclr: Reg<INTENCLR_SPEC>

0x308 - Disable interrupt

§temp: Reg<TEMP_SPEC>

0x508 - Temperature in degC (0.25deg steps)

§a0: Reg<A0_SPEC>

0x520 - Slope of 1st piece wise linear function

§a1: Reg<A1_SPEC>

0x524 - Slope of 2nd piece wise linear function

§a2: Reg<A2_SPEC>

0x528 - Slope of 3rd piece wise linear function

§a3: Reg<A3_SPEC>

0x52c - Slope of 4th piece wise linear function

§a4: Reg<A4_SPEC>

0x530 - Slope of 5th piece wise linear function

§a5: Reg<A5_SPEC>

0x534 - Slope of 6th piece wise linear function

§b0: Reg<B0_SPEC>

0x540 - y-intercept of 1st piece wise linear function

§b1: Reg<B1_SPEC>

0x544 - y-intercept of 2nd piece wise linear function

§b2: Reg<B2_SPEC>

0x548 - y-intercept of 3rd piece wise linear function

§b3: Reg<B3_SPEC>

0x54c - y-intercept of 4th piece wise linear function

§b4: Reg<B4_SPEC>

0x550 - y-intercept of 5th piece wise linear function

§b5: Reg<B5_SPEC>

0x554 - y-intercept of 6th piece wise linear function

§t0: Reg<T0_SPEC>

0x560 - End point of 1st piece wise linear function

§t1: Reg<T1_SPEC>

0x564 - End point of 2nd piece wise linear function

§t2: Reg<T2_SPEC>

0x568 - End point of 3rd piece wise linear function

§t3: Reg<T3_SPEC>

0x56c - End point of 4th piece wise linear function

§t4: Reg<T4_SPEC>

0x570 - End point of 5th piece wise linear function

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Az for T

source§

fn az<Dst>(self) -> Dst
where T: Cast<Dst>,

Casts the value.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Src, Dst> CastFrom<Src> for Dst
where Src: Cast<Dst>,

source§

fn cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T> CheckedAs for T

source§

fn checked_as<Dst>(self) -> Option<Dst>
where T: CheckedCast<Dst>,

Casts the value.
source§

impl<Src, Dst> CheckedCastFrom<Src> for Dst
where Src: CheckedCast<Dst>,

source§

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Src, Dst> LosslessTryInto<Dst> for Src
where Dst: LosslessTryFrom<Src>,

source§

fn lossless_try_into(self) -> Option<Dst>

Performs the conversion.
source§

impl<Src, Dst> LossyInto<Dst> for Src
where Dst: LossyFrom<Src>,

source§

fn lossy_into(self) -> Dst

Performs the conversion.
source§

impl<T> OverflowingAs for T

source§

fn overflowing_as<Dst>(self) -> (Dst, bool)
where T: OverflowingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> OverflowingCastFrom<Src> for Dst
where Src: OverflowingCast<Dst>,

source§

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SaturatingAs for T

source§

fn saturating_as<Dst>(self) -> Dst
where T: SaturatingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> SaturatingCastFrom<Src> for Dst
where Src: SaturatingCast<Dst>,

source§

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> UnwrappedAs for T

source§

fn unwrapped_as<Dst>(self) -> Dst
where T: UnwrappedCast<Dst>,

Casts the value.
source§

impl<Src, Dst> UnwrappedCastFrom<Src> for Dst
where Src: UnwrappedCast<Dst>,

source§

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T> WrappingAs for T

source§

fn wrapping_as<Dst>(self) -> Dst
where T: WrappingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> WrappingCastFrom<Src> for Dst
where Src: WrappingCast<Dst>,

source§

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.