Hi
I Use gpio.
Is there a way to set the gpio output at once?
Is there a register to set the gpio?
example) For stm32
GPIOF->CRL = 0x30000000;
GPIOF->ODR = 0x00000080;
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Gyeongju,
GPIO_pinWriteHigh and GPIO_pinWriteLow can be used to write the 16 I/O per GPIO bank.
Alternatively, you can do direct register writes to the SET_DATAxy registers:

There are registers for DATA01, DATA23, DATA45, DATA67, and DATA8 to cover all 137 GPIO.
Best Regards,
Ralph Jacobi