pub struct XvcClient { /* private fields */ }Expand description
XVC client for remote JTAG operations.
Connects to an XVC server and provides async methods for JTAG operations. All methods share a single persistent TCP connection.
Implementations§
Source§impl XvcClient
impl XvcClient
Sourcepub async fn connect(addr: impl ToSocketAddrs) -> Result<XvcClient>
pub async fn connect(addr: impl ToSocketAddrs) -> Result<XvcClient>
Connect to an XVC server at addr.
Sourcepub async fn get_info(&mut self) -> Result<XvcInfo, ReadError>
pub async fn get_info(&mut self) -> Result<XvcInfo, ReadError>
Query server capabilities and version information.
Sourcepub async fn set_tck(&mut self, period_ns: u32) -> Result<u32, ReadError>
pub async fn set_tck(&mut self, period_ns: u32) -> Result<u32, ReadError>
Set the JTAG Test Clock (TCK) period.
Returns the actual period set by the server, which may differ from the requested value if the hardware has limited frequency resolution.
Auto Trait Implementations§
impl !Freeze for XvcClient
impl RefUnwindSafe for XvcClient
impl Send for XvcClient
impl Sync for XvcClient
impl Unpin for XvcClient
impl UnsafeUnpin for XvcClient
impl UnwindSafe for XvcClient
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