libpruio  0.6.8
Fast and easy Digital/Analog Input/Output for Beaglebones
pruio_c_wrapper.bas File Reference

The main source code of the C wrapper for libpruio. More...

#include "pruio.bi"
Include dependency graph for pruio_c_wrapper.bas:

Go to the source code of this file.

Functions

pruIopruio_new (uint16 Act, uint8 Av, uint32 OpD, uint8 SaD)
 Wrapper function for constructor PruIo::PruIo().
 
void pruio_destroy (pruIo *Io)
 Wrapper function for destructor PruIo::~PruIo().
 
char * pruio_config (pruIo *Io, uint32 Samp, uint32 Mask, uint32 Tmr, uint16 Mds)
 Wrapper function for PruIo::config().
 
char * pruio_Pin (pruIo *Io, uint8 Ball)
 Wrapper function for PruIo::Pin().
 
char * pruio_mm_start (pruIo *Io, uint32 Trg1, uint32 Trg2, uint32 Trg3, uint32 Trg4)
 Wrapper function for PruIo::mm_start().
 
char * pruio_rb_start (pruIo *Io)
 Wrapper function for PruIo::rb_start().
 
char * pruio_adc_setStep (pruIo *Io, uint8 Stp, uint8 ChN, uint8 Av, uint8 SaD, uint32 OpD)
 Wrapper function for AdcUdt::setStep().
 
uint32 pruio_adc_mm_trg_pin (pruIo *Io, uint8 Ball, uint8 GpioV, uint16 Skip)
 Wrapper function for AdcUdt::mm_trg_pin().
 
uint32 pruio_adc_mm_trg_ain (pruIo *Io, uint8 Stp, int32 AdcV, uint8 Rela, uint16 Skip)
 Wrapper function for AdcUdt::mm_trg_ain().
 
uint32 pruio_adc_mm_trg_pre (pruIo *Io, uint8 Stp, int32 AdcV, uint16 Samp, uint8 Rela)
 Wrapper function for AdcUdt::mm_trg_pre().
 
char * pruio_gpio_config (pruIo *Io, uint8 Ball, uint8 Modus)
 Wrapper function for GpioUdt::config().
 
char * pruio_gpio_setValue (pruIo *Io, uint8 Ball, uint8 Modus)
 Wrapper function for GpioUdt::setValue().
 
char * pruio_gpio_setValue (pruIo *Io, uint8 Indx)
 Wrapper function for GpioUdt::flush().
 
uint32 pruio_gpio_Value (pruIo *Io, uint8 Ball)
 Wrapper function for GpioUdt::Value().
 
char * pruio_cap_config (pruIo *Io, uint8 Ball, float_t FLow)
 Wrapper function for CapMod::config().
 
char * pruio_cap_Value (pruIo *Io, uint8 Ball, float_t *Hz, float_t *Du)
 Wrapper function for CapMod::Value().
 
char * pruio_qep_config (pruIo *Io, uint8 Ball, uint32 PMax, float_t VHz, float_t Scale, uint8 Mo)
 Wrapper function for QepMod::config().
 
char * pruio_qep_Value (pruIo *Io, uint8 Ball, uint32 *Posi, float_t *Velo)
 Wrapper function for QepMod::Value().
 
char * pruio_pwm_Value (pruIo *Io, uint8 Ball, float_t *Hz, float_t *Du)
 Wrapper function for PwmMod::Value().
 
char * pruio_pwm_setValue (pruIo *Io, uint8 Ball, float_t Hz, float_t Du)
 Wrapper function for PwmMod::setValue().
 
char * pruio_tim_Value (pruIo *Io, uint8 Ball, float_t *Dur1, float_t *Dur2)
 Wrapper function for TimerUdt::Value().
 
char * pruio_tim_setValue (pruIo *Io, uint8 Ball, float_t Dur1, float_t Dur2, uint16 Mode)
 Wrapper function for TimerUdt::setValue().
 

Detailed Description

The main source code of the C wrapper for libpruio.

This file provides the libpruio functions in a C compatible syntax to use libpruio in polyglot applications or to create language bindings for non-C languages.

Licence: LGPLv2 (http://www.gnu.org/licenses/lgpl-2.0.html)

Copyright 2014-2023 by Thomas{ doT ]Freiherr[ At ]gmx[ DoT }net

Since
0.0

Definition in file pruio_c_wrapper.bas.