🔧
AI EngineeringJavaScript

MMIO and Bit Manipulation

by mohitmishra786

MMIO and Bit Manipulation is an AI Engineering skill for Claude Code, published by mohitmishra786 in low-level-dev-skills.

194 stars27 forkson mohitmishra786/low-level-dev-skillsAdded 2026/09/05+1% in starsRepository updated 2026/06/27
ai-agent-skillsbuild-systemsc-cpp-toolchaincompilerscross-compilationdebuggersembeddedlow-level-programminglow-level-programming-languageprofilersrustrust-langsystems-programmingzig
Install in seconds
Install MMIO and Bit Manipulation
Copy MMIO and Bit Manipulation into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/mohitmishra786/low-level-dev-skills/tree/main/skills/baremetal/mmio-and-bit-manipulation ~/.claude/skills/mmio-and-bit-manipulation

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/mohitmishra786/low-level-dev-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/baremetal/mmio-and-bit-manipulation/SKILL.md in mohitmishra786/low-level-dev-skills
Installs to
~/.claude/skills/mmio-and-bit-manipulation
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering3101 skills

What MMIO and Bit Manipulation does

MMIO and Bit Manipulation guides safe memory-mapped I/O for bare-metal firmware. Use it when reading or writing hardware registers with volatile access, masks, read-modify-write patterns, alignment, or endianness concerns.

MMIO and Bit Manipulation is cataloged under AI Engineering on DirSkills. MMIO and Bit Manipulation comes from a repository tagged ai-agent-skills, build-systems, c-cpp-toolchain, compilers and cross-compilation.

Documentation

README

MMIO and Bit Manipulation

Purpose

Guide agents through safe memory-mapped I/O: volatile semantics, read-modify-write patterns, bitfield pitfalls, alignment and endianness, and portable register access macros for bare-metal drivers.

When to Use

  • Writing peripheral register drivers without HAL
  • Fixing intermittent register corruption or stale reads
  • Replacing C bitfields with explicit masks
  • Porting drivers between little-endian MCUs
  • Auditing ISR vs main-line register access

Workflow

1. MMIO fundamentals

Peripheral registers live at fixed addresses in the CPU memory map. The compiler must not cache reads/writes.

#include <stdint.h>

#define PERIPH_BASE   0x40000000U
#define GPIOA_MODER   (*(volatile uint32_t *)(PERIPH_BASE + 0x20000U))

This is the opening of the README. Read the full README on GitHub.

Commands MMIO and Bit Manipulation provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /mmio-and-bit-manipulation

Frequently asked about MMIO and Bit Manipulation

  • What else does mohitmishra786 publish alongside MMIO and Bit Manipulation?

    MMIO and Bit Manipulation is one of 25 skills that DirSkills catalogs from mohitmishra786/low-level-dev-skills, the repository it ships in. Its siblings there include ADC And DAC Bare Metal, AF XDP and Bare-Metal Startup. Each one is a separate skill with its own page in this directory, installs the same way MMIO and Bit Manipulation does, and is maintained by mohitmishra786 in that same repository. The rest of the collection is listed on the mohitmishra786/low-level-dev-skills page.

  • How does MMIO and Bit Manipulation compare to other AI Engineering skills?

    MMIO and Bit Manipulation ranks #2871 by stars among the 3101 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of MMIO and Bit Manipulation against them. Open each page to compare what they document and how they install.

More from mohitmishra786/low-level-dev-skills

MMIO and Bit Manipulation is one of 25 skills cataloged on DirSkills from mohitmishra786/low-level-dev-skills.

See all 25 skills
48m ago

ADC And DAC Bare Metal

ADC And DAC Bare Metal configures ADC sampling, calibration, DMA circular buffers, and DAC output on microcontrollers. Use it for reading analog sensors, continuous sampling, or generating analog voltages.
DevOps
19427
🖧
48m ago

AF XDP

AF XDP guides setup of userspace packet I/O with UMEM, XSK rings, and XDP_REDIRECT programs. Use it when building fast network datapaths, choosing copy versus zero-copy mode, or comparing AF XDP with DPDK.
DevOps
19427
⚙️
48m ago

Bare-Metal Startup

Bare-Metal Startup guides reset-to-main bring-up for embedded targets. Use it for vector tables, .data/.bss initialization, stack setup, VTOR relocation, and crt0 startup code on Cortex-M or RISC-V.
DevOps
19427
🛠️
48m ago

Bazel

Bazel guides C/C++ build setup with BUILD files, cc_library and cc_binary rules, Bzlmod dependencies, toolchains, queries, remote execution, and sandbox debugging. Use it when creating or troubleshooting Bazel builds.
DevOps
19427
⚙️
48m ago

Build Acceleration

Build Acceleration helps reduce C/C++ compile and link times using ccache, sccache, distcc, unity builds, precompiled headers, split DWARF, and IWYU. Use it when builds are slow or you need to find the main bottleneck.
DevOps
19427
🧠
48m ago

Custom Allocators

Custom Allocators guides allocator design and tuning for pool, slab, arena, and general-purpose memory management. Use it when implementing custom allocators, adjusting jemalloc or mimalloc, or benchmarking fragmentation and throughput.
DevOps
19427