Greetings all,
Here https://www.pjrc.com/store/teensy41.html#tech it says that there are 16 bytes of RTC ram and "This memory is accessed as 32 bit registers LPGPR0-LPGPR3.". I coded the following to test this and get LPGPR[0-3] not defined errors. What magic incantation am I missing to make this work? Thank you in advance.
Here https://www.pjrc.com/store/teensy41.html#tech it says that there are 16 bytes of RTC ram and "This memory is accessed as 32 bit registers LPGPR0-LPGPR3.". I coded the following to test this and get LPGPR[0-3] not defined errors. What magic incantation am I missing to make this work? Thank you in advance.
Code:
// Test sketch to access RTC registers
float w = 123.45;
float x = 789.101112;
int y = 218;
unsigned long z = 123456;
void setup() {
LPGPR0 = w;
LPGPR1 = x;
LPGPR2 = y;
LPGPR3 = z;
}
void loop() {
}