#[repr(C)]pub struct RegisterBlock {
pub tasks_start: TASKS_START,
pub tasks_stop: TASKS_STOP,
pub events_datardy: EVENTS_DATARDY,
pub intenset: INTENSET,
pub intenclr: INTENCLR,
pub temp: TEMP,
pub power: POWER,
/* private fields */
}Expand description
Register block
Fields§
§tasks_start: TASKS_START0x00 - Start temperature measurement.
tasks_stop: TASKS_STOP0x04 - Stop temperature measurement.
events_datardy: EVENTS_DATARDY0x100 - Temperature measurement complete, data ready event.
intenset: INTENSET0x304 - Interrupt enable set register.
intenclr: INTENCLR0x308 - Interrupt enable clear register.
temp: TEMP0x508 - Die temperature in degC, 2’s complement format, 0.25 degC pecision.
power: POWER0xffc - Peripheral power control.
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more