pub fn micros_to_ticks(micros: u32) -> u16
Expand description

Converts the number of microseconds that have occurred since a second into clock ticks (1/32768 of a second).

For example: for the time 2020-10-05 01:39:56.505, micros is 505000, and this gives 16547 ticks.

The maximum valid value for micros is 999_999.