pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn tsensor_ctl_id(&self) -> &TsensorCtlId
pub const fn tsensor_ctl_id(&self) -> &TsensorCtlId
0x00 - Temperature sensor control ID
Sourcepub const fn tsensor_reg0(&self) -> &TsensorReg0
pub const fn tsensor_reg0(&self) -> &TsensorReg0
0x10 - Common register 0
Sourcepub const fn tsensor_reg1(&self) -> &TsensorReg1
pub const fn tsensor_reg1(&self) -> &TsensorReg1
0x14 - Common register 1
Sourcepub const fn tsensor_reg2(&self) -> &TsensorReg2
pub const fn tsensor_reg2(&self) -> &TsensorReg2
0x18 - Common register 2
Sourcepub const fn tsensor_reg3(&self) -> &TsensorReg3
pub const fn tsensor_reg3(&self) -> &TsensorReg3
0x1c - Common register 3
Sourcepub const fn tsensor_start(&self) -> &TsensorStart
pub const fn tsensor_start(&self) -> &TsensorStart
0x300 - Temperature sensor start register
Sourcepub const fn tsensor_ctrl(&self) -> &TsensorCtrl
pub const fn tsensor_ctrl(&self) -> &TsensorCtrl
0x304 - Temperature sensor control register
Sourcepub const fn tsensor_sts(&self) -> &TsensorSts
pub const fn tsensor_sts(&self) -> &TsensorSts
0x308 - Temperature sensor status register
Sourcepub const fn tsensor_ctrl1(&self) -> &TsensorCtrl1
pub const fn tsensor_ctrl1(&self) -> &TsensorCtrl1
0x310 - Temperature sensor control 1
Sourcepub const fn tsensor_temp_high_limit(&self) -> &TsensorTempHighLimit
pub const fn tsensor_temp_high_limit(&self) -> &TsensorTempHighLimit
0x314 - High temperature limit
Sourcepub const fn tsensor_temp_low_limit(&self) -> &TsensorTempLowLimit
pub const fn tsensor_temp_low_limit(&self) -> &TsensorTempLowLimit
0x318 - Low temperature limit
Sourcepub const fn tsensor_over_temp(&self) -> &TsensorOverTemp
pub const fn tsensor_over_temp(&self) -> &TsensorOverTemp
0x31c - Over-temperature threshold
Sourcepub const fn tsensor_temp_int_en(&self) -> &TsensorTempIntEn
pub const fn tsensor_temp_int_en(&self) -> &TsensorTempIntEn
0x320 - Temperature interrupt enable
Sourcepub const fn tsensor_temp_int_clr(&self) -> &TsensorTempIntClr
pub const fn tsensor_temp_int_clr(&self) -> &TsensorTempIntClr
0x324 - Temperature interrupt clear
Sourcepub const fn tsensor_temp_int_sts(&self) -> &TsensorTempIntSts
pub const fn tsensor_temp_int_sts(&self) -> &TsensorTempIntSts
0x328 - Temperature interrupt status
Sourcepub const fn tsensor_auto_refresh_period(&self) -> &TsensorAutoRefreshPeriod
pub const fn tsensor_auto_refresh_period(&self) -> &TsensorAutoRefreshPeriod
0x330 - Auto refresh period
Sourcepub const fn tsensor_auto_refresh_cfg(&self) -> &TsensorAutoRefreshCfg
pub const fn tsensor_auto_refresh_cfg(&self) -> &TsensorAutoRefreshCfg
0x334 - Auto refresh configuration
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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