void TXD (int pin, int byte ); // for bit-banged version on
any pin
void TXD0(int
byte); // for hardware support
void TXD1(int byte); // for UART1
These routines are "bit-banged" by the processor, so the processor is consumed during these operations. Interupts are also disabled during each byte for these operations.
UART0 UART1 support-
The hardware serial port routines are used, so the CPU is not tied up. So when a byte is sent it is placed into the UART FIFO, but if the 16 byte FIFO is full then the CPU will wait until space is available.
For ARMexpress modules baudrates for RXD0 can be upto 19.2 Kbaud as it is limited by the level translators. No limit for ARMmite/ARMweb Use setUART0baud() routine to set this baud.