Hi Shruthi_C,
PCC->PCCn[PCC_PORTA_INDEX ]|=PCC_PCCn_CGC_MASK; /* Enable clock for PORTA */
PORTA->PCR[11] = 0x00000100; /* Port A11: MUX = GPIO */
PTA->PDDR |= 1<<11; /* Port A11: Data Direction= output */
PTA->PTOR |= 1<<11; /* toggle output port A11 */
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------