<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=STM8_SDK</id>
	<title>STM8 SDK - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=STM8_SDK"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=STM8_SDK&amp;action=history"/>
	<updated>2026-06-04T21:24:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=STM8_SDK&amp;diff=27503&amp;oldid=prev</id>
		<title>Chao at 04:06, 6 July 2020</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=STM8_SDK&amp;diff=27503&amp;oldid=prev"/>
		<updated>2020-07-06T04:06:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Toolchains and Program&lt;br /&gt;
* [[STM8 SDCC]]&lt;br /&gt;
* [[STM8 IAR]]&lt;br /&gt;
* [[STM8 Program]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
IO Registers &lt;br /&gt;
* Data Direction Register – DDR, DDR to 1 for output pin, or 0 for input pin&lt;br /&gt;
* Control Register 1 – C1&lt;br /&gt;
* Control Register 2 – C2&lt;br /&gt;
* Output Data Register – ODR - Reset the pin by setting ODR to 0&lt;br /&gt;
* Input Data Register – IDR&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Register !! Mode !! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| CR1 || Input || 0 || Floating input&lt;br /&gt;
|-&lt;br /&gt;
| CR1 || Input || 1|| Input with pull-up&lt;br /&gt;
|-&lt;br /&gt;
| CR1 || output || 0 || Open drain&lt;br /&gt;
|-&lt;br /&gt;
| CR1 || output || 1 || Push-Pull&lt;br /&gt;
|-&lt;br /&gt;
| CR2 || Input || 0 || Interrupt disabled&lt;br /&gt;
|-&lt;br /&gt;
| CR2 || Input || 1|| Interrupt enabled&lt;br /&gt;
|-&lt;br /&gt;
| CR2 || output || 0 || Output up to 2 MHz.&lt;br /&gt;
|-&lt;br /&gt;
| CR2 || output || 1 || Output up to 10 MHz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Documents ==&lt;br /&gt;
&lt;br /&gt;
=== Code Resources, Headers, etc===&lt;br /&gt;
* STM8 Opensource Headers - https://github.com/gicking/STM8_headers&lt;br /&gt;
* SDCC supported, arduino based firmware - [https://github.com/tenbaht/sduino Sduino].&lt;br /&gt;
* STM8MXcube - http://pan.baidu.com/s/1bpFyXxt       pass: 3pgm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Tutorial, Resources ===&lt;br /&gt;
* [https://www.youtube.com/watch?v=oSc3ajqOiaY IAR Tutorial 1]&lt;br /&gt;
* [https://github.com/Edragon/stm8 STM8 Standard lirarary from ST]&lt;br /&gt;
* [https://github.com/Edragon/stm8 FX STM8]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [http://www.st.com/st-web-ui/static/active/cn/resource/technical/document/datasheet/CD00226640.pdf STM8S103 Datasheet] link from ST website, if not work please try search it &lt;br /&gt;
* [http://www.st.com/st-web-ui/static/active/cn/resource/sales_and_marketing/promotional_material/brochure/brstm8.pdf STM8 Family]&lt;br /&gt;
* [http://www.stm32f0.com.cn/pdfs/SGMICRO0413.pdf STM8 and STM32 product and tool selection guide]&lt;br /&gt;
&lt;br /&gt;
* STM8S003F3 (P6) - [http://www.st.com/web/en/resource/technical/document/datasheet/DM00024550.pdf Direct IC datasheet from St.com here.]&lt;br /&gt;
* [https://github.com/Edragon/stm8 Demo code back up page.]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[File:STM8S207xx.PDF]]&lt;br /&gt;
&lt;br /&gt;
[[category: STM8]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>