Hi all, first post here.
I've come to a new position, and have inherited several projects form a dev who is no longer here. I've never worked with AVR before, just a bit of dabbling with a PIC.
I have a lot of questions, and I'll get to them eventually after I google enough, but I just need some bearings for right now.
I'm trying to write up a MODBUS interface for a USART port over RS485, and while I'm gathering my wits on how to specifically implement that, one thing keeps bugging me. In the code below, which is a snippet from the USART_400.h file, what is the difference between the capital lettered variable, and the lowercase variable, and what is the union doing in this scenario?
union { const unsigned long ner ;//0x0044 const avr32_usart_ner_t NER ; };
I know, on a macro level, that they are all tied to the special function registers in the micro and serve as interfaces to designated registers (RHR springs to mind). I could probably do a better job of researching this, if I just knew what I was actually looking for was actually called.
Thanks in advance.