Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Usual Minimum Prepared Time calculation?

    Scheduled Pinned Locked Moved
    Firmware developers
    1
    1
    148
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jazbaatbadalgayeundefined
      jazbaatbadalgaye
      last edited by jazbaatbadalgaye

      How is the following statement evaluated to 100ms?

      uint32_t UsualMinimumPreparedTime = StepTimer::StepClockRate/10;				// 100ms
      

      If the step clock rate is 1MHz (1000000), the step clock time should be 10^-6 sec, hence the UsualMinimumPreparedTime should evaluate to 10^-5 sec i.e. 0.01 ms or 10us. Am I missing something?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Unless otherwise noted, all forum content is licensed under CC-BY-SA