Monday, 16 June 2014

Basics for embedded systems

Basics for embedded systems:

C program:

Structure of C program:
  • include files
  • global variables and function declaration
  • main function
  • function and program.
Including files are including the preprocessed files like;eg:#include<stdio.h>,#include<conio.h>.
Global variables are those variables declared globally in the sense before a main function.After the main fuction the program consists of sub programs.

There are keywords used for performing specific operation.
eg:auto,break,case,double,int,char,const,signed,unsigned,void,etc;..

Data types:
  1. Primary/primitive data types:
  • Integer
  • char
  • float
  • void
   2.   Derived data types:
  • Array
  • pointer
   3.   User defined data types:
  • structure
  • union
  • enum
  • type def
Variable:
type            size
char           1byte
int              2bytes
float           4bytes
double        8bytes

There are also modifiers,compilers,constants,operators,relational operators,statements,break statements,switch and case statements any many more.


Sunday, 15 June 2014

THE EMBEDDED SYSTEM

               The embedded system is a combination of hardware and software.It is a computer system with deducated functions.The embedded system controls many devices in common use of day to day.
The embedded systems are most often based on microcontrollers.Also the ordinary microprocessors are still common,specially in complex systems.
                Embedded systems are designed to do certain specific task,rather than being a general purpose computer for multiple tasks.Many embedded systems consist of small, computerized parts within a larger device that serves a more general purpose.



  Block diagram of a typical embedded system showing different software and hardware components.



The various applicatons of embedded systems.