I want to use registers when programming on the Raspberry Pi using the C language. Is it possible?

  • What registers are you talking about?
    – joan
    Commented Jul 3, 2016 at 9:56

1 Answer 1


I assume you are talking about running Linux. Yes it is, by mapping the physical addresses to virtual (userspace) memory.

The broadcom datasheet will be your best friend while looking at this.

Once you understood how it is done you should take this post of mine into account.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.