MCU: различия между версиями
Материал из fidoman.ru
Sergey (обсуждение | вклад) (→STM8) |
Sergey (обсуждение | вклад) (→STM8) |
||
Строка 23: | Строка 23: | ||
# configure GPIO | # configure GPIO | ||
# use watchdog | # use watchdog | ||
+ | |||
+ | === AWU === | ||
+ | |||
+ | * on int disable AWU (or new int will generated instantly) | ||
+ | * before re-enable re-load counter |
Версия 16:37, 26 октября 2021
cam
ESP32-CAM OV2460
links
Lightweight C compilers http://fun4diy.com/
STM8
compilers comparation http://www.colecovision.eu/stm8/compilers.shtml
startup
- Power requirements: 3.3-5V
- Reset circuit (100nF cap)
- Select clock source (ext.crystal/HSI)
- Choose halt modes for
- flash
- HSI, HSE
- use timer or AWU for wake-up if no ext.ints
- calibrate LSI osc.
- configure GPIO
- use watchdog
AWU
- on int disable AWU (or new int will generated instantly)
- before re-enable re-load counter