*
* $Log: debug_at91.c,v $
* Revision 1.9 2006/08/31 19:01:08 haraldkipp
* Using devDebug2 for the DBGU output was a bad idea. Some AT91 chips
* provide more than two UARTs. We now use devDebug to specify the DBGU
* device. Baudrate calculations failed on CPUs running on a processor
* clock, which differs from a futher divided main clock. This had been
* fixed.
*
* Revision 1.8 2006/08/05 11:54:06 haraldkipp
* Special register functions should not be based on MCU definitions but on
* register definitions.
*
* Revision 1.7 2006/07/05 07:55:23 haraldkipp
* Daidai's support for AT91SAM7X added.
*
* Revision 1.6 2006/06/28 17:18:40 haraldkipp
* Temporarly exclude AT91R40008 specific register settings from building
* for AT91SAM7X.
*
* Revision 1.5 2006/03/16 19:03:48 haraldkipp
* Added ioctl to set baudrate.
*
* Revision 1.4 2006/01/05 16:46:01 haraldkipp
* Baudrate calculation is now based on NutGetCpuClock().
* The AT91_US_BAUD macro had been marked deprecated.
*
* Revision 1.3 2005/10/24 08:26:58 haraldkipp
* Use AT91 header file. Allow to use both USARTs.
*
* Revision 1.2 2005/08/02 17:46:45 haraldkipp
* Major API documentation update.
*
* Revision 1.1 2005/07/26 18:02:26 haraldkipp
* Moved from dev.
*
* Revision 1.2 2005/04/05 17:49:05 haraldkipp
* Make it work on Wolf, but breaks AT91EB40A.
*
* Revision 1.1 2004/09/08 10:53:13 haraldkipp
* Our first device for the EB40A
*
*