Instructions

279 C-Control Pro IDE
© 2013 Conrad Electronic
0: a falling edge triggers the interrupt
1: a rising edge triggers the interrupt
Mode parameter for AVR32
0: a low level triggers the interrupt
1: a high level edge triggers the interrupt
2: a falling edge triggers the interrupt
3: a rising edge triggers the interrupt
When 40 (Hex) is ORed to the parameter Mode (only AVR32) an internal pull-down is set, if 80 (Hex) is
ORed an internal pull-up gets enabled.
5.13.2 Ext_IntDisable
Interrupt Functions
Syntax
void Ext_IntDisable(byte IRQ);
Sub Ext_IntDisable(IRQ As Byte)
Description
The external Interrupt IRQ gets disabled.
Parameter
IRQ number of the interrupt to disable Mega32 (0-2) , Mega128 (0-7) , AVR32 (1-7)
5.13.3 Irq_GetCount
Interrupt Functions Example
Syntax
byte Irq_GetCount(byte irqnr);
Sub Irq_GetCount(irqnr As Byte) As Byte
Description
Acknowledges the interrupt. If the function is not called at the end of a interrupt service routine, the in-
terrupt service routine gets called continuously.
Parameter
irqnr specifies the interrupt type (see table)
Return Parameter