pub struct STLink { /* private fields */ }
Implementations§
Source§impl STLink
impl STLink
pub fn frequencies(&self) -> Frequencies
pub fn debug_port(&self) -> DebugPort
pub fn index(&self) -> i32
pub fn access_port_count(&self) -> i32
pub fn access_port(&self) -> i32
pub fn connection_mode(&self) -> DebugConnectMode
pub fn reset_mode(&self) -> DebugResetMode
pub fn old_firmware(&self) -> bool
pub fn frequency(&self) -> i32
pub fn bridge(&self) -> bool
pub fn debug_sleep(&self) -> bool
pub fn speed(&self) -> i32
pub fn target_voltage(&self) -> Result<f32, Error>
pub fn serial_number(&self) -> Result<String, Error>
pub fn firmware_version(&self) -> Result<String, Error>
pub fn board(&self) -> Result<String, Error>
pub fn set_access_port(&mut self, access_port: i32)
pub fn set_frequency(&mut self, frequency: i32)
pub fn set_reset_mode(&mut self, reset_mode: DebugResetMode)
pub fn set_connection_mode(&mut self, connection_mode: DebugConnectMode)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for STLink
impl RefUnwindSafe for STLink
impl Send for STLink
impl Sync for STLink
impl Unpin for STLink
impl UnwindSafe for STLink
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