ADLINK ACL-8216 User Manual

Page 61

Advertising
background image

C/C++ Library 53

5.14 _8216_CLR_IRQ

@ Description

This function is used to clear interrupt request which requested by the
ACL-8216. If you use interrupt to transfer A/D converted data, you
should use this function to clear interrupt request status, otherwise no
new coming interrupt will be generated.

@ Syntax

int _8216_CLR_IRQ( void )

@ Argument

None

@ Return Code

ERR_NoError
ERR_BoardNoInit

@ Example

#include "8216.h"

main()
{
intad_data;
intErrCode;
_8216_Initial( CARD_1, 0x220 );
/* Assume NoError when Initialize ACL-8216 */

_8216_CLR_IRQ();
/* clear IRQ if necessary */
}

Advertising