Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

14.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

--