This function configures and enables /INT0 and /INT1 (External Interrupts)
// as negative edge-triggered.
what is meant by "as negative edge triggered" does it mean that wen the logic "0" it is triggered?Code:void Ext_Interrupt_Init (void) { TCON = 0x05; // /INT 0 and /INT 1 are edge triggered IT01CF = 0x32; // /INT0 active low; /INT0 on P0.2; // /INT1 active low; /INT1 on P0.3 EX0 = 1; // Enable /INT0 interrupts EX1 = 1; // Enable /INT1 interrupts }
thanks in advance =D