Mio::PWMInSubchannelConfig Struct Reference

PWM input subchannel configuration. More...

List of all members.

Public Attributes

int config
 Configuration bits for PWM input subchannel.
int edges
 Number of edges to capture.


Detailed Description

PWM input subchannel configuration.

Member Data Documentation

Configuration bits for PWM input subchannel.

Bitmap of the following bits:

   Mio.PWM_DISABLE or Mio.PWM_ENABLE 
   Mio.PWM_POL_0 or Mio.PWM_POL_1
   Mio.PWM_IDLE or Mio.PWM_ACTIVE

Number of edges to capture.

Number of edges to capture in the PWM input signal: 1 ... 65535. Set to 1 to capture only the initial edge, 2 to capture one pulse, 3 to capture one PWM period, 5 to capture two PWM periods, etc.


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

USB-MIO v1.0 C# API     Copyright (C) 2009 by Mats Byggmastar Consulting Ab