what is the difference between c and embedded c?

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
nihal
 
Posts: 7
Joined: Tue Sep 01, 2009 9:27 am

what is the difference between c and embedded c?

Post by nihal »

what is the difference between c and embedded c? Please somebody explain it, I am average in C wanted to use to program an AVR....but little bit doubt about embedded C....please explain me
Thank you!

mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am

Re: what is the difference between c and embedded c?

Post by mtbf0 »

pretty much the same language. different support libraries. with embedded c you'll spend time directly addressing your hardware.

with many microcontrollers you're dealing with a harvard (separate data and program memory) rather than a von neuman architecture.

User avatar
westfw
 
Posts: 2008
Joined: Fri Apr 27, 2007 1:01 pm

Re: what is the difference between c and embedded c?

Post by westfw »

A lot of "C programming" is learning about the standard libraries for interacting with the host operating system.
A lot of "Embedded C programming" is learning about how to do stuff WITHOUT a "host operating system", and dealing directly with hardware instead...

(except that sometimes 'embedded' systems still have the same host OS that you were using on your desktop. (but not if you're talking about an AVR!))

nihal
 
Posts: 7
Joined: Tue Sep 01, 2009 9:27 am

Re: what is the difference between c and embedded c?

Post by nihal »

Thanks guy's ....it really helped me...thx!

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”