|
This function translates the BAUD_xxx constants to their corresponding bus parameter values.
TSeg1 is the number of quanta (less one) in a bit before the sampling point. TSeg2 is the number of quanta after the sampling point.
canOK (zero) if success
canERR_xxx (negative) if failure.