Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

15.1.13. alt_alarm_stop()

Prototype

void alt_alarm_stop (alt_alarm* alarm)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

Yes.

Include

<sys/alt_alarm.h>

Description

You can call the alt_alarm_stop() function to cancel an alarm previously registered by a call to alt_alarm_start(). The input argument is a pointer to the alarm structure in the previous call to alt_alarm_start().

On return the alarm is canceled, if it is still active.

Return

--