JinjuWikiThe personal MCUpedia

Navigation

  • Main page
  • Recent changes
  • Random page
  • About me

Categories

STM32 (2)
  • STM32
  • STM32 sensor logger
  • Category page →
MCU Basics (1)
  • Microcontroller Basics
    • 1. Conversion from Binary to Hexadecimal
    • 2. The Concept of a Register
    • 3. Bit Manipulation (using Registers)
    • 4. Bit Masking
  • Category page →
Peripherals (2)
  • I²C
  • UART
  • Category page →
C Programming (1)
  • C (programming language)
  • Category page →
Literatures (0)
  • No pages yet
  • Category page →
Projects (2)
  • List of projects
  • STM32 sensor logger
  • Category page →
Courses (0)
  • No pages yet
  • Category page →

Elsewhere

  • GitHub
  • LinkedIn
Article

Microcontroller Basics

Created 2026-11-08
Contents
  • 1 1. Conversion from Binary to Hexadecimal
  • 2 2. The Concept of a Register
  • 3 3. Bit Manipulation (using Registers)
  • 4 4. Bit Masking

1. Conversion from Binary to Hexadecimal

Important

One hexadecimal digit is four binary digits.
0x0b
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111

This allows you to easily convert hex numbers to binary one digit at a time, as you can see in the following example.

                  A    4    1    3    F
(0x) A413F ↔ (0b) 1010 0100 0001 0011 1111

2. The Concept of a Register

3. Bit Manipulation (using Registers)

4. Bit Masking

Categories: MCU Basics
This page was last edited on 2026-11-08. Built with Typst.