siddhant

Knowledge / Electronics & Embedded Systems

Microcontrollers

Self-contained computing devices integrating a processor core, memory, peripherals, timers, communication interfaces, and GPIO.

By Siddhant Krishna · Published 2026-10-06 · Updated 2026-10-06

01

Architecture

  • Processor core.
  • Flash or other non-volatile program memory.
  • RAM.
  • GPIO.
  • Timers and counters.
  • Analog-to-digital converters.
  • Communication peripherals.
  • Interrupt controller.
  • Clock and power-management circuitry.

02

GPIO

General-purpose input/output pins allow firmware to read external digital signals and control external digital devices.

03

Interrupts

Interrupts allow hardware events to trigger software execution without requiring continuous polling.

event → interrupt request → handler → state update → return

04

Peripherals

  • Timers generate precise timing events.
  • PWM controls average power or encodes timing information.
  • ADC converts analog measurements into digital values.
  • DAC converts digital representations into analog signals.
  • Communication peripherals connect external devices.

References

  1. Arm Developer documentation covering Cortex-M microcontroller architectures and embedded processor resources.
    https://developer.arm.com/Processors/Cortex-M

Related

Contact

Get in Touch

Want to chat? Just shoot me a dm with a direct question on twitter and I'll respond whenever I can. I will ignore all soliciting.