Nios® II Software Developer Handbook

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

15.1.52. alt_tick()

Prototype

void alt_tick (void)

Commonly Called By

Device drivers

Thread-safe

No.

Available from ISR

Yes.

Include

<sys/alt_alarm.h>

Description

Only the system clock driver may call the alt_tick() function. The driver is responsible for making periodic calls to this function at the rate specified in the call to alt_sysclk_init(). This function provides notification to the system that a system clock tick has occurred. This function runs as a part of the ISR for the system clock driver.

Return

--