{"id":455,"date":"2023-06-28T12:54:25","date_gmt":"2023-06-28T12:54:25","guid":{"rendered":"http:\/\/localhost\/embeddedwala\/?p=455"},"modified":"2023-07-27T04:10:24","modified_gmt":"2023-07-27T04:10:24","slug":"what-is-embedded-c","status":"publish","type":"post","link":"https:\/\/embeddedwala.com\/beta\/embeddedsystems\/what-is-embedded-c\/","title":{"rendered":"What is Embedded C"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"455\" class=\"elementor elementor-455\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t\t\t\t<section data-particle_enable=\"false\" data-particle-mobile-disabled=\"false\" class=\"elementor-section elementor-top-section elementor-element elementor-element-99c65ee elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"99c65ee\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-19b6929\" data-id=\"19b6929\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<section data-particle_enable=\"false\" data-particle-mobile-disabled=\"false\" class=\"elementor-section elementor-inner-section elementor-element elementor-element-20d95b5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"20d95b5\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-9622f35\" data-id=\"9622f35\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-569bcfa elementor-widget elementor-widget-text-editor\" data-id=\"569bcfa\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>Embedded C<\/strong>\u00a0is an extension of C Language. It inherits all the fundamentals of C. Only Difference between\u00a0<strong>Embedded C<\/strong>\u00a0and\u00a0<strong>C<\/strong>\u00a0lies in their Application.<\/p><p><strong>Embedded C<\/strong>\u00a0is used for Programming Processors with constrained resources. e.g.\u00a0<strong>Less Processing Power, RAM, ROM and IOs<\/strong>. Embedded C is targeted for code speed and size as the devices targeted are limited with resources and for a dedicated purpose.Whereas, C language is typically used for Desktop OS applications like windows device drivers etc. Where resources are not constrained.<\/p><p><strong>C language is statically-typed<\/strong>, which means a type of the variable is known at the compile time.\u00a0<strong>C is also a procedural programming language.<\/strong>\u00a0This means everything in C is a function. C programs always have a main() function that is the entry point of the program. After execution program also exits from the\u00a0<strong>main()<\/strong>.<\/p><p><strong>Why C is used for constrained devices?<\/strong><\/p><div><table border=\"4\" cellspacing=\"0\" cellpadding=\"0\"><thead><tr><td><ul><li>C footprint is small thus the program can be easily optimized for code and speed.<\/li><\/ul><\/td><\/tr><tr><td><ul><li>C supports the memory level access, used for Input\/Output pin states, data transfer to I2C etc.<\/li><\/ul><\/td><\/tr><tr><td><ul><li>C is processor independent, the compiler converts the C into Machine code. So easy to use and simple to learn.<\/li><\/ul><\/td><\/tr><tr><td><ul><li>C is efficient as it is a low-level language.<\/li><\/ul><\/td><\/tr><\/thead><\/table><\/div><p><strong>Below are the basics of Embedded C, Further Details can be accessed from the tabs on the left.<\/strong><\/p><ol><li><a href=\"https:\/\/embeddedwala.com\/EmbeddedSystems\/Embedded-C\/embedded-c-basics\/data-types\"><strong>Data types<\/strong><\/a><\/li><li><a href=\"https:\/\/embeddedwala.com\/EmbeddedSystems\/embedded-c\/embedded-c-basics\/operators-in-c\"><strong>Operators<\/strong><\/a><\/li><li><strong>Structures<\/strong><\/li><li><strong>Enum<\/strong><\/li><li><strong>Functions<\/strong><\/li><li><strong>Pointers.<\/strong><\/li><\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Embedded C&nbsp;is an extension of C Language. It inherits all the fundamentals of C. Only&#8230;<\/p>\n","protected":false},"author":1,"featured_media":456,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[117,116,118],"class_list":["post-455","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-embeddedsystems","tag-embadded-c","tag-embbeded-system","tag-programming"],"acf":[],"views":473,"featured_image_urls":{"full":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",520,350,false],"thumbnail":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",150,101,false],"medium":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",300,202,false],"medium_large":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",520,350,false],"large":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",520,350,false],"1536x1536":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",520,350,false],"2048x2048":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",520,350,false],"tp-image-grid":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",520,350,false],"covernews-slider-full":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",520,350,false],"covernews-slider-center":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",520,350,false],"covernews-featured":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",520,350,false],"covernews-medium":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",505,340,false],"covernews-medium-square":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",371,250,false],"_nx_notification_thumb":["https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/Embedded-C-banner-image.png",100,67,false]},"author_info":{"display_name":"embeddedwala","author_link":"https:\/\/embeddedwala.com\/beta\/author\/embeddedwala\/"},"category_info":"<a href=\"https:\/\/embeddedwala.com\/beta\/category\/embeddedsystems\/\" rel=\"category tag\">EmbeddedSystem<\/a>","tag_info":"EmbeddedSystem","comment_count":"0","_links":{"self":[{"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/posts\/455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/comments?post=455"}],"version-history":[{"count":5,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/posts\/455\/revisions"}],"predecessor-version":[{"id":6190,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/posts\/455\/revisions\/6190"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/media\/456"}],"wp:attachment":[{"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/media?parent=455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/categories?post=455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/tags?post=455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}