Specifications

alt_dma_txchan_open() on page 14-20
alt_dma_txchan_send() on page 14-27
alt_dma_txchan_space() on page 14-26
alt_flash_close_dev()
Prototype
void alt_flash_close_dev(alt_flash_fd* fd)
Commonly Called By
C/C++ programs
Device drivers
Thread-safe
No.
Available from ISR
No.
Include
<sys/alt_flash.h>
Description
The alt_flash_close_dev() function closes a flash device. All subsequent calls to alt_write_flash(),
alt_read_flash(), alt_get_flash_info(), alt_erase_flash_block(), or
alt_write_flash_block() for this flash device fail.
Call the alt_flash_close_dev() function only when operating in single-threaded mode.
The only valid values for the fd parameter are those returned from the alt_flash_open_dev function. If
any other value is passed, the behavior of this function is undefined.
Return
--
Related Information
alt_flash_open_dev() on page 14-28
alt_get_flash_info() on page 14-29
alt_read_flash() on page 14-47
alt_write_flash() on page 14-52
alt_write_flash_block() on page 14-53
14-22
alt_flash_close_dev()
NII5V2
2015.05.14
Altera Corporation
HAL API Reference
Send Feedback