Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · 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.