{"id":91,"date":"2007-10-18T18:05:19","date_gmt":"2007-10-18T16:05:19","guid":{"rendered":"http:\/\/www.final-memory.org\/?p=91"},"modified":"2007-10-18T18:05:19","modified_gmt":"2007-10-18T16:05:19","slug":"small-sdcc-projects-and-sources","status":"publish","type":"post","link":"https:\/\/www.final-memory.org\/?p=91","title":{"rendered":"small SDCC projects and sources"},"content":{"rendered":"<p>This page contains some simple projects and programs for use with the <a href=\"http:\/\/sdcc.sourceforge.net\/\" target=\"_blank\">SDCC compiler<\/a> and a 8051 compatible mcu.<\/p>\n<p><span style=\"font-weight: bold\">register definition for Atmel T89C51CC02<\/span><br \/>\nThis register definition include file is for use with the SDCC compiler. It is based upon the faulty one supplied by Atmel.<br \/>\n<a href=\"files\/t89c51cc02.h\">Download<\/a> (7k)<\/p>\n<p><span style=\"font-weight: bold\">A\/D convertor access for Atmel T89C51CC02<\/span><br \/>\nThis sample C file for the SDCC compiler supplies a simple routine to measure voltages with the builtin analog-digital convertor of the Atmel T89C51CC02.<br \/>\nThe routine works with simple polling.<br \/>\n<a href=\"files\/adc.c\">Download<\/a> (0.7k)<\/p>\n<p><span style=\"font-weight: bold\">register definition for Oki MSM80C154S and MSM83C154S<\/span><br \/>\nThis is a register definition include file for use with the SDCC compiler. It mainly defines the IOCON register and its different bits.<br \/>\n(NOTE: This register definition comes included with SDCC since version 2.6)<br \/>\n<a href=\"files\/8xc154s.h\">Download<\/a> (1.8k)<\/p>\n<p><span style=\"font-weight: bold\">SIO Test<\/span><br \/>\nA simple test program to initialize and use the SIO of a 8051 mcu from the SDCC compiler using autobaud detection and polling variants of putchar() and getchar().<br \/>\n<a href=\"files\/siotest.c\">Download<\/a> (3.6k)<\/p>\n<p><span style=\"font-weight: bold\">Delay<\/span><br \/>\nA simple routine which uses inline assembly to give a delay routine. It waits for 100ms on a MCU clocked at 12MHz with default of 12 cycles per instruction.<br \/>\n<a href=\"files\/delay100ms.c\"> Download<\/a> (0.5k)<\/p>\n<p><span style=\"font-weight: bold\">MicroSIO<\/span><br \/>\nA small lib for use with SDCC and a 8051 target for using the SIO in polled mode without disabling a running SIO IRQ. It is intended for use with the Tasking Monitor and a preconfigured SIO. The routines\u00a0 have been tested with my development board. A Makefile for multiple file SDCC project include.<br \/>\n<a href=\"files\/microsio.tgz\">Download<\/a> (1.5k)<\/p>\n<div id=\"facebook_like\"><iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fwww.final-memory.org%2F%3Fp%3D91&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=segoe+ui&amp;colorscheme=light&amp;height=80\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:500px; height:80px;\" allowTransparency=\"true\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>This page contains some simple projects and programs for use with the SDCC compiler and a 8051 compatible mcu. register definition for Atmel T89C51CC02 This register definition include file is for use with the SDCC compiler. It is based upon the faulty one supplied by Atmel. Download (7k) A\/D convertor access for Atmel T89C51CC02 This &hellip; <a href=\"https:\/\/www.final-memory.org\/?p=91\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;small SDCC projects and sources&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,27,35,36],"tags":[],"class_list":["post-91","post","type-post","status-publish","format-standard","hentry","category-34","category-asm-software","category-mikrocontroller","category-sdcc"],"_links":{"self":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/91","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=91"}],"version-history":[{"count":0,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/91\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}