[][src]Struct apigpio::ConnectionCore

pub struct ConnectionCore { /* fields omitted */ }

Methods

impl ConnectionCore[src]

pub async fn cmdr<'_>(&'_ self, cmd: Word, p1: Word, p2: Word) -> Result<Word>[src]

pub async fn cmd0<'_>(&'_ self, cmd: Word, p1: Word, p2: Word) -> Result<()>[src]

pub async fn set_mode<'_>(&'_ self, pin: Pin, mode: GpioMode) -> Result<()>[src]

pub async fn get_mode<'_>(&'_ self, pin: Pin) -> Result<GpioMode>[src]

pub async fn set_pull_up_down<'_>(
    &'_ self,
    pin: Word,
    pud: PullUpDown
) -> Result<()>
[src]

pub async fn gpio_read<'_>(&'_ self, pin: Pin) -> Result<Level>[src]

pub async fn gpio_write<'_>(&'_ self, pin: Pin, level: Level) -> Result<()>[src]

pub async fn wave_clear<'_>(&'_ self) -> Result<()>[src]

pub async fn wave_add_new<'_>(&'_ self) -> Result<WaveId>[src]

pub async fn wave_create<'_>(&'_ self) -> Result<WaveId>[src]

pub async unsafe fn wave_delete<'_>(&'_ self, wave: WaveId) -> Result<()>[src]

pub async fn wave_send_once<'_>(&'_ self, wave: WaveId) -> Result<Word>[src]

pub async fn wave_send_repeat<'_>(&'_ self, wave: WaveId) -> Result<Word>[src]

pub async fn wave_tx_stop<'_>(&'_ self) -> Result<()>[src]

pub async fn wave_tx_at<'_>(&'_ self) -> Result<Option<WaveId>>[src]

pub async fn wave_tx_busy<'_>(&'_ self) -> Result<bool>[src]

pub async fn wave_add_generic<'_, '_>(
    &'_ self,
    pulses: &'_ [Pulse]
) -> Result<Word>
[src]

pub async fn wave_get_micros<'_>(&'_ self) -> Result<Word>[src]

pub async fn wave_get_high_micros<'_>(&'_ self) -> Result<Word>[src]

pub async fn wave_get_max_micros<'_>(&'_ self) -> Result<Word>[src]

pub async unsafe fn wave_send_using_mode<'_>(
    &'_ self,
    wave: WaveId,
    txmode: Word
) -> Result<Word>
[src]

Auto Trait Implementations

impl !RefUnwindSafe for ConnectionCore

impl Send for ConnectionCore

impl Sync for ConnectionCore

impl Unpin for ConnectionCore

impl !UnwindSafe for ConnectionCore

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.