Skip to content
Snippets Groups Projects
Commit 1feaf068 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

trigger timer: add phase attribute


The ms-phase attribute pairs with ms-period. In this way you can have
a fine control about when the I/O happens.  Please note that the epoch
of the time base is unphatomable (it is related to boot time). So you
can manage offsets between csets, but not absolute stamps. For that
please use the HRT trigger.

Every trigger instance starts at phase 0 (i.e., the trigger is armed
at a multiple of its period). If you later change the period, no phase
calculation is performed, so that the new period will be as requested
(to allow for slowly-changing periods.  If, however, you change the
phase, the trigger is re-armed with that absolute phase, to allow for
slowly-changing phase.  If you change the period and then you change
the phase, you'll experience an unexpected period during the transition.

Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Acked-by: default avatarFederico Vaga <federico.vaga@gmail.com>
parent d195a180
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment