Hi,
from EVB schematic you can see that LEDs are connected from VDD to GPIO. That means when you Clear pin - LED is ON, when you SET pin - LED is OFF.
To turn OFF all LEDs - you need to Set particular LED pin.
You can use OR and SHIFT like:
PINS_DRV_SetPins(PTD, (1<<16U) | (1<<15U) | (1<<0U) );
or write HEX value 0x18001 (1 10000000 00000001b)
PINS_DRV_SetPins(PTD, 0x18001);
To turn ON all LEDs - you can just switch SetPins to ClearPins
PINS_DRV_ClearPins(PTD, (1<<16U) | (1<<15U) | (1<<0U) );
You can also use only one LED:
Blue ON:
PINS_DRV_ClearPins(PTD, 1 << 0);
Blue OFF:
PINS_DRV_SetPins(PTD, 1 << 0);
RED ON:
PINS_DRV_ClearPins(PTD, 1 << 15);
RED OFF:
PINS_DRV_SetPins(PTD, 1 << 15);
GREEN ON:
PINS_DRV_ClearPins(PTD, 1 << 16);
GREEN OFF:
PINS_DRV_SetPins(PTD, 1 << 16);
So - in your code you can see that in Init - at the end - you turned OFF GREEN and RED and BLUE by:
PINS_DRV_SetPins(PTD,1<<15U|1<<0U);
PINS_DRV_SetPins(PTD,1<<16U);
and turned ON BLUE by:
PINS_DRV_ClearPins(PTD,1<<0U);
As you see - in for(;;)
you are toggling between Blue On/Off and (GREEN+RED) On/Off
because BLUE was ON and GREEN+RED was OFF).
Jiri