Пуск DWT Таймера на ARM Cortex-M (или Ядерный Таймер)
В этом тексте я покажу, что можно сделать, если у вас закончились все аппаратные таймеры в микроконтроллере. В ARM Cortex-M процессорах помимо SysTick есть еще один 32 битный таймер по имени DWT. Этот таймер увеличивается на 1 каждый тик ядра. Как же воспользоваться этим ядерным таймером?
https://habr.com/ru/articles/1005622/
#DWT #arm #arm_cortex #Arm_cortex_m #arm_cortex_m4 #метрология #таймер #timer #датчики #сенсоры
Does anyone know of an iPhone app that times how long you use other apps, and gives you a warning if you use an app too long in a single sitting?
I want to be able to pick an app (like Instagram) and set a time (like 5 or 10 minutes) for that app, and then whenever I use that app, the "timer" app keeps track, and pops up a notification or warning that I've been using the app for too long.
I have ADHD, and picking up my phone to do a discreet task can easily turn into an unintentional extended doomscrolling session. I just want a little warning that, hey, maybe you should be doing something else?
Things I do NOT want:
- Brick
- A per-day total limit on app usage
- Complete disabling of an app
Things I DO want:
- A per-app timer setting
- Tracks a single continuous session of app use
- A firm reminder that maybe I've spent too long in this app
- Dismissable
- Optionally: The timer starts again when I dismiss the warning
Thanks for any suggestions!
#adhd #iphone #productivity #screentime #timer #doomscrolling #recommendations