pub struct SI5345B { /* private fields */ }Implementations§
Source§impl SI5345B
impl SI5345B
pub fn new(bus: u8, address: u16) -> Self
pub fn read_lol_status(&self) -> Result<bool, LinuxI2CError>
pub fn read_holdover_status(&self) -> Result<bool, LinuxI2CError>
pub fn configure_si5345b(&self) -> Result<(), LinuxI2CError>
Sourcepub fn read_available_nvm_bank(&self) -> Result<u8, LinuxI2CError>
pub fn read_available_nvm_bank(&self) -> Result<u8, LinuxI2CError>
Check how many user bank writes has carried out so far
pub fn configure_nvm_si5345b(&self) -> Result<(), LinuxI2CError>
pub fn hard_reset_si5345b(&self) -> Result<(), LinuxI2CError>
pub fn soft_reset_si5345b(&self) -> Result<(), LinuxI2CError>
Auto Trait Implementations§
impl Freeze for SI5345B
impl RefUnwindSafe for SI5345B
impl Send for SI5345B
impl Sync for SI5345B
impl Unpin for SI5345B
impl UnsafeUnpin for SI5345B
impl UnwindSafe for SI5345B
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more