|
Rockbox mail archiveSubject: RE: Baud rate calculationsRE: Baud rate calculations
From: Nielsen Linus (ext) <"Nielsen>
Date: Mon, 10 Dec 2001 10:41:49 +0100 > 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 Received on 2001-12-10 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |