pub struct CompThreshW {
pub data: u8,
}Expand description
COMP_THRESH_W Register
Address: 0x78
Reset Value: 0x0
Set this register to 0xA before executing the comparator calibration.
Fields§
§data: u8Bits: [7:0]
Trait Implementations§
Source§impl Debug for CompThreshW
impl Debug for CompThreshW
Source§impl Default for CompThreshW
Reset Value
impl Default for CompThreshW
Reset Value
Source§impl From<CompThreshW> for u8
impl From<CompThreshW> for u8
Source§fn from(value: CompThreshW) -> Self
fn from(value: CompThreshW) -> Self
Converts to this type from the input type.
Source§impl From<u8> for CompThreshW
impl From<u8> for CompThreshW
Source§impl FromBytes<1> for CompThreshW
impl FromBytes<1> for CompThreshW
fn from_le_bytes(val: &[u8; 1]) -> Self
fn from_be_bytes(val: &[u8; N]) -> Self
Source§impl PartialEq for CompThreshW
impl PartialEq for CompThreshW
Source§impl Register<1, u8> for CompThreshW
Register Properties
impl Register<1, u8> for CompThreshW
Register Properties
Source§impl ToBytes<1> for CompThreshW
impl ToBytes<1> for CompThreshW
fn to_le_bytes(&self) -> [u8; 1]
fn to_be_bytes(&self) -> [u8; N]
impl StructuralPartialEq for CompThreshW
Auto Trait Implementations§
impl Freeze for CompThreshW
impl RefUnwindSafe for CompThreshW
impl Send for CompThreshW
impl Sync for CompThreshW
impl Unpin for CompThreshW
impl UnwindSafe for CompThreshW
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