110425
OPERATIONS MANUAL PCM-UIO48B
9
ENAB_INT
– Enables Edge Interrupt, Select Polarity
Syntax
void enab_int(int bit_number, int polarity);
Description
This function takes two arguments:
bit_number – a value from 1 to 24, specifying the
appropriate bit.
polarity - specifies rising or falling edge polarity detect.
The constraints RISING and FALLING are defined
UIO48.H.
This function enables the edge detection circuitry for
the specified bit at the specified polarity. It does not
unmask the interrupt controller, install vectors, or
handle interrupts when they occur. There is no return
value and only the specified bit is affected.
DISAB_INT
– Disables Edge Detect Interrupt Detection
Syntax
void disab_int(int bit_number);
Description
This function takes a single argument:
bit_number – a value from 1 to 24 specifying the
appropriate bit.
This function shuts down the edge detection interrupts
for the specified bit. There is no return value and no
harm is done by calling this function for a bit which did
not have edge detection interrupts enabled. There is no
effect on any other bits.