Skip to main content

reset_divider

Function reset_divider 

Source
pub fn reset_divider()
Expand description

Reset the divider to zero.

The timer shares the divider’s counter, so this can advance it once. The APU counts its envelopes and length timers off the same place; those step early as well.