Hi,
NRF_POWER->GPREGRET =0x12345678;
Why only 8bits(0x00000078) be saved ?
Hi,
NRF_POWER->GPREGRET =0x12345678;
Why only 8bits(0x00000078) be saved ?
Yes, the general-purpose retention registers( GPREGRET and GPREGRET2) are 8 bit registers, please refer this page in the nRF52832 Product Specification.
Yes, the general-purpose retention registers( GPREGRET and GPREGRET2) are 8 bit registers, please refer this page in the nRF52832 Product Specification.
__IO uint32_t GPREGRET; /*!< General purpose retention register. This register is retained register. */
In nrf51.h the define show me uint32_t.
Thanks!
But the SoftDevice API parameters for accessing these use 32-bit parameters.
The SoftDevice API documentation makes no mention of the fact that the register are only actually 8 bits.
The SoftDevice API documentation should make this clear!
I have reported this internally.