⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

set_alarm

Function set_alarm 

Source
pub fn set_alarm(hour: u8, minute: u8, second: u8)
Expand description

Set the CMOS alarm to fire at the given hour:minute:second.

This programs CMOS alarm registers 0x01 (seconds), 0x03 (minutes), 0x05 (hours) and enables the alarm interrupt bit in Register B.