Mio::PWMOutSubchannelConfig Struct Reference

PWM output subchannel configuration. More...

List of all members.

Public Attributes

int config
 Configuration bits for PWM output subchannel.
int width
 Halfperiod width.


Detailed Description

PWM output subchannel configuration.

Member Data Documentation

Configuration bits for PWM output subchannel.

Bitmap of the following bits:

   Mio.PWM_DISABLE or Mio.PWM_ENABLE 
   Mio.PWM_POL_0 or Mio.PWM_POL_1

Halfperiod width.

Width (in PWM clock ticks) of first part of the PWM pulses: 1 ... pwm_period-1. Set to pwm_period for duty 0% and >pwm_period for duty 100%.


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