#warning "UART BUS: Picked UART high speed mode and rounding down"
#define BRGHVAL_BUS 1 // high speed mode
#define BRGVAL_BUS BRGVAL_BUS_HD
#endif
#endif
#endif
// If both high and low speed mode are not working - > stop compilation and print error message
#ifndef BRGVAL_BUS
#error "BAUDRATE_ERROR_BUS is above BAUDRATE_ERROR_MARGIN. Could not solve that problem automatically. Consider setting BRGVAL_BUS by hand, using a different baudrate or system frequency."