pub type sntp_sync_time_cb_t = Option<unsafe extern "C" fn(tv: *mut timeval)>;
Expand description

@brief SNTP callback function for notifying about time sync event

@param tv Time received from SNTP server.

Aliased Type§

enum sntp_sync_time_cb_t {
    None,
    Some(unsafe extern "C" fn(_: *mut timeval)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut timeval))

Some value of type T.