Go Down

Topic: porting serial commands (Read 505 times) previous topic - next topic

titous

hey ya'll!

i'm trying to port over some code from an Uno to the Due and I've nearly got everything covered except for the part that deals with serial communication.  i've looked through the Atmel data sheet but i'm not quite sure about the equivalent data registry and controls.

the original code makes reference to the following:
Code: [Select]
UCSRA
UDRE
UDR


and from reading in the datasheet, the nearest equivalent i can find to them (respectively) are:
Code: [Select]
US_CR
ENDRX
US_RHR


could someone please confirm/correct this?  thank you!

Go Up