#[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
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedAs for T
impl<T> CheckedAs for T
sourcefn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> CheckedCastFrom<Src> for Dst where
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dst where
Src: CheckedCast<Dst>,
sourcefn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
sourceimpl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
sourcefn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
sourceimpl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
sourcefn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
sourceimpl<T> OverflowingAs for T
impl<T> OverflowingAs for T
sourcefn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> OverflowingCastFrom<Src> for Dst where
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dst where
Src: OverflowingCast<Dst>,
sourcefn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
OverflowingCasts the value.
sourceimpl<T> SaturatingAs for T
impl<T> SaturatingAs for T
sourcefn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> SaturatingCastFrom<Src> for Dst where
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dst where
Src: SaturatingCast<Dst>,
sourcefn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
sourceimpl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
sourcefn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> UnwrappedCastFrom<Src> for Dst where
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dst where
Src: UnwrappedCast<Dst>,
sourcefn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
UnwrappedCasts the value.
sourceimpl<T> WrappingAs for T
impl<T> WrappingAs for T
sourcefn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> WrappingCastFrom<Src> for Dst where
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dst where
Src: WrappingCast<Dst>,
sourcefn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
WrappingCasts the value.