Цитата(asen @ Nov 27 2006, 12:15)

EXTMODE_bit.EXTMODE0 = 1; //Для входа EINT0 выбрана реакция на переход
EXTPOLAR_bit.EXTPOLAR0 = 0; //выбрана чувствительность к спаду
Errata читаем, да?
Ну и добавляем пунктик 3а дополнительно, ибо этот баг не описан:
Код
// Set edle-sensetive Mode
// The steps involved in the configuration of the EXTMODE and/or EXTPOLAR would be as follow:-
// 1. Write 0x00 to VPBDIV
// 2. Write the desired value to EXTMODE or EXTPOLAR register
// 3. Write the same value to VPBDIV
// 3a. Write 0x00 to VPBDIV (additional step for INT0 )
// 4. Restore the VPBDIV to the previously saved value or simply write to the register again
// with the desired value.
ulong i;
VPBDIV = 0; // 1.
i = EXTMODE & ( EXTMODE_EXTMODE0|EXTMODE_EXTMODE1|EXTMODE_EXTMODE2|EXTMODE_EXTMODE3); // Get Curent Value
i |= EXTMODE_EXTMODE0;
EXTMODE = i; // 2.
VPBDIV = i; // 3.
VPBDIV = 0; // 3a
VPBDIV = configBUS_CLK; // 4.