uracoli-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [uracoli-devel] Baud rates


From: Joerg Wunsch
Subject: Re: [uracoli-devel] Baud rates
Date: Wed, 16 May 2012 17:55:00 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

As Vasilakes, Keith wrote:

> Because if I see 'calibrate' I think I'm expecting the osc freq to
> be fixed to the design value.

As long as it's well documented, I don't see much problems.  But it's
fine with me to call it "adjust" if you think that's more descriptive.
I wouldn't want to have two routines though, just adjusting it to
F_CPU is fine I think.

Just discussed a little with Axel, it could even go further, and
adjust the clock prescaler to the appropriate value.  Thus, you
can #define F_CPU 3.686E6, and the adjustment routine notices it
has to set the prescaler to 2. ;-)

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]