led blinking MPC5748g

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

led blinking MPC5748g

548件の閲覧回数
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 返信

518件の閲覧回数
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 件の賞賛
返信