2022-10-15 10:07 PM
2022-10-15 11:16 PM
Primary need config port pin to output mode ... no one asm
Secondary for bit manipulation is reg BRR (BSRR). ODR need read ... xor ... write
2022-10-16 07:24 AM
2022-10-16 08:21 AM
What STM32? There's a thousand of them.
GPIOC EQU 0x40020800 ; STM32F7
ldr r0, =GPIOC
ldr r1, [r0, #20] ; +0x14 ODR
orr.w r1, r1, #1 ; Bit 0
str r1, [r0, #20]