Skip to main content

rtc_device_init

Function rtc_device_init 

Source
pub fn rtc_device_init<L>(
    locked: &mut Locked<L>,
    current_task: &CurrentTask,
) -> Result<(), Errno>
Expand description

Initialize an RTC dynamic device. Initialize a RTC device.

It will be available at /dev/rtc0.