Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

set_mode

Function set_mode 

Source
pub fn set_mode(t: Timer, mode: u16)
Expand description

Mode / control register; the bits are [psx_hw::timers::mode]. Writing it reconfigures the counter and resets it to 0.