PLLFEED = 0x55; // MUST occur in sequence.\r
\r
// setup the parallel port pin\r
- IOCLR = PIO_ZERO_BITS; // clear the ZEROs output\r
- IOSET = PIO_ONE_BITS; // set the ONEs output\r
- IODIR = PIO_OUTPUT_BITS; // set the output bit direction\r
+ IO0CLR = PIO_ZERO_BITS; // clear the ZEROs output\r
+ IO0SET = PIO_ONE_BITS; // set the ONEs output\r
+ IO0DIR = PIO_OUTPUT_BITS; // set the output bit direction\r
\r
// wait for PLL lock\r
while (!(PLLSTAT & PLLSTAT_LOCK))\r
*/\r
static void\r
ledInit() {\r
- IODIR |= 0x000F0000; /*leds connected to P0.16 17 18 & 19 should blink*/\r
- IOSET = 0x000F0000; /* all leds are switched on */\r
+ IO0DIR |= 0x000F0000; /*leds connected to P0.16 17 18 & 19 should blink*/\r
+ IO0SET = 0x000F0000; /* all leds are switched on */\r
}\r
\r
/**\r
*/\r
static void /* Ioclr.i =1 => IOset.i cleared */\r
ledOff(int led) {\r
- IOCLR = led;\r
+ IO0CLR = led;\r
}\r
\r
/**\r
*/\r
static void /* Ioset.i = 1 => P0.i = 1 */\r
ledOn(int led) {\r
- IOSET = led;\r
+ IO0SET = led;\r
}\r
\r
/**\r