33 LPC_GPIO0->FIOSET = (1 << pin);
0000113c: movs r3, #1
0000113e: lsls r3, r0
00001140: ldr r2, [pc, #4] ; (0x1148 <GPIO_0_on+12>)
00001142: str r3, [r2, #24]
00001144: bx lr
00001146: nop
00001148: stmia r0!, {}
0000114a: movs r0, #9
|
hi, i have project with two task RTX in LPC1768, two task use FIOSET FIOCLR with = (not |=) and i have corruption on the port. The two task not work in the same pin, but the same port and the read PORT SET is corrupt with a previous value of the port...