0

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 Jul 3 '16 at 9:56
2

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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