Skip to main content

TempRegisters

Struct TempRegisters 

Source
pub struct TempRegisters {
    pub task_start: WriteOnly<u32, Register>,
    pub task_stop: WriteOnly<u32, Register>,
    pub event_datardy: ReadWrite<u32, Register>,
    pub intenset: ReadWrite<u32, Register>,
    pub intenclr: ReadWrite<u32, Register>,
    pub temp: ReadOnly<u32, Register>,
    pub a: [ReadWrite<u32, Register>; 6],
    pub b: [ReadWrite<u32, Register>; 6],
    pub t: [ReadWrite<u32, Register>; 5],
    /* private fields */
}

Fields§

§task_start: WriteOnly<u32, Register>

Start temperature measurement Address: 0x000 - 0x004

§task_stop: WriteOnly<u32, Register>

Stop temperature measurement Address: 0x004 - 0x008

§event_datardy: ReadWrite<u32, Register>

Temperature measurement complete, data ready Address: 0x100 - 0x104

§intenset: ReadWrite<u32, Register>

Enable interrupt Address: 0x304 - 0x308

§intenclr: ReadWrite<u32, Register>

Disable interrupt Address: 0x308 - 0x30c

§temp: ReadOnly<u32, Register>

Temperature in °C (0.25° steps) Address: 0x508 - 0x50c

§a: [ReadWrite<u32, Register>; 6]

Slope of piece wise linear function (nRF52 only) Address 0x520 - 0x534

§b: [ReadWrite<u32, Register>; 6]

y-intercept of 5th piece wise linear function (nRF52 only) Address: 0x540 - 0x554

§t: [ReadWrite<u32, Register>; 5]

End point of 1st piece wise linear function (nRF52 only) Address: 0x560 - 0x570

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> 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<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<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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.