Unosquare
    Show / Hide Table of Contents

    Class BoardWaveService

    Provides a a pin service to generate pulses with microsecond precision.

    Inheritance
    Object
    BoardWaveService
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unosquare.PiGpio.ManagedModel
    Syntax
    public sealed class BoardWaveService

    Properties

    CurrentWaveId

    Gets the current wave identifier.

    Declaration
    public int CurrentWaveId { get; }
    Property Value
    Type Description
    Int32

    IsBusy

    Gets a value indicating whether a waveform is being transmitted.

    Declaration
    public bool IsBusy { get; }
    Property Value
    Type Description
    Boolean

    MaxDmaControlBlocks

    Gets the maximum DMA control blocks per wave.

    Declaration
    public int MaxDmaControlBlocks { get; }
    Property Value
    Type Description
    Int32

    MaxDurationMicroSecs

    Gets the maximum duration of a wave in micro seconds.

    Declaration
    public int MaxDurationMicroSecs { get; }
    Property Value
    Type Description
    Int32

    MaxPulses

    Gets the maximum pulses allowable per wave.

    Declaration
    public int MaxPulses { get; }
    Property Value
    Type Description
    Int32

    Methods

    CreateWave()

    Creates the wave.

    Declaration
    public WaveBuilder CreateWave()
    Returns
    Type Description
    WaveBuilder

    A wave builder object to create and transmit PWM waves.

    StopCurrent()

    Stops the current wave being transmitted. This is intended to stop waves that are generated with a cycling mode.

    Declaration
    public void StopCurrent()

    See Also

    GpioPinServiceBase

    Comments

    Back to top Copyright © 2017-2019 Unosquare