[−][src]Struct libftd2xx::MpsseSettings
Initialization settings for the MPSSE.
Used by initialize_mpsse
.
Fields
reset: bool
Reset the MPSSE on initialization.
This calls reset
if true
.
in_transfer_size: u32
USB in transfer size in bytes.
This gets passed to set_usb_parameters
.
read_timeout: Duration
Read timeout.
This gets passed along with write_timeout
to set_timeouts
.
write_timeout: Duration
Write timeout.
This gets passed along with read_timeout
to set_timeouts
.
latency_timer: Duration
Latency timer.
This gets passed to set_latency_timer
.
mask: u8
Bitmode mask.
- A bit value of
0
sets the corresponding pin to an input. - A bit value of
1
sets the corresponding pin to an output.
This gets passed to set_bit_mode
.
clock_frequency: Option<u32>
Clock frequency.
If not None
this will call set_clock
to set the clock frequency.
Trait Implementations
impl Clone for MpsseSettings
[src]
fn clone(&self) -> MpsseSettings
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MpsseSettings
[src]
impl Debug for MpsseSettings
[src]
impl Default for MpsseSettings
[src]
impl Eq for MpsseSettings
[src]
impl PartialEq<MpsseSettings> for MpsseSettings
[src]
fn eq(&self, other: &MpsseSettings) -> bool
[src]
fn ne(&self, other: &MpsseSettings) -> bool
[src]
impl StructuralEq for MpsseSettings
[src]
impl StructuralPartialEq for MpsseSettings
[src]
Auto Trait Implementations
impl RefUnwindSafe for MpsseSettings
impl Send for MpsseSettings
impl Sync for MpsseSettings
impl Unpin for MpsseSettings
impl UnwindSafe for MpsseSettings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,