please i am start to use mpc5748G dev board my problem when i werite this code the led automatically led on on the board even if i write SIUL2.GPDO[10].R=0; so please what is the problem of my code thanks in advance
int main(void)
{
xcptn_xmpl (); /* Configure and Enable Interrupts */
SIUL2.MSCR[10].B.OBE=1;
SIUL2.MSCR[10].B.SSS=0;
SIUL2.GPDO[10].R=0;
/* Loop forever */
for(;;) {
}
}
Hello,
Which LED you are referring to? What do you want to achieve? Which revision of the board you have?
SIUL2 periphery is described in details in reference manual.
Best regards,
Peter