Function dactyl::write_time [−][src]
pub unsafe fn write_time(buf: *mut u8, h: u8, m: u8, s: u8)
Write Time.
This writes HH:MM:SS to the provided pointer.
Panics
This method is only intended to cover values that fit in a day and will
panic if h
, m
, or s
is outside the range of 0..60
.
Safety
The pointer must have 8 bytes free or undefined things will happen.