ULP, pack two 16-bit measurements in one 32-bit register (r0,r1,r2,r3)
Posted: Sun Mar 29, 2020 9:56 am
Hi,
I am working on a project with ESP32 where I read 16-bit data from an IMU sensor in deep-sleep, hence with ULP.
In order to downsize the data stored in RTC_SLOW_MEM region I would like to save 2 16-bit measurements in one 32-bit register (r0,r1,r2,r3), though I don't know if this is possible. Any ideas? Thank you!
I am working on a project with ESP32 where I read 16-bit data from an IMU sensor in deep-sleep, hence with ULP.
In order to downsize the data stored in RTC_SLOW_MEM region I would like to save 2 16-bit measurements in one 32-bit register (r0,r1,r2,r3), though I don't know if this is possible. Any ideas? Thank you!