set_port()

This function is defined in <init.c>. The prototype is:

void set_port( unsigned port,
               unsigned mask,
               unsigned data )

This function sets the specified bit(s) of the UART port to the given value (0 or 1). The arguments are:

port
The port you want to write the value to.
mask
The mask for the bit or bits that you want to set.
data
The value that you want to set.