<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Реализация конечного автомата (state machine)</title>
		<description>Discuss Реализация конечного автомата (state machine)</description>
		<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html</link>
		<lastBuildDate>Thu, 09 Apr 2026 06:52:46 +0000</lastBuildDate>
		<generator>JComments</generator>
		<atom:link href="https://chipenable.ru/index.php/component/jcomments/feed/com_k2/90.html" rel="self" type="application/rss+xml" />
		<item>
			<title>alboo says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1576</link>
			<description><![CDATA[ Огромное спасибо за статью! Кстати, для согласования констант enum с массивом указателей на функции, по моему мнению, удобно использовать препроцессор, например, так:
#define FunctionItem(id ,fun) id
typedef enum {
#include "fi.h"
} State_Type;
#un def FunctionItem
#d efine FunctionItem(id ,fun) fun
void (*state_table[] )() = {
#include "fi.h"
}; Где файл fi.h такой:
Function Item(GEAR_DOWN = 0, GearDown),
Func tionItem(WTG_FO R_TKOFF, WtgForTakeoff), 
FunctionItem(R AISING_GEAR, RaisingGear),
F unctionItem(GEA R_UP, GearUp),
Functi onItem(LOWERING _GEAR, LoweringGear) Обратите внимание на отсутствие запятой в последней строке]]></description>
			<dc:creator>alboo</dc:creator>
			<pubDate>Thu, 07 Jul 2011 13:50:04 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1576</guid>
		</item>
		<item>
			<title>JoJo says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1428</link>
			<description><![CDATA[Там комментарий над строкой. Это массив указателей на функции]]></description>
			<dc:creator>JoJo</dc:creator>
			<pubDate>Tue, 05 Apr 2011 18:25:24 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1428</guid>
		</item>
		<item>
			<title>mih says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1427</link>
			<description><![CDATA[Что означает строка: void (*state_table[] )() = {GearDown, WtgForTakeoff, RaisingGear, GearUp, LoweringGear};?]]></description>
			<dc:creator>mih</dc:creator>
			<pubDate>Tue, 05 Apr 2011 16:42:38 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1427</guid>
		</item>
		<item>
			<title>AleGro says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1407</link>
			<description><![CDATA[ Вот это уж точно!]]></description>
			<dc:creator>AleGro</dc:creator>
			<pubDate>Sat, 26 Mar 2011 19:46:14 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1407</guid>
		</item>
		<item>
			<title>TERMIN says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1401</link>
			<description><![CDATA[ паш, все нормально, лучше завести тему на форуме, и там при необходимости привести пример попроще/посложн ей Спасибо за статью]]></description>
			<dc:creator>TERMIN</dc:creator>
			<pubDate>Fri, 25 Mar 2011 10:26:03 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1401</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1398</link>
			<description><![CDATA[Можно открыть картинки в отдельном окне. Если не забуду, сделаю их кликабельными.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Thu, 24 Mar 2011 11:11:24 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1398</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1397</link>
			<description><![CDATA[Меня забавляют подобные комментарии. Как правило они бывают двух типов: - автор слишком наворотил, дайте пример попроще. - пример слишком тупой, дайте посложнее. Как гласит народная мудрость: "Будешь пытаться угодить всем, не угодишь никому"]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Thu, 24 Mar 2011 11:08:29 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1397</guid>
		</item>
		<item>
			<title>Агро says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1396</link>
			<description><![CDATA[Хорошо бы не такой тупой пример, а хотя бы двухзадачную систему РВ (измерение-связ ь) с применением прерываний. И еще, а как сделать чтобы убрать субъективный фактор при перечислении членов typedef и имен функций в массиве указателей, ведь это должно быть строго синхронизирован о, а если их 100 штук и добавлялись в разное время хаотически то можно нечайно нарушить порядок их следования. Каждый раз проверять что ли?]]></description>
			<dc:creator>Агро</dc:creator>
			<pubDate>Thu, 24 Mar 2011 08:39:45 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1396</guid>
		</item>
		<item>
			<title>h0rr0rr_drag0n says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1395</link>
			<description><![CDATA[Рисунок №3 и таблица №1 не влезли до конца в статью - они обрезаны справа :sad:]]></description>
			<dc:creator>h0rr0rr_drag0n</dc:creator>
			<pubDate>Thu, 24 Mar 2011 07:26:29 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1395</guid>
		</item>
		<item>
			<title>noonv says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1394</link>
			<description><![CDATA[Спасибо! Отличная статья!]]></description>
			<dc:creator>noonv</dc:creator>
			<pubDate>Thu, 24 Mar 2011 06:58:37 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1394</guid>
		</item>
		<item>
			<title>bomond says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1393</link>
			<description><![CDATA[С удовольствием бы прочел на этом ресурсе о IAR Visual State...Он как раз для этого. Спасибо за статью! Как всегда интересно.]]></description>
			<dc:creator>bomond</dc:creator>
			<pubDate>Thu, 24 Mar 2011 05:27:24 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/item/90-realizatsiya-konechnogo-avtomata-state-machine.html#comment-1393</guid>
		</item>
	</channel>
</rss>
