Keil MB9A310 project is now building, but not yet tested.

This commit is contained in:
Richard Barry 2011-08-31 10:38:44 +00:00
parent 9bfeb26579
commit 99c1322650
6 changed files with 1149 additions and 1162 deletions

View file

@ -604,7 +604,7 @@ const unsigned short usButtonInputBit = 0x01U;
FM3_GPIO->PFR5 = 0x0000;
/* Assign the button input as GPIO. */
FM3_GPIO->PFR1 |= usButtonInputBit;
FM3_GPIO->PFR5 |= usButtonInputBit;
/* Button interrupt on falling edge. */
FM3_EXTI->ELVR = 0x0003;