06-03-2020, 07:17 AM
Hello Community!
Don't know if this is the right forum for this question...
Why have UART_RBR, UART_THR and UART_DLL the same offset? Currently I have
not found the reason. There another registers which shares the same offset.
Why I need this information?
First of all, I bought this good piece of hardware for my own embedded HW/SW projects.
Want to use it for Bare-Metal projects (no Linux or *BSD), only currently U-Boot as loader
for my own RTOS (still under development but currently only for the purpose of education).
Don't know if this is the right forum for this question...
Why have UART_RBR, UART_THR and UART_DLL the same offset? Currently I have
not found the reason. There another registers which shares the same offset.
Why I need this information?
First of all, I bought this good piece of hardware for my own embedded HW/SW projects.
Want to use it for Bare-Metal projects (no Linux or *BSD), only currently U-Boot as loader
for my own RTOS (still under development but currently only for the purpose of education).
Code:
/* Beware of bugs in the above code; I have only proved it correct, not tried it */