Skip to content

kensmith/cppmmio

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

Here is a quick explanation of what's going on here.

https://youtu.be/lrrQaa_-hzU

vim:tw=60:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published