150
Libraries
© 2008 Conrad Electronic
This function enables the external Interrupt IRQ. The Mode parameter defines when to trigger the interrupt.
Caution: A signal on INT_0 at power up time can lead to
Parameter
IRQ number of the interrupt to be enabled
Mode parameter:
0:
a low level triggers the interrupt
1:
every changing edge triggers the interrupt
2:
a falling edge triggers the interrupt
3:
a rising edge triggers the interrupt
6.9.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
6.9.3
Irq_GetCount
Interrupt Functions
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
interrupt service routine gets called continuously.
Parameter
Summary of Contents for C-Control Pro Mega Series
Page 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Page 9: ...VIII Inhalt 2008 Conrad Electronic ...
Page 10: ...Part 1 ...
Page 17: ...Part 2 ...
Page 23: ...Part 3 ...
Page 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Page 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Page 58: ...Part 4 ...
Page 91: ...82 IDE 2008 Conrad Electronic ...
Page 92: ...Part 5 ...
Page 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Page 136: ...Part 6 ...
Page 231: ...Part 7 ...
Page 240: ......