> :warning: **WARNING: when configuring GPIOs you should disable interrupts to avoid concurrent calls to *mode()* (for example if it is done at runtime). This can be done since pins configuration is a very fast operation, but it should in general be avoided, in order not to compromise real-time capabilities of Miosix. A normal mutex would introduce more overhead.**
> :warning: **WARNING: when configuring GPIOs you should disable interrupts to avoid concurrent calls to *mode()* (for example if it is done at runtime). This can be done since pins configuration is a very fast operation, but it should in general be avoided, in order not to compromise real-time capabilities of Miosix. A normal mutex would introduce more overhead in this case.**