149
C-Control Pro Mega Series
Interrupt Name
INT_0
INT_1
INT_2
INT_3
INT_4
INT_5
INT_6
INT_7
INT_TIM1CAPT
INT_TIM1CMPA
INT_TIM1CMPB
INT_TIM1OVF
INT_TIM0COMP
INT_TIM0OVF
INT_ANA_COMP
INT_ADC
INT_TIM2COMP
INT_TIM2OVF
INT_TIM3CAPT
INT_TIM3CMPA
INT_TIM3CMPB
INT_TIM3CMPC
INT_TIM3OVF
The corresponding interrupt has to receive the corresponding instructions in an Interrupt Service
Routine (ISR) and also the interrupt has to be enabled. See
routine the Multi Threading is suspended.
A signal on INT_0 can interfere with the
switched on. According to the pin assignment of
SW1. If SW1 is pressed during power up of the Module then the Bootloader Mode will be activated
and the program will not be automatically started.
6.9.1
Ext_IntEnable
Interrupt Functions
Syntax
void Ext_IntEnable(byte IRQ,byte Mode);
Sub Ext_IntEnable(IRQ As Byte,Mode As Byte)
Description
Description
external Interrupt0
external Interrupt1
external Interrupt2
external Interrupt3
(only
external Interrupt4
(only
external Interrupt5
(only
external Interrupt6
(only
external Interrupt7
(only
Timer1 Capture
Timer1 CompareA
Timer1 CompareB
Timer1 Overflow
Timer0 Compare
Timer0 Overflow
Analog Comparator
ADC
Timer2 Compare
Timer2 Overflow
Timer3 Capture
(only
Mega128)
Timer3 CompareA
(only
Timer3 CompareB
(only
Timer3 CompareC
(only
Timer3 Overflow
(only
Mega128)
Example. During execution of the interrupt
Autostart Behaviour
when the C-Control Pro Module is
M32
and
M128
Mega128)
Mega128)
Mega128)
Mega128)
Mega128)
Mega128)
Mega128)
Mega128)
INT_0 shares the same pin with
© 2008 Conrad Electronic
Need help?
Do you have a question about the C-Control Pro Mega Series and is the answer not in the manual?
Questions and answers