|
поечему то нет реакции на внешнее прерывание INT0.В чём может быть фишка?
XBR0 = 0x0d; // XBAR0: Initial Reset Value
XBR1 = 0x04; // XBAR1: Initial Reset Value
XBR2 = 0x40; // XBAR2: Initial Reset Value42
// Select Pin I/0// Port configuration (1 = Push Pull Output)
P0MDOUT = 0x31; // Output configuration for P0
P1MDOUT = 0xFe; // Output configuration for P1
P2MDOUT = 0xFF; // Output configuration for P2
P3MDOUT = 0x00; // Output configuration for P3
P74OUT = 0xFb; // Output configuration for P4-7IE = 0x12; //Interrupt Enable
IP = 0x00; //Interrupt Priority
EIE1 = 0x00; //Extended Interrupt Enable 1
EIE2 = 0x01; //Extended Interrupt Enable 2
EIP1 = 0x00; //Extended Interrupt Priority 1
EIP2 = 0x00; //Extended Interrupt Priority 2
E-mail: info@telesys.ru