pub struct HvPlateDiagnosticsSecond(/* private fields */);Implementations§
Source§impl HvPlateDiagnosticsSecond
impl HvPlateDiagnosticsSecond
Sourcepub const fn with_epad_checked(self, value: f32) -> Result<Self, ()>
pub const fn with_epad_checked(self, value: f32) -> Result<Self, ()>
Exposed pad
Units: V
Bits: 0..12
Sourcepub const fn set_epad_checked(&mut self, value: f32) -> Result<(), ()>
pub const fn set_epad_checked(&mut self, value: f32) -> Result<(), ()>
Exposed pad
Units: V
Bits: 0..12
Sourcepub const fn with_vdig_checked(self, value: f32) -> Result<Self, ()>
pub const fn with_vdig_checked(self, value: f32) -> Result<Self, ()>
Internal digital 3V supply
Units: V
Bits: 12..24
Sourcepub const fn with_vdig(self, value: f32) -> Self
pub const fn with_vdig(self, value: f32) -> Self
Internal digital 3V supply
Units: V
Bits: 12..24
Sourcepub const fn set_vdig_checked(&mut self, value: f32) -> Result<(), ()>
pub const fn set_vdig_checked(&mut self, value: f32) -> Result<(), ()>
Internal digital 3V supply
Units: V
Bits: 12..24
Sourcepub const fn with_vdd_checked(self, value: f32) -> Result<Self, ()>
pub const fn with_vdd_checked(self, value: f32) -> Result<Self, ()>
VDD power supply pin
Units: V
Bits: 24..36
Sourcepub const fn set_vdd_checked(&mut self, value: f32) -> Result<(), ()>
pub const fn set_vdd_checked(&mut self, value: f32) -> Result<(), ()>
VDD power supply pin
Units: V
Bits: 24..36
Sourcepub const fn with_tmp2_checked(self, value: f32) -> Result<Self, ()>
pub const fn with_tmp2_checked(self, value: f32) -> Result<Self, ()>
Secondary internal temperature sensor
Units: C
Bits: 36..48
Sourcepub const fn with_tmp2(self, value: f32) -> Self
pub const fn with_tmp2(self, value: f32) -> Self
Secondary internal temperature sensor
Units: C
Bits: 36..48
Sourcepub const fn set_tmp2(&mut self, value: f32)
pub const fn set_tmp2(&mut self, value: f32)
Secondary internal temperature sensor
Units: C
Bits: 36..48
Sourcepub const fn set_tmp2_checked(&mut self, value: f32) -> Result<(), ()>
pub const fn set_tmp2_checked(&mut self, value: f32) -> Result<(), ()>
Secondary internal temperature sensor
Units: C
Bits: 36..48
Sourcepub const fn with_vdiv_checked(self, value: f32) -> Result<Self, ()>
pub const fn with_vdiv_checked(self, value: f32) -> Result<Self, ()>
Units: V
Bits: 48..60
Source§impl HvPlateDiagnosticsSecond
impl HvPlateDiagnosticsSecond
Sourcepub fn try_with_epad(self, v: f32) -> Result<Self, OutOfRange>
pub fn try_with_epad(self, v: f32) -> Result<Self, OutOfRange>
Like Self::with_epad but returns
OutOfRange instead of saturating an unrepresentable value.
Sourcepub fn try_set_epad(&mut self, v: f32) -> Result<(), OutOfRange>
pub fn try_set_epad(&mut self, v: f32) -> Result<(), OutOfRange>
Like Self::set_epad but returns
OutOfRange instead of saturating an unrepresentable value.
Sourcepub fn try_with_vdig(self, v: f32) -> Result<Self, OutOfRange>
pub fn try_with_vdig(self, v: f32) -> Result<Self, OutOfRange>
Like Self::with_vdig but returns
OutOfRange instead of saturating an unrepresentable value.
Sourcepub fn try_set_vdig(&mut self, v: f32) -> Result<(), OutOfRange>
pub fn try_set_vdig(&mut self, v: f32) -> Result<(), OutOfRange>
Like Self::set_vdig but returns
OutOfRange instead of saturating an unrepresentable value.
Sourcepub fn try_with_vdd(self, v: f32) -> Result<Self, OutOfRange>
pub fn try_with_vdd(self, v: f32) -> Result<Self, OutOfRange>
Like Self::with_vdd but returns
OutOfRange instead of saturating an unrepresentable value.
Sourcepub fn try_set_vdd(&mut self, v: f32) -> Result<(), OutOfRange>
pub fn try_set_vdd(&mut self, v: f32) -> Result<(), OutOfRange>
Like Self::set_vdd but returns
OutOfRange instead of saturating an unrepresentable value.
Sourcepub fn try_with_tmp2(self, v: f32) -> Result<Self, OutOfRange>
pub fn try_with_tmp2(self, v: f32) -> Result<Self, OutOfRange>
Like Self::with_tmp2 but returns
OutOfRange instead of saturating an unrepresentable value.
Sourcepub fn try_set_tmp2(&mut self, v: f32) -> Result<(), OutOfRange>
pub fn try_set_tmp2(&mut self, v: f32) -> Result<(), OutOfRange>
Like Self::set_tmp2 but returns
OutOfRange instead of saturating an unrepresentable value.
Sourcepub fn try_with_vdiv(self, v: f32) -> Result<Self, OutOfRange>
pub fn try_with_vdiv(self, v: f32) -> Result<Self, OutOfRange>
Like Self::with_vdiv but returns
OutOfRange instead of saturating an unrepresentable value.
Sourcepub fn try_set_vdiv(&mut self, v: f32) -> Result<(), OutOfRange>
pub fn try_set_vdiv(&mut self, v: f32) -> Result<(), OutOfRange>
Like Self::set_vdiv but returns
OutOfRange instead of saturating an unrepresentable value.
Trait Implementations§
Source§impl Clone for HvPlateDiagnosticsSecond
impl Clone for HvPlateDiagnosticsSecond
Source§fn clone(&self) -> HvPlateDiagnosticsSecond
fn clone(&self) -> HvPlateDiagnosticsSecond
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more