led blinking MPC5748g

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

led blinking MPC5748g

574 次查看
Mustafa123
Contributor I

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(;;) {

}
}

0 项奖励
回复
1 回复

544 次查看
petervlna
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复