I have K60 120M Tower. PORTB is configured as Alternative 2 as
/* PORTB_PCR10: ISF=0,MUX=2 */
PORTB_PCR10 = (uint32_t)((PORTB_PCR10 & (uint32_t)~(uint32_t)(
)) | (uint32_t)(
I have problem with toggling the PIN using Global Pin Control Low Register:
|PORTB_GPCLR = 0x4000400; //(1<<26) | (1<<10);|
|PORTB_GPCLR = 0x4000000; //(1<<26) | (0<<10);|
The pin is not toggling. Why?
If Pin is configured as GPIO, I can toggle it using gpio register.