#[repr(transparent)]pub struct DataStage(_);
Expand description
Data Stage TRB
Implementations§
source§impl DataStage
impl DataStage
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 DataStage
impl DataStage
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 field.
sourcepub fn data_buffer_pointer(&self) -> u64
pub fn data_buffer_pointer(&self) -> u64
Returns the value of the Data Buffer Pointer field.
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 set_td_size(&mut self, value: u8) -> &mut Self
pub fn set_td_size(&mut self, value: u8) -> &mut Self
Sets the value of the TD Size 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 set_direction(&mut self, d: Direction) -> &mut Self
pub fn set_direction(&mut self, d: Direction) -> &mut Self
Sets the value of the Direction field.
Trait Implementations§
source§impl Ord for DataStage
impl Ord for DataStage
source§impl PartialEq<DataStage> for DataStage
impl PartialEq<DataStage> for DataStage
source§impl PartialOrd<DataStage> for DataStage
impl PartialOrd<DataStage> for DataStage
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