This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

General Purpose Registers

Hi,

I am new to arm and ble development. I am used to work with AVR mcus and I am trying to migrate a project from AVR to nrf52.

AVR usually has some "General Purpose I/O Registers" free to use. They are called GPIORn and in spite of the name they are not related with configuring the I/O pins. I normally use them to store flags on my code, instead of using boolean variables for example.

Is there anything similar on nrf51 or nrf52 SoCs? The NRF_POWER->GPREGRET and GPREGRET2 could be used this way?

Any other suggestions?

Parents Reply Children
No Data
Related