针对的是EK的线路板<br />#add by wkj for LED test Debug<br /> mov r0,#0<br /> sub r0,r0,#2544 @;-2544=0xfffff610,PIOB_OER<br /> mov r1,#7 @;all LED will light<br /> str r1,[r0,#0]<br /> mov r2,#7 @;clean all led<br /> str r2,[r0,#0xfffff630-0xfffff610] @PIOB_SODR<br /> str r1,[r0,#0xfffff634-0xfffff610] @PIOB_CODR<br />#end add
|