use ::error::*;
use hal::handle::*;
use ::raw::*;
pub fn clean_notifier(handle: NotifierHandle) -> HalResult<()> {
unsafe { hal_call![ ptr HAL_CleanNotifier(handle) ] }
}
pub fn get_notifier_param(handle: NotifierHandle) -> HalResult<*mut ::std::os::raw::c_void> {
unsafe { hal_call![ ptr HAL_GetNotifierParam(handle) ] }
}
pub fn update_notifier_alarm(handle: NotifierHandle, trigger_time: u64) -> HalResult<()> {
unsafe { hal_call![ ptr HAL_UpdateNotifierAlarm(handle, trigger_time) ] }
}
pub fn stop_notifier_alarm(handle: NotifierHandle) -> HalResult<()> {
unsafe { hal_call![ ptr HAL_StopNotifierAlarm(handle) ] }
}