Struct pico_sdk::driver::ps6000a::PS6000ADriver [−][src]
Implementations
impl PS6000ADriver
[src]
Trait Implementations
impl Debug for PS6000ADriver
[src]
impl PicoDriver for PS6000ADriver
[src]
pub fn get_driver(&self) -> Driver
[src]
pub fn get_version(&self) -> Result<String, PicoError>
[src]
pub fn get_path(&self) -> Result<Option<String>, PicoError>
[src]
pub fn enumerate_units(
&self
) -> Result<Vec<EnumerationResult, Global>, PicoError>
[src]
&self
) -> Result<Vec<EnumerationResult, Global>, PicoError>
pub fn open_unit(&self, serial: Option<&str>) -> Result<i16, PicoError>
[src]
pub fn ping_unit(&self, handle: i16) -> Result<(), PicoError>
[src]
pub fn maximum_value(&self, handle: i16) -> Result<i16, PicoError>
[src]
pub fn close(&self, handle: i16) -> Result<(), PicoError>
[src]
pub fn get_unit_info(
&self,
handle: i16,
info_type: PicoInfo
) -> Result<String, PicoError>
[src]
&self,
handle: i16,
info_type: PicoInfo
) -> Result<String, PicoError>
pub fn get_channel_ranges(
&self,
handle: i16,
channel: PicoChannel
) -> Result<Vec<PicoRange, Global>, PicoError>
[src]
&self,
handle: i16,
channel: PicoChannel
) -> Result<Vec<PicoRange, Global>, PicoError>
pub fn enable_channel(
&self,
handle: i16,
channel: PicoChannel,
config: &ChannelConfig
) -> Result<(), PicoError>
[src]
&self,
handle: i16,
channel: PicoChannel,
config: &ChannelConfig
) -> Result<(), PicoError>
pub fn disable_channel(
&self,
handle: i16,
channel: PicoChannel
) -> Result<(), PicoError>
[src]
&self,
handle: i16,
channel: PicoChannel
) -> Result<(), PicoError>
pub fn set_data_buffer(
&self,
handle: i16,
channel: PicoChannel,
buffer: Arc<RwLock<RawRwLock, Pin<Vec<i16, Global>>>>,
buffer_len: usize
) -> Result<(), PicoError>
[src]
&self,
handle: i16,
channel: PicoChannel,
buffer: Arc<RwLock<RawRwLock, Pin<Vec<i16, Global>>>>,
buffer_len: usize
) -> Result<(), PicoError>
pub fn start_streaming(
&self,
handle: i16,
sample_config: &SampleConfig
) -> Result<SampleConfig, PicoError>
[src]
&self,
handle: i16,
sample_config: &SampleConfig
) -> Result<SampleConfig, PicoError>
pub fn get_latest_streaming_values(
&self,
handle: i16,
channels: &[PicoChannel],
callback: Box<dyn FnMut(usize, usize) + 'a, Global>
) -> Result<(), PicoError>
[src]
&self,
handle: i16,
channels: &[PicoChannel],
callback: Box<dyn FnMut(usize, usize) + 'a, Global>
) -> Result<(), PicoError>
pub fn stop(&self, handle: i16) -> Result<(), PicoError>
[src]
pub fn check_version(&self) -> Result<(), DriverLoadError>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for PS6000ADriver
impl Send for PS6000ADriver
impl Sync for PS6000ADriver
impl Unpin for PS6000ADriver
impl !UnwindSafe for PS6000ADriver
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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.
pub 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>,