#labrador #bindings #driver #api #librador #espotek #espo-tek

sys librador-sys

Raw bindings to librador, the EspoTek Labrador driver library. You may prefer to use librador instead.

1 unstable release

0.1.0 Jan 24, 2022

#581 in #driver


Used in librador

GPL-3.0 license

335KB
7.5K SLoC

C++ 7K SLoC // 0.1% comments Prolog 297 SLoC // 0.2% comments Rust 88 SLoC // 0.3% comments

librador-sys

This crate exposes Rust bindings to librador, the driver library for the EspoTek Labrador electronics lab board.

You might rather use the safe, Rusty API provided by librador-rs.

More Information

Take a look at the documentation with cargo doc --open or by visiting the docs.rs page.

Refer to the librador project documentation for further details.

Supported API

  • Control Functions
    • librador_init
    • librador_exit
    • librador_setup_usb
    • librador_reset_usb
  • USB-Control Functions
    • librador_avr_debug
    • librador_update_signal_gen_settings
    • librador_send_sin_wave
    • librador_send_square_wave
    • librador_send_sawtooth_wave
    • librador_send_triangle_wave
    • librador_set_power_supply_voltage
    • librador_set_device_mode
    • librador_set_oscilloscope_gain
    • librador_set_digital_out
    • librador_reset_device
    • librador_jump_to_bootloader
    • librador_get_device_firmware_version
    • librador_get_device_firmware_variant
  • USB-Iso Functions
    • librador_get_analog_data
    • librador_get_analog_data_sincelast
    • librador_get_digital_data

Contributing

All contributions are welcome, whether they're bug reports, feature requests, code changes, or well wishes. Thanks!

License Information

librador-sys is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

librador-sys is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Please see the file LICENSE in the root of this project for a copy of the GNU General Public License, or see http://www.gnu.org/licenses/.

This project incorporates code from the Labrador project, which is also licensed under the GPL v3.

Dependencies

~1.6–3.5MB
~56K SLoC