Struct xhci::ring::trb::transfer::Isoch[][src]

#[repr(transparent)]pub struct Isoch(_);

Isoch TRB

Implementations

impl Isoch[src]

#[must_use]pub fn into_raw(self) -> [u32; 4][src]

Returns the wrapped array.

#[must_use]pub fn cycle_bit(&self) -> bool[src]

Returns the value of the Cycle Bit.

pub fn set_cycle_bit(&mut self, b: bool) -> &mut Self[src]

Sets the value of the Cycle Bit.

impl Isoch[src]

#[must_use]pub fn new() -> Self[src]

Creates a new Isoch TRB.

This method sets the sets the value of the TRB Type field properly. All the other fieldds are set to 0.

impl Isoch[src]

pub fn set_interrupt_on_completion(&mut self, ioc: bool) -> &mut Self[src]

Sets the value of the Interrupt On Completion field.

#[must_use]pub fn interrupt_on_completion(&self) -> bool[src]

Returns the value of the Interrupt On Completion field.

impl Isoch[src]

pub fn set_data_buffer_pointer(&mut self, p: u64) -> &mut Self[src]

Sets the value of the Data Buffer Pointer.

#[must_use]pub fn data_buffer_pointer(&self) -> u64[src]

Returns the value of the Data Buffer Pointer.

pub fn set_trb_transfer_length(&mut self, l: u32) -> &mut Self[src]

Sets the value of the TRB Transfer Length field.

#[must_use]pub fn trb_transfer_length(&self) -> u32[src]

Returns the value of the TRB Transfer Length field.

pub fn set_td_size_or_tbc(&mut self, t: u8) -> &mut Self[src]

Sets the value of the TD Size/TBC field.

#[must_use]pub fn td_size_or_tbc(&self) -> u8[src]

Returns the value of the TD Size/TBC field.

pub fn set_interrupter_target(&mut self, t: u16) -> &mut Self[src]

Sets the value of the Interrupter Target.

#[must_use]pub fn interrupter_target(&self) -> u16[src]

Returns the value of the Interrupter Target.

pub fn set_evaluate_next_trb(&mut self, ent: bool) -> &mut Self[src]

Sets the value of the Evaluate Next TRB field.

#[must_use]pub fn evaluate_next_trb(&self) -> bool[src]

Returns the value of the Evaluate Next TRB field.

pub fn set_interrupt_on_short_packet(&mut self, isp: bool) -> &mut Self[src]

Sets the value of the Interrupt-on Short Packet field.

#[must_use]pub fn interrupt_on_short_packet(&self) -> bool[src]

Returns the value of the Interrupt-on Short Packet field.

pub fn set_no_snoop(&mut self, s: bool) -> &mut Self[src]

Sets the value of the No Snoop field.

#[must_use]pub fn no_snoop(&self) -> bool[src]

Returns the value of the No Snoop field.

pub fn set_chain_bit(&mut self, b: bool) -> &mut Self[src]

Sets the value of the Chain Bit field.

#[must_use]pub fn chain_bit(&self) -> bool[src]

Returns the value of the Chain Bit field.

pub fn set_immediate_data(&mut self, idt: bool) -> &mut Self[src]

Sets the value of the Immediate Data field.

#[must_use]pub fn immediate_data(&self) -> bool[src]

Returns the value of the Immediate Data.

pub fn set_transfer_burst_count(&mut self, c: u8) -> &mut Self[src]

Sets the value of the Transfer Burst Count field.

#[must_use]pub fn transfer_burst_count(&self) -> u8[src]

Returns the value of the Transfer Burst Count field.

pub fn set_block_event_interrupt(&mut self, bei: bool) -> &mut Self[src]

Sets the value of the Block Event Interrupt field.

#[must_use]pub fn block_event_interrupt(&self) -> bool[src]

Returns the value of the Block Event Interrupt field.

pub fn set_transfer_last_burst_packet_count(&mut self, c: u8) -> &mut Self[src]

Sets the value of the Transfer Last Burst Packet Count field.

#[must_use]pub fn transfer_last_burst_packet_count(&self) -> u8[src]

Returns the value of the Transfer Last Burst Packet Count field.

pub fn set_frame_id(&mut self, id: u16) -> &mut Self[src]

Sets the value of the Frame ID field.

#[must_use]pub fn frame_id(&self) -> u16[src]

Returns the value of the Frame ID field.

pub fn set_start_isoch_asap(&mut self, sia: bool) -> &mut Self[src]

Sets the value of the Start Isoch ASAP field.

#[must_use]pub fn start_isoch_asap(&self) -> bool[src]

Returns the value of the Start Isoch ASAP field.

Trait Implementations

impl AsRef<[u32]> for Isoch[src]

impl Clone for Isoch[src]

impl Copy for Isoch[src]

impl Debug for Isoch[src]

impl Default for Isoch[src]

impl Eq for Isoch[src]

impl From<Isoch> for Allowed[src]

impl Hash for Isoch[src]

impl Ord for Isoch[src]

impl PartialEq<Isoch> for Isoch[src]

impl PartialOrd<Isoch> for Isoch[src]

impl StructuralEq for Isoch[src]

impl StructuralPartialEq for Isoch[src]

Auto Trait Implementations

impl Send for Isoch

impl Sync for Isoch

impl Unpin for Isoch

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.