Is it possible to write to registers in C without using any libraries (AVR libc).
Example, instead of DDRB=0xff; with #include <avr/io.h>
I want to use the hex value of the register and write my data this way.
In assembly we use instructions given by datasheet to write values to registers using IN/OUT or whatever the command is. Is this purely possible in C? Asking for learning purposes, if it is possible i will try to write my own I/O library.
I also asked before about the AVR libc license but that topic got unpublished after i made certain changes to it. The question was if it is free to use AVR libc for distribution, publishing, production. Seems , i can use it no worries.
https://stackoverflow.com/questions/24988522/accessing-avr-registers-with-c