Specifications
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
--
Related Information
• alt_alarm_start() on page 14-10
• alt_nticks() on page 14-46
• alt_sysclk_init() on page 14-65
• alt_tick() on page 14-48
• alt_ticks_per_second() on page 14-49
• gettimeofday() on page 14-72
• settimeofday() on page 14-61
• times() on page 14-67
• usleep() on page 14-70
alt_dma_rxchan_depth()
Prototype
alt_u32 alt_dma_rxchan_depth(alt_dma_rxchan dma)
Commonly Called By
C/C++ programs
Device drivers
Thread-safe
Yes.
Available from ISR
No.
Include
<sys/alt_dma.h>
Description
The alt_dma_rxchan_depth() function returns the maximum number of receive requests that can be
posted to the specified DMA transmit channel, dma.
Whether this function is thread-safe, or can be called from an ISR, depends on the underlying device
driver. In general it safest to assume that it is not thread-safe.
14-12
alt_dma_rxchan_depth()
NII5V2
2015.05.14
Altera Corporation
HAL API Reference
Send Feedback