[][src]Function pspsdk_sys::sdk::sceSTimerSetHandler

pub unsafe extern "C" fn sceSTimerSetHandler(
    timer: SceSysTimerId,
    cycle: c_int,
    handler: Option<unsafe extern "C" fn() -> c_int>,
    unk1: c_int
)

Setup a SysTimer handler

@param timer - The timer id. @param cycle - The timer cycle in microseconds (???). Maximum: 4194303 which represents ~1/10 seconds. @param handler - The handler function. Has to return -1. @param unk1 - Unknown. Pass 0.