Download Processor Expert Help About Processor Expert
Transcript
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** */ /* Main module. Here is to be placed user's code. Settings : Contents : No public methods (c) Copyright UNIS, spol. s r. o. 1997-2002 UNIS, spol. s r. o. Jundrovska 33 624 00 Brno Czech Republic http : www. processorexpert. com mail : info@ processorexpert. com ########################################################### MODULE LEDcontrol */ /* Including used modules for compilling procedure */ #include "Cpu. h" #include "Events. h" #include "GPIO_ C0. h" #include "GPIO_ C1. h" #include "GPIO_ C2. h" #include "GPIO_ C3. h" #include "GPIO_ D6. h" #include "GPIO_ D7. h" #include "IRQA. h" #include "IRQB. h" /* Include shared modules, which are used for whole project */ #include "PE_ Types. h" #include "PE_ Error. h" #include "PE_ Const. h" #include "IO_ Map. h" /* * Application Description: * LED program for the 56836 EVM. * * Pattern: "Count" from 0 to 63, using LEDs to represent the bits of the number. * * Pressing the IRQA button flips LED order: commands that previously went to LED1 go to LED6, and so forth. * Pressing the IRQB button reverses the enabled/ disabled LED states. * */ /* global used as bitfield, to remember currently active bits, used to 118