Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Rockbox mail archive

Subject: RE: Baud rate calculations
From: Nielsen Linus (ext) (Linus.Nielsen_at_elema.siemens.se)
Date: 2001-12-10


> I'm looking at the setup code for serial port 1. It sets SMR1
> to 0 which means "asynch mode, bits 8N1, no clock divisor (n)".
> Then it sets BRR1 to 255. BRR1 is the baud rate register.

No it doesn't set it to 255. The 0xff Björn is referring to
is a subtraction (using add #0xff). The BRR value is dynamically
calculated.

/Linus



Page was last modified "Mar 9 2008" The Rockbox Crew