Function opentitanlib::util::usr_access::usr_access_timestamp
source · pub fn usr_access_timestamp() -> u32
Expand description
Returns a 32-bit timestamp suitable to be used as a USR_ACCESS value:
|—––+—––+—––+———————––+—––+––––+––––| | Bits: | 31:27 | 26:23 | 22:17 | 16:12 | 11:6 | 5:0 | |—––+—––+—––+———————––+—––+––––+––––| | Data: | Day | Month | Year (since 2000, 0-63) | Hour | Minute | Second | |—––+—––+—––+———————––+—––+––––+––––|