Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



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 "Jan 10 2012" The Rockbox Crew
aaa