MetaWear C# SDK  1.2.0
C# API for MbientLab's sensor platform
Public Member Functions | Properties | List of all members
MbientLab.MetaWear.Peripheral.Gpio.IPin Interface Reference

Physical GPIO pin on the board More...

Public Member Functions

void SetChangeType (PinChangeType type)
 Set the pin change type to look for More...
 
void SetPullMode (PullMode mode)
 Set the pin pull mode More...
 
void ClearOutput ()
 Clear the pin's output voltage i.e. logical low More...
 
void SetOutput ()
 Set the pin's output voltage i.e. logical high More...
 
IVirtualPin CreateVirtualPin (byte pin)
 Creates a virtual pin More...
 

Properties

IAnalogDataProducer Adc [get]
 Data producer representing analog ADC data. Not all pins support analog inputs, property is null is unsupported More...
 
IAnalogDataProducer AbsoluteReference [get]
 Data producer representing absolute reference data. Not all pins support analog inputs, property is null is unsupported More...
 
IForcedDataProducer Digital [get]
 Data producer representing digital data More...
 
IAsyncDataProducer Monitor [get]
 Data producer representing pin monitoring data More...
 

Detailed Description

Physical GPIO pin on the board

Member Function Documentation

◆ ClearOutput()

void MbientLab.MetaWear.Peripheral.Gpio.IPin.ClearOutput ( )

Clear the pin's output voltage i.e. logical low

◆ CreateVirtualPin()

IVirtualPin MbientLab.MetaWear.Peripheral.Gpio.IPin.CreateVirtualPin ( byte  pin)

Creates a virtual pin

Parameters
pinPin number to associate the virtual pin with, between [Pins.Length, 254]
Returns
Object representing the virtual pin

◆ SetChangeType()

void MbientLab.MetaWear.Peripheral.Gpio.IPin.SetChangeType ( PinChangeType  type)

Set the pin change type to look for

Parameters
typeNew pin change type

◆ SetOutput()

void MbientLab.MetaWear.Peripheral.Gpio.IPin.SetOutput ( )

Set the pin's output voltage i.e. logical high

◆ SetPullMode()

void MbientLab.MetaWear.Peripheral.Gpio.IPin.SetPullMode ( PullMode  mode)

Set the pin pull mode

Parameters
modeNew pull mode

Property Documentation

◆ AbsoluteReference

IAnalogDataProducer MbientLab.MetaWear.Peripheral.Gpio.IPin.AbsoluteReference
get

Data producer representing absolute reference data. Not all pins support analog inputs, property is null is unsupported

◆ Adc

IAnalogDataProducer MbientLab.MetaWear.Peripheral.Gpio.IPin.Adc
get

Data producer representing analog ADC data. Not all pins support analog inputs, property is null is unsupported

◆ Digital

IForcedDataProducer MbientLab.MetaWear.Peripheral.Gpio.IPin.Digital
get

Data producer representing digital data

◆ Monitor

IAsyncDataProducer MbientLab.MetaWear.Peripheral.Gpio.IPin.Monitor
get

Data producer representing pin monitoring data


The documentation for this interface was generated from the following file: