PIC18F26K22 WDT CONFIG2H Config Register
Posted: Tue Aug 18, 2020 11:30 pm
NEVERMIND. I was being stupid - first time for everything you know!
I'm working on a very low power app, and I'd like to use the WDT to wake from sleep periodically to acquire a measurement and then go back to sleep. I'm using the 18F26k22 micro. It appears that the WDT post-scaler gives me the time intervals I'd like.
The data sheet say the WDT post-scaler and config is in register CONFIG2H. The 18F26K22 doesn't contain this register. Is it named something different? Can I access it directly?
I updated Swordfish to the most recent version a few days ago, so I believe I have the current files.
Thanks,
Jon
I'm working on a very low power app, and I'd like to use the WDT to wake from sleep periodically to acquire a measurement and then go back to sleep. I'm using the 18F26k22 micro. It appears that the WDT post-scaler gives me the time intervals I'd like.
The data sheet say the WDT post-scaler and config is in register CONFIG2H. The 18F26K22 doesn't contain this register. Is it named something different? Can I access it directly?
I updated Swordfish to the most recent version a few days ago, so I believe I have the current files.
Thanks,
Jon