WinSystems EBC-LP Operation Manual page 61

Small, high-performance, embeddable computer system on a single board
Table of Contents

Advertisement

ENAB_INT - En able Edge In ter rupt, Se lect Po lar ity
Syn tax
void enab_int(int bit_number, int po lar ity);
De scrip tion
This func tion re quires two ar gu ments:
bit_number - A value from 1 to 24 speci fy ing the ap pro pri ate bit
po lar ity - Speci fies ris ing or fal ling edge po lar ity de tect. The con stants RIS ING and FAL LING are de fined
in "uio48.h"
This func tion en ables the edge de tec tion cir cuitry for the speci fied bit at the speci fied po lar ity. It
does not un mask the in ter rupt con trol ler, in stall vec tors, or han dle in ter rupts when they oc cur. There is
no re turn value and only the speci fied bit is af fected.
DISAB_INT - Dis able Edge De tect In ter rupt De tec tion
Syn tax
void disab_int(int bit_number);
De scrip tion
This func tion re quires a sin gle ar gu ment:
bit_number - A value from 1 to 24 speci fy ing the ap pro pri ate bit.
This func tion shuts down the edge de tec tion in ter rupts for the speci fied bit. There is no re turn value
and no harm is done by call ing this func tion for a bit which did not have edge de tec tion in ter rupts
en abled. There is no af fect on any other bits.
Page 5-4
WinSystems - "The Embedded Authority"
EBC-LP OPERATIONS MANUAL
030530

Advertisement

Table of Contents
loading

Table of Contents