pub struct Probe { /* private fields */ }Implementations§
Source§impl Probe
impl Probe
pub fn open_by_serial(serial: &str) -> Result<Self>
pub fn close()
pub fn nrst_set(&self, assert: bool) -> Result<bool>
pub fn nrst_get(&self) -> bool
pub fn max_speed_get(&self) -> u32
pub fn max_speed_set(&self, speed: u32)
pub fn set_power(&self, enable: bool) -> Result<bool>
pub fn target_voltage(&self) -> Result<f32>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Probe
impl RefUnwindSafe for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnwindSafe for Probe
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