pub enum Message {
GetInfo,
SetTck {
period_ns: u32,
},
Shift {
num_bits: u32,
tms: Box<[u8]>,
tdi: Box<[u8]>,
},
}Expand description
A Message is transfered from the client to the server. For each message, the client is expected to send the message and wait for a response from the server. The server needs to process each message in the order received and promptly provide a response. For the XVC 1.0 protocol, only one connection is assumed.
Variants§
GetInfo
Requests info from the server. This is used to determine protocol capabilities of the server.
SetTck
Configures the TCK period. When sending JTAG vectors the TCK rate may need to be varied to accomodate cable and board signal integrity conditions. This command is used by clients to adjust the TCK rate in order to slow down or speed up the shifting of JTAG vectors.
Shift
Used to shift JTAG vectors in-and out of a device.
Implementations§
Trait Implementations§
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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