about FSM (finite state machine)

Q

qiooeer

I want to know more about FSM,would you help me ?
where is more details about this?



Thanks
 
K

karthikbalaguru

I want to know more about FSM,would you help me ?
where is more details about this?

State Machines are very useful and more
common in protocols and embedded.

If you dive deep into understanding
more about this, you will find many types
of state-machines with different advantages
and disadvantages.

But, in simple terms -
A State machine is a collection of steps
/states selected for the desired execution based on
the value in a state variable (This state variable
is the heart of the State Machine and in C
it forms the argument for the switch-case
statemetn).

It involves the following steps :
1)Create a state variable.
2)Define a series of states.
3)Decode the state variable to access
the states.
4)Try actions to the states.
5)Defining the sequence of the states,
and any conditions that change the
sequence.

It can be implemented using a simple
switch-case statement.

Lot of information are available in internet.

Karthik Balaguru
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top