Correct argument for ulp_run
Posted: Sun Oct 10, 2021 6:08 pm
I'm confused by what should be passed in the argument for
I've seen examples that show this:
and this
In the docs it does say that it should be expressed in 32 bit words - which I think is where the /4 is coming from in other examples.
Which is correct? Or doesn't it matter?
Code: Select all
ulp_run
Code: Select all
ulp_run((&ulp_entry - RTC_SLOW_MEM)/4);
Code: Select all
ulp_run(&ulp_entry - RTC_SLOW_MEM);
Which is correct? Or doesn't it matter?