<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>STM8 ADC arşivleri - N7A Teknik</title>
	<atom:link href="https://n7atechnic.com.tr/tag/stm8-adc/feed/" rel="self" type="application/rss+xml" />
	<link>https://n7atechnic.com.tr/tag/stm8-adc/</link>
	<description>Teknik İşler</description>
	<lastBuildDate>Sat, 11 Jun 2022 00:39:12 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://n7atechnic.com.tr/wp-content/uploads/2022/05/cropped-logo_mono-1-32x32.png</url>
	<title>STM8 ADC arşivleri - N7A Teknik</title>
	<link>https://n7atechnic.com.tr/tag/stm8-adc/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>STM8 Programlama -IAR- #10 (ADC)  (Analog Digital Converter) STM8S103F3</title>
		<link>https://n7atechnic.com.tr/stm8-programlama-iar-10-adc-analog-digital-converter-stm8s103f3/</link>
					<comments>https://n7atechnic.com.tr/stm8-programlama-iar-10-adc-analog-digital-converter-stm8s103f3/#respond</comments>
		
		<dc:creator><![CDATA[N7A Tech]]></dc:creator>
		<pubDate>Sat, 11 Jun 2022 00:38:06 +0000</pubDate>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[STM8]]></category>
		<category><![CDATA[Tüm Yazılar]]></category>
		<category><![CDATA[Analog Digital Converter]]></category>
		<category><![CDATA[STM8 ADC]]></category>
		<category><![CDATA[STM8 Analog Dijital Çevirici]]></category>
		<category><![CDATA[STM8ADC]]></category>
		<guid isPermaLink="false">https://n7a.web.tr/?p=3027</guid>

					<description><![CDATA[<p>Merhabalar konumuz ADC Analog Digital Converter Analog Dijital Dönüştürücülerdir. ADC sistemi koşullu analog sinyalleri etkin bir şekilde ele alır ve bunları dijital veri akışına dönüştürerek kullanım imkanını<span class="excerpt-hellip"> […]</span></p>
<p><a href="https://n7atechnic.com.tr/stm8-programlama-iar-10-adc-analog-digital-converter-stm8s103f3/">STM8 Programlama -IAR- #10 (ADC)  (Analog Digital Converter) STM8S103F3</a> yazısı ilk önce <a href="https://n7atechnic.com.tr">N7A Teknik</a> üzerinde ortaya çıktı.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-normal-font-size">Merhabalar konumuz ADC Analog Digital Converter Analog Dijital Dönüştürücülerdir. <strong>ADC</strong> sistemi koşullu analog sinyalleri etkin bir şekilde ele alır ve bunları dijital veri akışına dönüştürerek kullanım imkanını sağlar. Böylece uygulama gereksinimine bağlı olarak farklı çeşitleri değerlendirilir ve değişik alanlarda kullanılır.</p>



<p>STM8S103 mikrodenetleyicisinde donanımsal olarak 10 Bit çözünürlükte ADC birimi bulunmaktadır.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
/* Includes ------------------------------------------------------------------*/
#include &quot;stm8s.h&quot;
#include &quot;stm8s_clk.h&quot;
#include &quot;stm8s_adc1.h&quot;
#include &quot;stm8s_gpio.h&quot;

/* Private defines -----------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/

void main(void)
{
  
  CLK_DeInit();
  CLK_HSECmd(DISABLE);
  CLK_LSICmd(DISABLE);
  CLK_HSICmd(ENABLE);
  while(CLK_GetFlagStatus(CLK_FLAG_HSIRDY) == 0){}
  
  CLK_ClockSwitchCmd(ENABLE);
  CLK_HSIPrescalerConfig(CLK_PRESCALER_HSIDIV1);
  CLK_SYSCLKConfig(CLK_PRESCALER_CPUDIV1);
  
  GPIO_Init(GPIOD, GPIO_PIN_2, GPIO_MODE_IN_FL_NO_IT);
  
  ADC1_Init(ADC1_CONVERSIONMODE_CONTINUOUS,
            ADC1_CHANNEL_3,
            ADC1_PRESSEL_FCPU_D2,
            ADC1_EXTTRIG_TIM,
            DISABLE,
            ADC1_ALIGN_RIGHT,
            ADC1_SCHMITTTRIG_CHANNEL3,
            DISABLE);
  ADC1_ITConfig(ADC1_IT_EOCIE,ENABLE);
  
  enableInterrupts();
  
  ADC1_StartConversion();  
  
  while (1)
  {
  
  
  
  }
  
}

#ifdef USE_FULL_ASSERT

/**
  * @brief  Reports the name of the source file and the source line number
  *   where the assert_param error has occurred.
  * @param file: pointer to the source file name
  * @param line: assert_param error line source number
  * @retval : None
  */
void assert_failed(u8* file, u32 line)
{ 
  /* User can add his own implementation to report the file name and line number,
     ex: printf(&quot;Wrong parameters value: file %s on line %d\r\n&quot;, file, line) */

  /* Infinite loop */
  while (1)
  {
  }
}
#endif


/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
</pre></div>


<p>Ayrıca dosyayı <a href="https://bit.ly/3cUeETk" target="_blank" rel="noreferrer noopener">buradan</a> indirebilirsiniz.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="STM8 Programlama -IAR- #10 ADC (Analog Digital Converter) STM8S103F3" width="1200" height="675" src="https://www.youtube.com/embed/tW_4h6o-cN4?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div></figure>



<p></p>
<p><a href="https://n7atechnic.com.tr/stm8-programlama-iar-10-adc-analog-digital-converter-stm8s103f3/">STM8 Programlama -IAR- #10 (ADC)  (Analog Digital Converter) STM8S103F3</a> yazısı ilk önce <a href="https://n7atechnic.com.tr">N7A Teknik</a> üzerinde ortaya çıktı.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://n7atechnic.com.tr/stm8-programlama-iar-10-adc-analog-digital-converter-stm8s103f3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
