Namespace Unosquare.PiGpio.NativeMethods
Classes
Custom
Defines method calls for cutom functions. These calls are reserved but still provided for reference purposes. They are unused in the managed model of this library.
Events
Provides event notification warapper APIs for the pigpio library. These methods represent an internal event system that is unused in the managed model of this library.
Files
A file may only be opened if permission is granted by an entry in /opt/pigpio/access. This is intended to allow remote access to files in a more or less controlled manner.
Each entry in /opt/pigpio/access takes the form of a file path which may contain wildcards followed by a single letter permission. The permission may be R for read, W for write, U for read/write, and N for no access.
Where more than one entry matches a file the most specific rule applies. If no entry matches a file then access is denied.
Suppose /opt/pigpio/access contains the following entries
Files may be written in directory dir_1 with the exception of file.txt.
Files may be read in directory dir_2.
Files may be read and written in directory dir_3.
If a directory allows read, write, or read/write access then files may be created in that directory.
In an attempt to prevent risky permissions the following paths are ignored in /opt/pigpio/access.
I2c
Provides Methods for both, hardware based I2C and Bit-bang (Software) I2C bus communication.
IO
Defines fundamental IO methods for the GPIO Pins. The bulk of the managed pin functionality is supplied by these methods.
Pwm
Provides methods for software and hardware based PWM services for the GPIO pins. All User GPIO pins support PWM.
RawWaves
Raw waveform generation methods. These are advanced methods to send pulses on the pins with precise timing. It is recommended that the Waves methods are used instead.
Scripts
Provides access to scripting methods of the pigpio library. Scripts are used by the pigpio daemon to execute a set of instructions to speedup GPIO instructions. Unused in the managed model of this library but provided for reference purposes.
Serial
Exposes methods to read from a serial transmission using bit-banging (software-based UART). Writing requires the use of the GpioWaveAddSerial(UserGpio, UInt32, UInt32, UInt32, UInt32, UInt32, Byte[]) method.
Setup
Library setup and configuration methods.
Spi
Provides methods for SPI bus management.
Threads
PRovides threading and delay operations.
Uart
Provides access to hardware based UART (Serial Port).
Utilities
Provides various utility methods to retrieve hardware and software versions, time, shell commands, and bitwise masking.
Waves
Provides Waveform methods for the pigpio library. These are methods to send pulses on the pins with precise timing.