NS16550_FREQ
#ifndef NS16550_FREQ
x = divrnd((NS16550_FREQ / 16), speed);
err = divrnd((((quad_t)NS16550_FREQ) / 16) * 1000, speed * x) - 1000;