#[repr(transparent)]pub struct Isoch(_);
Expand description
Isoch TRB
Implementations§
source§impl Isoch
impl Isoch
sourcepub fn interrupt_on_completion(self) -> bool
pub fn interrupt_on_completion(self) -> bool
Returns the Interrupt On Completion bit.
sourcepub fn set_interrupt_on_completion(&mut self) -> &mut Self
pub fn set_interrupt_on_completion(&mut self) -> &mut Self
Sets the Interrupt On Completion bit.
sourcepub fn clear_interrupt_on_completion(&mut self) -> &mut Self
pub fn clear_interrupt_on_completion(&mut self) -> &mut Self
Clears the Interrupt On Completion bit.
source§impl Isoch
impl Isoch
sourcepub fn set_data_buffer_pointer(&mut self, p: u64) -> &mut Self
pub fn set_data_buffer_pointer(&mut self, p: u64) -> &mut Self
Sets the value of the Data Buffer Pointer.
sourcepub fn data_buffer_pointer(&self) -> u64
pub fn data_buffer_pointer(&self) -> u64
Returns the value of the Data Buffer Pointer.
sourcepub fn trb_transfer_length(self) -> u32
pub fn trb_transfer_length(self) -> u32
Returns the value of the TRB Transfer Length field.
sourcepub fn set_trb_transfer_length(&mut self, value: u32) -> &mut Self
pub fn set_trb_transfer_length(&mut self, value: u32) -> &mut Self
Sets the value of the TRB Transfer Length field.
sourcepub fn td_size_or_tbc(self) -> u8
pub fn td_size_or_tbc(self) -> u8
Returns the value of the TD Size/TBC field.
sourcepub fn set_td_size_or_tbc(&mut self, value: u8) -> &mut Self
pub fn set_td_size_or_tbc(&mut self, value: u8) -> &mut Self
Sets the value of the TD Size/TBC field.
sourcepub fn interrupter_target(self) -> u16
pub fn interrupter_target(self) -> u16
Returns the value of the Interrupter Target field.
sourcepub fn set_interrupter_target(&mut self, value: u16) -> &mut Self
pub fn set_interrupter_target(&mut self, value: u16) -> &mut Self
Sets the value of the Interrupter Target field.
sourcepub fn evaluate_next_trb(self) -> bool
pub fn evaluate_next_trb(self) -> bool
Returns the Evaluate Next TRB bit.
sourcepub fn set_evaluate_next_trb(&mut self) -> &mut Self
pub fn set_evaluate_next_trb(&mut self) -> &mut Self
Sets the Evaluate Next TRB bit.
sourcepub fn clear_evaluate_next_trb(&mut self) -> &mut Self
pub fn clear_evaluate_next_trb(&mut self) -> &mut Self
Clears the Evaluate Next TRB bit.
sourcepub fn interrupt_on_short_packet(self) -> bool
pub fn interrupt_on_short_packet(self) -> bool
Returns the Interrupt on Short Packet bit.
sourcepub fn set_interrupt_on_short_packet(&mut self) -> &mut Self
pub fn set_interrupt_on_short_packet(&mut self) -> &mut Self
Sets the Interrupt on Short Packet bit.
sourcepub fn clear_interrupt_on_short_packet(&mut self) -> &mut Self
pub fn clear_interrupt_on_short_packet(&mut self) -> &mut Self
Clears the Interrupt on Short Packet bit.
sourcepub fn set_no_snoop(&mut self) -> &mut Self
pub fn set_no_snoop(&mut self) -> &mut Self
Sets the No Snoop bit.
sourcepub fn clear_no_snoop(&mut self) -> &mut Self
pub fn clear_no_snoop(&mut self) -> &mut Self
Clears the No Snoop bit.
sourcepub fn set_chain_bit(&mut self) -> &mut Self
pub fn set_chain_bit(&mut self) -> &mut Self
Sets the Chain bit bit.
sourcepub fn clear_chain_bit(&mut self) -> &mut Self
pub fn clear_chain_bit(&mut self) -> &mut Self
Clears the Chain bit bit.
sourcepub fn immediate_data(self) -> bool
pub fn immediate_data(self) -> bool
Returns the Immediate Data bit.
sourcepub fn set_immediate_data(&mut self) -> &mut Self
pub fn set_immediate_data(&mut self) -> &mut Self
Sets the Immediate Data bit.
sourcepub fn clear_immediate_data(&mut self) -> &mut Self
pub fn clear_immediate_data(&mut self) -> &mut Self
Clears the Immediate Data bit.
sourcepub fn transfer_burst_count(self) -> u8
pub fn transfer_burst_count(self) -> u8
Returns the value of the Transfer Burst Count field.
sourcepub fn set_transfer_burst_count(&mut self, value: u8) -> &mut Self
pub fn set_transfer_burst_count(&mut self, value: u8) -> &mut Self
Sets the value of the Transfer Burst Count field.
sourcepub fn block_event_interrupt(self) -> bool
pub fn block_event_interrupt(self) -> bool
Returns the Block Event Interrupt bit.
sourcepub fn set_block_event_interrupt(&mut self) -> &mut Self
pub fn set_block_event_interrupt(&mut self) -> &mut Self
Sets the Block Event Interrupt bit.
sourcepub fn clear_block_event_interrupt(&mut self) -> &mut Self
pub fn clear_block_event_interrupt(&mut self) -> &mut Self
Clears the Block Event Interrupt bit.
sourcepub fn transfer_last_burst_packet_count(self) -> u8
pub fn transfer_last_burst_packet_count(self) -> u8
Returns the value of the Transfer Last Burst Packet Count field.
sourcepub fn set_transfer_last_burst_packet_count(&mut self, value: u8) -> &mut Self
pub fn set_transfer_last_burst_packet_count(&mut self, value: u8) -> &mut Self
Sets the value of the Transfer Last Burst Packet Count field.
sourcepub fn set_frame_id(&mut self, value: u16) -> &mut Self
pub fn set_frame_id(&mut self, value: u16) -> &mut Self
Sets the value of the Frame ID field.
sourcepub fn start_isoch_asap(self) -> bool
pub fn start_isoch_asap(self) -> bool
Returns the Start Isoch ASAP bit.
sourcepub fn set_start_isoch_asap(&mut self) -> &mut Self
pub fn set_start_isoch_asap(&mut self) -> &mut Self
Sets the Start Isoch ASAP bit.
sourcepub fn clear_start_isoch_asap(&mut self) -> &mut Self
pub fn clear_start_isoch_asap(&mut self) -> &mut Self
Clears the Start Isoch ASAP bit.
Trait Implementations§
source§impl Ord for Isoch
impl Ord for Isoch
source§impl PartialEq<Isoch> for Isoch
impl PartialEq<Isoch> for Isoch
source§impl PartialOrd<Isoch> for Isoch
impl PartialOrd<Isoch> for Isoch
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more