{"id":263218,"date":"2015-08-10T12:02:02","date_gmt":"2015-08-10T08:02:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=263218"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=263218","title":{"rendered":"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 ARM \u043d\u0430 Pascal"},"content":{"rendered":"<p>             \u041e\u0434\u043d\u0430\u0436\u0434\u044b, \u0432\u0434\u0440\u0443\u0433 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u0438 \u0431\u0435\u0437 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u043e\u0439\u043d\u044b, \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0438\u0434\u0435\u044f. \u0418 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b STM32.<\/p>\n<p>  \u0410 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u0447\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c? stm32vldiscovery \u043b\u0435\u0436\u0430\u043b\u0430 \u043d\u0430 \u043f\u043e\u043b\u043a\u0435 \u0438 \u0434\u043e\u0436\u0438\u0434\u0430\u043b\u0430\u0441\u044c \u0441\u0432\u043e\u0435\u0433\u043e \u0447\u0430\u0441\u0430, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0437\u043d\u0430\u044e \u0438 \u0447\u0430\u0441\u0442\u0435\u043d\u044c\u043a\u043e \u043f\u0438\u0448\u0443 \u201c\u043d\u0430 \u0437\u0430\u043a\u0430\u0437\u201d. \u0421 \u0436\u0435\u043b\u0435\u0437\u043e\u043c \u0434\u0440\u0443\u0436\u0443 \u0445\u043e\u0440\u043e\u0448\u043e. <\/p>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0432\u043e\u0437\u043d\u0438\u043a \u0432\u043e\u043f\u0440\u043e\u0441 \u201c\u043d\u0430 \u0447\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c\u201d? \u0421\u0440\u0435\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u044f\u0437\u044b\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u201c\u0421\u0438\u201d. \u0411\u0435\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432. \u0410\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440 \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435. \u0421\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c \u043f\u043e\u043c\u0438\u0433\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0445 \u0442\u0440\u0443\u0434\u043e\u0437\u0430\u0442\u0440\u0430\u0442. <\/p>\n<p>  \u041d\u043e \u044f \u043d\u0435 \u0437\u043d\u0430\u044e \u0421\u0438! \u0412\u043e\u043e\u0431\u0449\u0435. \u0412\u0441\u044e \u0436\u0438\u0437\u043d\u044c \u043f\u0438\u0441\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 Pascal\/Delphi. \u0423\u0447\u0438\u0442\u044c \u044f\u0437\u044b\u043a? \u0412\u044b \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 \u0443\u0447\u0438\u0442\u044c \u044f\u0437\u044b\u043a \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u0431\u043e\u043b\u0435\u0435 40 \u043b\u0435\u0442 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430? \u041a\u043e\u0433\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430, \u0441\u0435\u043c\u044c\u044f \u0438 \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041a\u043e\u0433\u0434\u0430 \u0443\u043c \u0443\u0436\u0435 \u043d\u0435 \u0442\u0430\u043a \u043e\u0441\u0442\u0440, \u043a\u0430\u043a \u0432 \u043c\u043e\u043b\u043e\u0434\u043e\u0441\u0442\u0438. \u0414\u0430 \u0438 \u0437\u0430\u0442\u0435\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u044d\u0442\u043e \u0440\u0430\u0434\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u0441\u043c\u044b\u0441\u043b\u0430 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435, \u0447\u0435\u043c \u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0440\u0430\u0432\u0430 \u0438 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u044c \u043c\u0430\u0448\u0438\u043d\u0443 \u0440\u0430\u0434\u0438 \u043f\u043e\u0435\u0437\u0434\u043a\u0438 \u0432 \u0431\u0443\u043b\u043e\u0447\u043d\u0443\u044e \u0432 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u043c \u0434\u043e\u043c\u0435.<\/p>\n<p>  \u0412\u044b\u0445\u043e\u0434\u043e\u043c \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u043b \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u201cmikroPascal PRO for ARM\u201d \u043e\u0442 MikroElektronika. \u0415\u0441\u043b\u0438 \u0447\u0435\u0441\u0442\u043d\u043e, \u044f \u0443\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 \u201cmikroPascal PRO for PIC\u201d \u043d\u0430 \u043f\u0438\u043a\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u0438 PIC \u0447\u0438\u043f\u043e\u0432. \u0412\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u044f \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0438\u0435. \u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u201c\u0441\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u044f\u043c\u0438\u201d, \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430 \u0442\u043e\u0436\u0435 \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0430\u0441\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e \u0438 \u0434\u0440\u0443\u0436\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c. <\/p>\n<p>  \u0422\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0447\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c \u0437\u0430 \u044d\u0442\u0438 \u0433\u043e\u0434\u044b \u0438 \u0432 \u043a\u0430\u043a\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443. <\/p>\n<p>  \u0418 \u0442\u0430\u043a, \u0447\u0442\u043e \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u043d\u0430 \u0440\u0443\u043a\u0430\u0445:  <\/p>\n<ul>\n<li>\u041f\u043b\u0430\u0442\u0443 stm32f4discovery;<\/li>\n<li>mikroPascal PRO for ARM \u0441 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u043e\u043c \u043a\u043b\u044e\u0447\u0435\u043c (\u0432\u0437\u044f\u0442\u043e \u0443 \u0442\u043e\u0432\u0430\u0440\u0438\u0449\u0430. \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0432\u0435\u0440\u043d\u0443\u0442\u044c). \u0411\u0435\u0437 \u043a\u043b\u044e\u0447\u0430 \u2014 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0432 2 \u041a\u0412 \u043d\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u0434\u0430;<\/li>\n<li>\u0418\u043d\u0436\u0435\u043d\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432 \u0412\u0423\u0417\u0435 \u0443\u0447\u0438\u043b\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e Pascal.<\/li>\n<\/ul>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430: \u043e\u0441\u0432\u043e\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0421\u0438 \u043a\u043e\u0434\u0430.<\/p>\n<p>  \u0418\u0442\u0430\u043a \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c\u2026<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e. File -&gt; New \u2014 &gt; New Project.<\/p>\n<p>  \u0423\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u0438\u043f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430. \u0421\u043f\u0440\u043e\u0441\u0438\u0442, \u043a\u0430\u043a\u0438\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c ( \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u2014 \u0432\u0441\u0435). \u041e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c. \u201c\u041b\u0438\u0448\u043d\u0438\u0435\u201d \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u0440\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u043a\u0438\u043d\u0443\u0442\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u043c.<\/p>\n<p>  \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0442\u0430\u043a\u0442\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u044f \u2014 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435\u0441\u044c \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u201cScheme\u201d. \u042d\u0442\u043e \u043d\u0430\u0431\u043e\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0434\u043b\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043f\u043e\u0438\u0433\u0440\u0430\u0435\u043c\u0441\u044f \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430\u043c\u0438. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043c \u0438\u0445 \u0433\u043e\u0440\u0435\u0442\u044c. \u041d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e, \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u044b \u0441\u0438\u0434\u044f\u0442 \u043d\u0430 \u043f\u043e\u0440\u0442\u0430\u0445 D12, D13, D14 \u0438 D15.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\"><code> program MyProject1; begin   \/\/ \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u043f\u043e\u0440\u0442 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434   GPIO_Digital_Output(@GPIOD_BASE, _GPIO_PINMASK_12 or _GPIO_PINMASK_13 or _GPIO_PINMASK_14 or _GPIO_PINMASK_15);   \/\/ \u0437\u0430\u0436\u0438\u0433\u0430\u0435\u043c   SetBit(GPIOD_ODR, 12);   SetBit(GPIOD_ODR, 13);   SetBit(GPIOD_ODR, 14);   SetBit(GPIOD_ODR, 15);    while true do nop; end. <\/code>   <\/div>\n<\/div>\n<p>  \u0421\u0442\u043e\u043f! \u0421\u0435\u0439\u0447\u0430\u0441 \u0443 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043d\u0430\u0440\u043e\u0434\u0430, \u0438\u043c\u0435\u044e\u0449\u0435\u0433\u043e \u043e\u043f\u044b\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u043c\u0438, \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441: \u0430 \u0433\u0434\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0440\u0442\u0430?!<\/p>\n<p>  \u041e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e: <i>\u043f\u0440\u0438 \u0438\u043d\u0438\u0430\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0432\u0446\u0438\u0438 \u043f\u043e\u0440\u0442\u0430 \u043d\u0430 \u0432\u0432\u043e\u0434 \u0438\u043b\u0438 \u0432\u044b\u0432\u043e\u0434 \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438.<\/i> \u041d\u0435 \u0432\u0435\u0440\u0438\u0442\u0435 \u2014 \u0438\u0434\u0435\u043c View-&gt;Statistics-&gt;Functions Tree (\u043c\u043e\u044f \u043b\u044e\u0431\u0438\u043c\u0430\u044f!).<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/2bc\/78e\/50a\/2bc78e50a06a4201a2cd7fffa844003f.png\"\/><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u0434\u0435\u043b\u0430\u0435\u0442 \u201c\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u043c\u201d \u2014 \u0438\u0434\u0435\u043c \u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u043c. \u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0433\u043e\u0440\u044f\u0449\u0438\u0439 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043f\u0440\u0438\u044f\u0442\u043d\u043e. \u041d\u043e \u0441\u043a\u0443\u0447\u043d\u043e. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043c \u0435\u0433\u043e \u043f\u043e\u043c\u0438\u0433\u0430\u0442\u044c  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\"><code> program MyProject1;  begin   \/\/ \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0438\u043d\u044b \u043d\u0430 \u0432\u044b\u0445\u043e\u0434 \u0438 \u0432\u0445\u043e\u0434   GPIO_Digital_Output(@GPIOD_BASE, _GPIO_PINMASK_12 or _GPIO_PINMASK_13 or _GPIO_PINMASK_14 or _GPIO_PINMASK_15);    while true do begin       if TestBit(GPIOD_ODR, 12) then ClearBit(GPIOD_ODR, 12) else SetBit(GPIOD_ODR, 12);       Delay_1sec;   end; end. <\/code>  <\/div>\n<\/div>\n<p>  \u041d\u0430 \u043f\u043b\u0430\u0442\u0435 \u0435\u0441\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0430. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0438 \u0435\u0451 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0432 \u0440\u0430\u0431\u043e\u0442\u0443. \u041f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u044b \u0437\u0430\u0433\u043e\u0440\u0430\u044e\u0442\u0441\u044f. \u0410 \u043f\u0440\u0438 \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u043d\u0438\u0438 \u2014 \u0433\u0430\u0441\u043d\u0443\u0442 (\u043f\u0440\u0430\u0432\u0434\u0430 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e! \u2014 \u0448\u0443\u0442\u043a\u0430). \u041a\u043d\u043e\u043f\u043a\u0430 \u0443 \u043d\u0430\u0441 \u043d\u0430 A0. \u0414\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e Button. \u041e\u043d\u0430 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u0440\u0435\u0431\u0435\u0437\u0433 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u0432 \u0438 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043b\u043e\u0433\u0438\u043a\u0443 \u043a\u043d\u043e\u043f\u043a\u0438 ( \u041d\u0417 \u0438\u043b\u0438 \u041d\u041e). \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0431\u0438\u0442\u0430 \u043f\u043e\u0440\u0442\u0430 \u00ab\u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e\u00bb, \u043d\u043e \u0442\u0430\u043a \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u0435\u0435. <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\"><code> program MyProject1;  begin   \/\/ \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0438\u043d\u044b \u043d\u0430 \u0432\u044b\u0445\u043e\u0434 \u0438 \u0432\u0445\u043e\u0434   GPIO_Digital_Output(@GPIOD_BASE, _GPIO_PINMASK_12 or _GPIO_PINMASK_13 or _GPIO_PINMASK_14 or _GPIO_PINMASK_15);   GPIO_Digital_Input(@GPIOA_BASE, _GPIO_PINMASK_0);   while true do     if Button(GPIOA_IDR, 0, 10, 1) then  begin       \/\/ \u0437\u0430\u0436\u0438\u0433\u0430\u0435\u043c       SetBit(GPIOD_ODR, 12);       SetBit(GPIOD_ODR, 13);       SetBit(GPIOD_ODR, 14);       SetBit(GPIOD_ODR, 15);     end else begin       \/\/ \u0433\u0430\u0441\u0438\u043c       ClearBit(GPIOD_ODR, 12);       ClearBit(GPIOD_ODR, 13);       ClearBit(GPIOD_ODR, 14);       ClearBit(GPIOD_ODR, 15);     end; end. <\/code>  <\/div>\n<\/div>\n<p>  \u041f\u0440\u044f\u043c\u043e\u0439 \u043e\u043f\u0440\u043e\u0441 \u043a\u043d\u043e\u043f\u043a\u0438 \u0432 \u0446\u0438\u043a\u043b\u0435? \u041d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443. \u0427\u0430\u0441\u0442\u043e \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b \u0437\u0430\u043d\u044f\u0442 \u0431\u043e\u043b\u0435\u0435 \u0432\u0430\u0436\u043d\u044b\u043c\u0438 \u0434\u0435\u043b\u0430\u043c\u0438, \u0447\u0435\u043c \u043e\u043f\u0440\u043e\u0441 \u043a\u043d\u043e\u043f\u043e\u043a. \u0418 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u201c\u0443\u043f\u0443\u0441\u0442\u0438\u0442\u044c\u201d \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u0436\u0430\u0442\u0438\u044f. \u041f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0435\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435, \u0433\u0434\u0435 \u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0435.   <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\"><code> program MyProject1;  procedure INT_EXTI0(); iv IVT_INT_EXTI0; ics ICS_AUTO; begin   EXTI_PR:=$FFFF;   \/\/ clear flag   if TestBit(GPIOD_ODR, 12) then ClearBit(GPIOD_ODR, 12) else SetBit(GPIOD_ODR, 12); end;  begin   \/\/ \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0432\u044b\u0432\u043e\u0434\u044b   GPIO_Digital_Output(@GPIOD_BASE, _GPIO_PINMASK_12);   GPIO_Digital_Input(@GPIOA_BASE, _GPIO_PINMASK_0);    EXTI_IMR := %1; \u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435 \u043e\u0442 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430   EXTI_FTSR :=$FFFF; \u041f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0443 0      NVIC_IntEnable(IVT_INT_EXTI0);    \/\/ Enable External interrupt   EnableInterrupts();    while true do ; end. <\/code>  <\/div>\n<\/div>\n<p>  \u0427\u0442\u043e \u0443 \u043d\u0430\u0441 \u043f\u0440\u043e\u0441\u0442\u0430\u0438\u0432\u0430\u0435\u0442 \u0432 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u0435? \u0422\u0430\u0439\u043c\u0435\u0440? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0441 \u0440\u0435\u0436\u0438\u043c\u043e\u043c \u0428\u0418\u041c \u043f\u043e\u0438\u0433\u0440\u0430\u0435\u043c\u0441\u044f. \u0427\u0442\u043e \u0442\u0430\u043c \u043f\u043e \u0432\u044b\u0432\u043e\u0434\u0430\u043c? 4-\u0439 \u0442\u0430\u0439\u043c\u0435\u0440 \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0432\u044b\u0432\u043e\u0434, \u0447\u0442\u043e \u043f\u043e\u0434\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d \u043a \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0443. \u0422\u0430\u043a \u0447\u0442\u043e \u043c\u044b \u0436\u0434\u0435\u043c?  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\"><code> program MyProject1; var   ratio, tmp: word; begin   ratio := PWM_TIM4_Init(25000);   tmp:=0;   PWM_TIM4_Set_Duty(0, _PWM_NON_INVERTED, _PWM_CHANNEL1);   PWM_TIM4_Start(_PWM_CHANNEL1, @_GPIO_MODULE_TIM4_CH1_PD12);    while true do begin     PWM_TIM4_Set_Duty(ratio-tmp, _PWM_INVERTED, _PWM_CHANNEL1);     Inc(tmp);     if tmp&gt;ratio then tmp:=0;     Delay_1ms;   end; end. <\/code>  <\/div>\n<\/div>\n<p>  \u0422\u0430\u0439\u043c\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0428\u0418\u041c. \u0420\u0443\u043a\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0435\u0448\u0443\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u0439\u043c\u0435\u0440 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043c\u0438\u0433\u0430\u0435\u043c \u0442\u0430\u0439\u043c\u0435\u0440\u043e\u043c. \u0422\u0430\u0439\u043c\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u0440\u0433\u0430\u0442\u044c \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435, \u0430 \u0441\u0430\u043c \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435 \u2014 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c. <\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u043b\u0433\u043e \u0438 \u0443\u043f\u043e\u0440\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044b \u0442\u0430\u0439\u043c\u0435\u0440\u0430. \u0410 \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u2014 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u201cTimer Calculator\u201d \u0441 \u0441\u0430\u0439\u0442\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f.<\/p>\n<p>  \u0412\u0431\u0438\u0432\u0430\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043a\u043e\u0434 \u0442\u0430\u0439\u043c\u0435\u0440\u0430. \u041a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/af7\/630\/248\/af763024826a4e0b9ae6d101aee95c05.png\"\/> <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\"><code> program ETXI;  procedure Timer2_interrupt(); iv IVT_INT_TIM2; begin   TIM2_SR.UIF := 0;   if TestBit(GPIOD_ODR, 12) then ClearBit(GPIOD_ODR, 12) else SetBit(GPIOD_ODR, 12); end;  procedure InitTimer2(); begin   RCC_APB1ENR.TIM2EN := 1;   TIM2_CR1.CEN := 0;   TIM2_PSC := 2239;   TIM2_ARR := 62499;   NVIC_IntEnable(IVT_INT_TIM2);   TIM2_DIER.UIE := 1;   TIM2_CR1.CEN := 1; end;  begin   \/\/ \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0438\u043d\u044b \u043d\u0430 \u0432\u044b\u0445\u043e\u0434   GPIO_Digital_Output(@GPIOD_BASE, _GPIO_PINMASK_12); \/\/ Enable digital output on PORTD   \/\/ \/\/Timer2 Prescaler :2239; Preload = 62499; Actual Interrupt Time = 1   InitTimer2();    while(TRUE) do nop;                   \/\/ Infinite loop  end. <\/code>  <\/div>\n<\/div>\n<p>  UART? \u0422\u043e\u0436\u0435 \u043b\u0435\u0433\u043a\u043e. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043d\u0438\u043a UART-USB. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0435\u043a\u0443\u043d\u0434\u0443.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\"><code> program MyProject1; var    uart_tx : string[20];   tmp: integer;   tmp1:real;    begin   UART2_Init(9600); \/\/ \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c UART \u043d\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 9600 bps   ADC1_Init();   Delay_ms(100);                           \/\/ \u041e\u0436\u0438\u0434\u0430\u0435\u043c \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 UART    TSVREFE_bit:=1;   UART2_Write_Text('Hello!');   UART2_Write(13);   UART2_Write(10);    while (TRUE) do     begin       tmp:= ADC1_Read(16);   \/\/ \u0427\u0438\u0442\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b       tmp1:=(3300*tmp)\/4095;  \/\/ \u041f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c mV. \u0418\u0437 \u0440\u0430\u0441\u0447\u0435\u0442\u0430: 3.3 V = 4096 \u00e4\u00e8\u00f1\u00ea\u00f0\u00e5\u00f2       tmp1:= ((tmp1-760)\/2.5)+25;  \/\/ \u0421\u0447\u0438\u0442\u0430\u0435\u043c \u0432 \u0433\u0440\u0430\u0434\u0443\u0441\u0430\u0445. V25=0.76V S=2.5mV\/C       FloatToStr(tmp1, uart_tx);       uart_tx:='T: '+uart_tx+ ' C';       UART2_Write_Text(uart_tx);       UART2_Write(13); UART2_Write(10);       Delay_ms(1000);     end;  end. <\/code>  <\/div>\n<\/div>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u2026 \u0422\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u043a\u043e\u0440\u043f\u0443\u0441\u0430 -27\u0421. \u042d\u0442\u043e \u043f\u0440\u0438 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 \u043a\u043e\u043c\u043d\u0430\u0442\u0435 23\u0421. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0433\u043e. \u0421\u0430\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u0434\u0430\u0442\u0447\u0438\u043a \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0445 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440, \u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f \u0440\u043e\u0441\u0442\u0430\/\u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b. \u0412\u044b\u0445\u043e\u0434\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0441\u0434\u0432\u0438\u043d\u0443\u0442\u043e \u043e\u0442 \u0447\u0438\u043f\u0430 \u043a \u0447\u0438\u043f\u0443, \u0438 \u0441\u0434\u0432\u0438\u0433 \u043c\u043e\u0436\u0435\u0442 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0442\u044c 45 \u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432.<\/p>\n<p>  \u0421\u0442\u043e\u043f! \u041c\u044b \u0437\u0430\u0431\u044b\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e GPIO? \u0410 \u0442\u0443\u0442 \u0435\u0449\u0435 \u043e\u0434\u043d\u0430 \u201c\u0444\u0438\u0440\u043c\u0435\u043d\u043d\u0430\u044f\u201d \u0444\u0438\u0448\u043a\u0430: <i>\u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u043e\u0434\u0443\u043b\u044f, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0433\u043e \u201c\u043d\u0430 \u0432\u044b\u0432\u043e\u0434\u044b\u201d, \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0432\u044b\u0432\u043e\u0434\u043e\u0432 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438.<\/i> \u0421\u043e\u043c\u043d\u0435\u043d\u0438\u044f? \u0418\u0434\u0435\u043c View-&gt;Statistics-&gt;Functions Tree (\u043c\u043e\u044f \u043b\u044e\u0431\u0438\u043c\u0430\u044f!).<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/add\/06c\/a44\/add06ca44e624d4ab7921e3d1e13d40c.png\"\/><\/p>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c \u0432\u044b\u0432\u043e\u0434\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0438 \u0434\u043b\u044f \u043d\u0438\u0445 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. <\/p>\n<p>  \u0418 \u043d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a \u2014 \u0434\u043e\u0431\u0435\u0440\u0435\u043c\u0441\u044f \u0434\u043e USB. \u0421\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435. \u0421\u0434\u0435\u043b\u0430\u0435\u043c HID \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0440\u0438\u043d\u044f\u0442\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\"><code> program HID_Read_Write_Polling;  var cnt, kk : byte;  var readbuff : array[64] of byte; var writebuff : array[64] of byte;  begin   HID_Enable(@readbuff,@writebuff);   while TRUE do     begin       USB_Polling_Proc();               \/\/ Call this routine periodically       kk := HID_Read();       if (kk &lt;&gt; 0) then       begin         for cnt:=0 to 63 do           writebuff[cnt]:=readbuff[cnt];         HID_Write(@writebuff,64);       end ;     end; end. <\/code>  <\/div>\n<\/div>\n<p>  \u0418\u043b\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c Interrupt:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\"><code> program HID_Read_Write;  var cnt : byte;  var readbuff : array[64] of byte; var writebuff : array[64] of byte;  procedure USB1Interrupt(); iv IVT_INT_OTG_FS; begin    USB_Interrupt_Proc(); end;  begin   HID_Enable(@readbuff,@writebuff);   while TRUE do     begin       while(HID_Read() = 0) do         ;       for cnt:=0 to 63 do         writebuff[cnt] := readbuff[cnt];       while(HID_Write(@writebuff,64) = 0) do         ;     end; end. <\/code>  <\/div>\n<\/div>\n<p>  \u0414\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b (\u0438 \u043b\u044e\u0431\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 USB) \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b USBdsc.mpas. \u0412 \u043d\u0435\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b USB \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u0421\u0440\u0430\u0437\u0443 \u0441\u043a\u0430\u0436\u0443, \u0441 \u043c\u0435\u043d\u044e \u201cTools\u201d \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u201cHID Terminel\u201d. \u042d\u0442\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u044b\u0439 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0410 \u0435\u0441\u043b\u0438 \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u2014 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0448\u0438\u043d\u044b USB. \u0418 \u043f\u0440\u0430\u0432\u0438\u043c \u0444\u0430\u0439\u043b. \u0411\u043b\u0430\u0433\u043e \u043e\u043d \u0449\u0435\u0434\u0440\u043e \u0441\u043d\u0430\u0431\u0436\u0435\u043d \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/1fa\/57c\/f0e\/1fa57cf0e91d46059507486b6623d8cc.png\"\/><\/p>\n<p>  \u041f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u044d\u0442\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/a5b\/641\/2b6\/a5b6412b6a314be0b094fb3ebff76189.png\"\/><\/p>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u043a\u0443\u0447\u0430 \u0432\u043e\u0440\u0447\u0430\u043d\u0438\u044f \u043d\u0430\u0441\u0447\u0435\u0442 \u201c\u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438\u201d \u043a\u043e\u0434\u0430. \u041d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u2014 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u201c\u0442\u044f\u0436\u0435\u043b\u044b\u0439\u201d \u043f\u0440\u0438\u043c\u0435\u0440 \u0441 USB HID \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 1.7 % \u0444\u043b\u0435\u0448\u0430 \u0438 1.2% \u043e\u043f\u0440\u0435\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/314\/7b0\/23d\/3147b023d7234096b07f39919b967bcb.png\"\/> <\/p>\n<p>  \u0418 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435.<\/p>\n<p>  \u0412\u0441\u044f \u044d\u0442\u0430 \u201c\u0432\u043e\u043b\u0448\u0435\u0431\u043d\u0430\u044f\u201d \u043c\u0430\u0448\u0438\u043d\u0435\u0440\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u201c\u0447\u0443\u0434\u0438\u0442\u044c\u201d, \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u201c\u043f\u0440\u043e\u043f\u0430\u0434\u0430\u0442\u044c\u201d \u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 USB \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u201c\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u201d \u2014 \u043e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u0435\u0449\u0435 \u0440\u0430\u0437 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/85b\/9ec\/a9d\/85b9eca9d2d04404989459dfbad5e412.png\"\/><\/p>\n<p>  \u0412\u0441\u0435 \u044d\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0437\u043d\u0430\u043d\u0438\u0435 \u0421\u0438 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c \u0434\u043b\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430. \u0410 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043d\u0438\u0436\u0430\u044e\u0442 \u043f\u043e\u0440\u043e\u0433 \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043d\u0435\u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043b\u044e\u0434\u0435\u0439. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043a\u043e\u0434 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0439 \u0438 \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u0439. <\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0440\u0435\u0434\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2014 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439.<\/p>\n<p>  P.S.: \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u044f \u0437\u043d\u0430\u044e \u0421\u0438 (\u0421++). \u0421\u0432\u043e\u0431\u043e\u0434\u043d\u043e \u0447\u0438\u0442\u0430\u044e \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u043a\u043e\u0434. \u041d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u201c\u043d\u0435\u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u044b\u043c\u201d. \u041c\u043e\u0437\u0433\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u043c \u0432\u044b\u0434\u0430\u044e\u0442 \u0432\u044b\u0445\u043e\u0434 \u0432 \u043f\u0430\u0441\u043a\u0430\u043b\u0435\u043f\u043e\u0434\u043e\u0431\u043d\u043e\u043c \u043a\u043e\u0434\u0435.             <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/264441\/\"> http:\/\/habrahabr.ru\/post\/264441\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>             \u041e\u0434\u043d\u0430\u0436\u0434\u044b, \u0432\u0434\u0440\u0443\u0433 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u0438 \u0431\u0435\u0437 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u043e\u0439\u043d\u044b, \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0438\u0434\u0435\u044f. \u0418 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b STM32.<\/p>\n<p>  \u0410 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u0447\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c? stm32vldiscovery \u043b\u0435\u0436\u0430\u043b\u0430 \u043d\u0430 \u043f\u043e\u043b\u043a\u0435 \u0438 \u0434\u043e\u0436\u0438\u0434\u0430\u043b\u0430\u0441\u044c \u0441\u0432\u043e\u0435\u0433\u043e \u0447\u0430\u0441\u0430, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0437\u043d\u0430\u044e \u0438 \u0447\u0430\u0441\u0442\u0435\u043d\u044c\u043a\u043e \u043f\u0438\u0448\u0443 \u201c\u043d\u0430 \u0437\u0430\u043a\u0430\u0437\u201d. \u0421 \u0436\u0435\u043b\u0435\u0437\u043e\u043c \u0434\u0440\u0443\u0436\u0443 \u0445\u043e\u0440\u043e\u0448\u043e. <\/p>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0432\u043e\u0437\u043d\u0438\u043a \u0432\u043e\u043f\u0440\u043e\u0441 \u201c\u043d\u0430 \u0447\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c\u201d? \u0421\u0440\u0435\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u044f\u0437\u044b\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u201c\u0421\u0438\u201d. \u0411\u0435\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432. \u0410\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440 \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435. \u0421\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c \u043f\u043e\u043c\u0438\u0433\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0445 \u0442\u0440\u0443\u0434\u043e\u0437\u0430\u0442\u0440\u0430\u0442. <\/p>\n<p>  \u041d\u043e \u044f \u043d\u0435 \u0437\u043d\u0430\u044e \u0421\u0438! \u0412\u043e\u043e\u0431\u0449\u0435. \u0412\u0441\u044e \u0436\u0438\u0437\u043d\u044c \u043f\u0438\u0441\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 Pascal\/Delphi. \u0423\u0447\u0438\u0442\u044c \u044f\u0437\u044b\u043a? \u0412\u044b \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 \u0443\u0447\u0438\u0442\u044c \u044f\u0437\u044b\u043a \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u0431\u043e\u043b\u0435\u0435 40 \u043b\u0435\u0442 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430? \u041a\u043e\u0433\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430, \u0441\u0435\u043c\u044c\u044f \u0438 \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041a\u043e\u0433\u0434\u0430 \u0443\u043c \u0443\u0436\u0435 \u043d\u0435 \u0442\u0430\u043a \u043e\u0441\u0442\u0440, \u043a\u0430\u043a \u0432 \u043c\u043e\u043b\u043e\u0434\u043e\u0441\u0442\u0438. \u0414\u0430 \u0438 \u0437\u0430\u0442\u0435\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u044d\u0442\u043e \u0440\u0430\u0434\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u0441\u043c\u044b\u0441\u043b\u0430 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435, \u0447\u0435\u043c \u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0440\u0430\u0432\u0430 \u0438 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u044c \u043c\u0430\u0448\u0438\u043d\u0443 \u0440\u0430\u0434\u0438 \u043f\u043e\u0435\u0437\u0434\u043a\u0438 \u0432 \u0431\u0443\u043b\u043e\u0447\u043d\u0443\u044e \u0432 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u043c \u0434\u043e\u043c\u0435.<\/p>\n<p>  \u0412\u044b\u0445\u043e\u0434\u043e\u043c \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u043b \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u201cmikroPascal PRO for ARM\u201d \u043e\u0442 MikroElektronika. \u0415\u0441\u043b\u0438 \u0447\u0435\u0441\u0442\u043d\u043e, \u044f \u0443\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 \u201cmikroPascal PRO for PIC\u201d \u043d\u0430 \u043f\u0438\u043a\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u0438 PIC \u0447\u0438\u043f\u043e\u0432. \u0412\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u044f \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0438\u0435. \u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u201c\u0441\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u044f\u043c\u0438\u201d, \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430 \u0442\u043e\u0436\u0435 \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0430\u0441\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e \u0438 \u0434\u0440\u0443\u0436\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c. <\/p>\n<p>  \u0422\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0447\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c \u0437\u0430 \u044d\u0442\u0438 \u0433\u043e\u0434\u044b \u0438 \u0432 \u043a\u0430\u043a\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443. <\/p>\n<p>  \u0418 \u0442\u0430\u043a, \u0447\u0442\u043e \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u043d\u0430 \u0440\u0443\u043a\u0430\u0445:  <\/p>\n<ul>\n<li>\u041f\u043b\u0430\u0442\u0443 stm32f4discovery;<\/li>\n<li>mikroPascal PRO for ARM \u0441 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u043e\u043c \u043a\u043b\u044e\u0447\u0435\u043c (\u0432\u0437\u044f\u0442\u043e \u0443 \u0442\u043e\u0432\u0430\u0440\u0438\u0449\u0430. \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0432\u0435\u0440\u043d\u0443\u0442\u044c). \u0411\u0435\u0437 \u043a\u043b\u044e\u0447\u0430 \u2014 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0432 2 \u041a\u0412 \u043d\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u0434\u0430;<\/li>\n<li>\u0418\u043d\u0436\u0435\u043d\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432 \u0412\u0423\u0417\u0435 \u0443\u0447\u0438\u043b\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e Pascal.<\/li>\n<\/ul>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430: \u043e\u0441\u0432\u043e\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0421\u0438 \u043a\u043e\u0434\u0430.<\/p>\n<p>  \u0418\u0442\u0430\u043a \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c\u2026  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-263218","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/263218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=263218"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/263218\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=263218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=263218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}