Skip to content
Gianmarco edited this page Nov 17, 2023 · 1 revision

Welcome to the avr_io wiki!

This is a library containing bindings for AVR chips in nim, together with a bunch of utilities to have a better, more ergonomic, experience when programming firmware for AVR chips.

The library is organized as follows:

  • The main avr_io module, which contains the bindings for the registers of your microcontroller of choice, together with ports and peripheral support.
  • The avr_io/interrupt sub-module, which contains utilities to implement interrupt service routines and to interact with interrupt-related matters on the chips.
  • The avr_io/progmem sub-module, which contains utilities to store code in program memory, and to interact with said code.

Each section goes into detail on how the API work for each module, expanding on the examples shipped with the library in the examples sub-directory.

Clone this wiki locally