Module ndless::timer

source ·
Expand description

Timer

Tools for interacting with low-level timers of the nspire.

Constants§

Traits§

  • Utilities to convert standard Rust Durations into Nspire ticks

Functions§

  • Prepares the system for sleep. idle must be called to actually sleep.
  • Resets the sleep timer so it may be used normally.
  • Returns the number of ticks since the program started, based on a 32768Hz timer (i.e. 32768 ticks per second).
  • Detects if the number of ticks has passed yet