Expose baud rate for use by protocol implementations
This commit is contained in:
1 parent
430ad479fc
commit
dd37fa0411
1 file changed
+2
@@ -279,6 +279,7 @@ template <class Registers, typename CtrlFlagsA, typename CtrlFlagsB, typename Ct
|
||||
class BlockingHardware {
|
||||
public:
|
||||
using data_t = typename cfg::data_t;
|
||||
static constexpr auto BAUD_RATE = cfg::BAUD_RATE;
|
||||
static constexpr auto DATA_BITS = cfg::DATA_BITS;
|
||||
|
||||
static void init() FORCE_INLINE
|
||||
@@ -324,6 +325,7 @@ template <class Registers, typename CtrlFlagsA, typename CtrlFlagsB, typename Ct
|
||||
class InterruptHardware {
|
||||
public:
|
||||
using data_t = typename cfg::data_t;
|
||||
static constexpr auto BAUD_RATE = cfg::BAUD_RATE;
|
||||
static constexpr auto DATA_BITS = cfg::DATA_BITS;
|
||||
|
||||
static void txByte(const data_t &byte) FORCE_INLINE
|
||||
|
||||
Reference in new issue
Block a user