mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-02 04:13:54 -04:00
Keil MB9A310 project is now building, but not yet tested.
This commit is contained in:
parent
9bfeb26579
commit
99c1322650
6 changed files with 1149 additions and 1162 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue