TimerInstance_Class

setClearOnCompare()

Description

This method sets the clear-on-compare match for the timer. If enabled, this will cause the counter to reset when it is equal to the period register (void).

Syntax

timer1.setClearOnCompare(value)

Parameters

timer1: a variable of type TimerInstance_Class

value: True to enable clear on compare match, False to disable it. type: bool,

See also

Corrections, suggestions, and new documentation can be added directly to the wiki page. Scroll to the bottom, choose "Edit Page" and use "Papilio" as the password.

  

Share |