Struct redpitaya_scpi::digital::Digital [] [src]

pub struct Digital { /* fields omitted */ }

Methods

impl Digital
[src]

Sets digital pins to default values.

Pins DIO1_P - DIO7_P, RP_DIO0_N - RP_DIO7_N are set al OUTPUT and to LOW. LEDs are set to LOW/OFF

Set direction of digital pins to output or input.

Set state of digital outputs to 1 (HIGH) or 0 (LOW).

Get state of digital inputs and outputs.

Trait Implementations

impl Clone for Digital
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more