Subversion Repositories HomeAutomation

Rev

Rev 1421 | Rev 1427 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1421 Rev 1423
Line 495... Line 495...
495
        </variable>
495
        </variable>
496
        <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
496
        <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
497
        <variable name="Channel" type="uint" start_bit="16" bit_length="8" unit="" description="Dimmer channel"/>
497
        <variable name="Channel" type="uint" start_bit="16" bit_length="8" unit="" description="Dimmer channel"/>
498
      </variables>
498
      </variables>
499
    </command>
499
    </command>
-
 
500
    <command id="128" name="Demo" type="specific" module="hwPWM" description="Fade to x+steps, then to x-steps and then back to x. If x is close to, or at, top or bottom then fade more to the other direction">
-
 
501
     <variables>
-
 
502
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
-
 
503
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/>
-
 
504
        <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
-
 
505
      </variables>
-
 
506
    </command>
-
 
507
   
-
 
508
    <command id="129" name="Start_Fade" type="specific" module="hwPWM" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
-
 
509
     <variables>
-
 
510
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
-
 
511
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
-
 
512
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
-
 
513
            <value id="0" name="Decrease"/>
-
 
514
            <value id="1" name="Increase"/>
-
 
515
        </variable>
-
 
516
      </variables>
-
 
517
    </command>
-
 
518
    <command id="130" name="Stop_Fade" type="specific" module="hwPWM" description="If a fade is in progress, then stop">
-
 
519
      <variables>
-
 
520
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
-
 
521
      </variables>
-
 
522
    </command>
-
 
523
    <command id="131" name="Abs_Fade" type="specific" module="hwPWM" description="Fade to a defined value, stops when another command is received">
-
 
524
     <variables>
-
 
525
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
-
 
526
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
-
 
527
        <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
-
 
528
      </variables>
-
 
529
    </command>
-
 
530
    <command id="132" name="Rel_Fade" type="specific" module="hwPWM" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
-
 
531
     <variables>
-
 
532
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
-
 
533
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
-
 
534
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
-
 
535
            <value id="0" name="Decrease"/>
-
 
536
            <value id="1" name="Increase"/>
-
 
537
        </variable>
-
 
538
        <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
-
 
539
      </variables>
-
 
540
    </command>
-
 
541
 
500
    <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
542
    <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
501
     <variables>
543
     <variables>
502
        <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
544
        <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
503
        <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
545
        <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
504
     </variables>
546
     </variables>