<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cratech</author_name>
  <author_url>https://blog.hatena.ne.jp/cratech/</author_url>
  <blog_title>くらてち日記</blog_title>
  <blog_url>https://cratech.hatenablog.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>技術</anon>
    <anon>電子工作</anon>
  </categories>
  <description>本記事は「Arduinoの裏側」シリーズの第3回です。 今回は、Arduinoで最も頻繁に使用される機能である「GPIO」と、その背後で動作する「タイマー」に焦点を当てます。 digitalWrite や analogWrite は非常に便利な関数ですが、ハードウェアを抽象化する過程で無視できない処理コストや、機能的な制約が発生しています。本稿では、これらの関数が内部で行っている処理を解剖し、AVRマイコン本来のレジスタ操作との比較を行います。 前回はこちら cratech.hatenablog.jp 第一回はこちら cratech.hatenablog.jp 1. digitalWriteの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcratech.hatenablog.jp%2Fentry%2F2026%2F01%2F10%2F175003&quot; title=&quot;【Arduinoの裏側③】GPIO・タイマー制御における抽象化のコストとレジスタ直接操作 - くらてち日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/c/cratech/20260110/20260110174835.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-01-10 17:50:03</published>
  <title>【Arduinoの裏側③】GPIO・タイマー制御における抽象化のコストとレジスタ直接操作</title>
  <type>rich</type>
  <url>https://cratech.hatenablog.jp/entry/2026/01/10/175003</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
