Pages: [1]   Go Down
Author Topic: porting serial commands  (Read 456 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
UCSRA
UDRE
UDR

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

could someone please confirm/correct this?  thank you!
Logged

Pages: [1]   Go Up
Jump to: