Skip to content

joaoc/cppmmio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

C++ Hardware Register Access

This is a quick demo of a technique originally presented here

http://yogiken.files.wordpress.com/2010/02/c-register-access.pdf

with the original, admittedly pouty :), preamble

http://yogiken.wordpress.com/2010/02/10/on-publishing/

The technique, in a nutshell, lets you write high level register access statements with strong safety guarantees without sacrificing low level performance. Find a more complete example for an actual CPU here.

https://github.com/kensmith/cortex-from-scratch

If you need an ARM toolchain, this makefile might do the trick.

https://github.com/kensmith/build-arm-none-eabi-gxx

vim:tw=60:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 45.4%
  • Assembly 36.3%
  • Makefile 18.3%