Go to the documentation of this file.
43 static_assert(offsetof(
MsgIfaceType, CMDMSK) == 0x04,
"C_CAN offset");
44 static_assert(offsetof(
MsgIfaceType, MSK1) == 0x08,
"C_CAN offset");
45 static_assert(offsetof(
MsgIfaceType, ARB1) == 0x10,
"C_CAN offset");
46 static_assert(offsetof(
MsgIfaceType, MCTRL) == 0x18,
"C_CAN offset");
47 static_assert(offsetof(
MsgIfaceType, DA1) == 0x1c,
"C_CAN offset");
48 static_assert(offsetof(
MsgIfaceType, DB2) == 0x28,
"C_CAN offset");
88 static_assert(offsetof(
Type, CNTL) == 0x000,
"C_CAN offset");
89 static_assert(offsetof(
Type, STAT) == 0x004,
"C_CAN offset");
90 static_assert(offsetof(
Type,
TEST) == 0x014,
"C_CAN offset");
91 static_assert(offsetof(
Type, BRPE) == 0x018,
"C_CAN offset");
92 static_assert(offsetof(
Type, IF[0]) == 0x020,
"C_CAN offset");
93 static_assert(offsetof(
Type, IF[1]) == 0x080,
"C_CAN offset");
94 static_assert(offsetof(
Type,
TXREQ) == 0x100,
"C_CAN offset");
95 static_assert(offsetof(
Type, ND) == 0x120,
"C_CAN offset");
96 static_assert(offsetof(
Type,
IR) == 0x140,
"C_CAN offset");
97 static_assert(offsetof(
Type, MSGV) == 0x160,
"C_CAN offset");
98 static_assert(offsetof(
Type, CLKDIV) == 0x180,
"C_CAN offset");
100 static_assert(offsetof(
Type, IF[0].DB2) == 0x048,
"C_CAN offset");
101 static_assert(offsetof(
Type, IF[1].DB2) == 0x0A8,
"C_CAN offset");
104 volatile Type&
CAN = *
reinterpret_cast<volatile Type*
>(0x40050000);
static constexpr std::uint32_t CNTL_SIE
static constexpr std::uint32_t CNTL_IRQ_MASK
TEST(DataTypeSignatureCRC, Correctness)
const std::uint32_t IR[2]
static constexpr std::uint32_t IF_MCTRL_UMASK
static constexpr std::uint32_t IF_CMDMSK_W_CTRL
static constexpr std::uint32_t TEST_SILENT
union uavcan_lpc11c24::c_can::MsgIfaceType::@168 CMDMSK
static constexpr std::uint32_t STAT_BOFF
static constexpr std::uint32_t STAT_RXOK
static constexpr std::uint32_t IF_MCTRL_RMTEN
static constexpr std::uint32_t CNTL_CCE
static constexpr std::uint32_t CNTL_DAR
static constexpr std::uint32_t IF_MCTRL_MSGLST
static constexpr std::uint32_t TEST_RX
static constexpr std::uint32_t TEST_BASIC
static constexpr std::uint32_t STAT_EPASS
static constexpr std::uint32_t IF_MCTRL_TXRQST
const std::uint32_t MSGV[2]
static constexpr std::uint32_t IF_CMDMSK_W_ARB
static constexpr std::uint32_t CNTL_TEST
static constexpr std::uint32_t STAT_TXOK
const std::uint32_t _skip_d[6]
static constexpr std::uint32_t CNTL_IE
static constexpr std::uint32_t IF_CMDMSK_W_MASK
static constexpr std::uint32_t IF_MCTRL_DLC_MASK
static constexpr std::uint32_t IF_MCTRL_RXIE
const std::uint32_t _skip_e[6]
static constexpr std::uint32_t IF_MCTRL_NEWDAT
static constexpr std::uint32_t IF_CMDMSK_W_TXRQST
static constexpr std::uint32_t IF_CMDMSK_W_WR_RD
static constexpr std::uint32_t TEST_TX_SHIFT
static constexpr std::uint32_t IF_CMDMSK_W_DATA_A
static constexpr std::uint32_t IF_MCTRL_INTPND
const std::uint32_t ND[2]
static constexpr std::uint32_t TEST_LBACK
const std::uint32_t _skip[13]
const std::uint32_t _skip_b[8]
static constexpr std::uint32_t IF_CMDMSK_W_DATA_B
static constexpr std::uint32_t IF_CMDREQ_BUSY
const std::uint32_t _skip_a[1]
const std::uint32_t _skip_f[6]
static constexpr std::uint32_t STAT_LEC_SHIFT
const std::uint32_t _skip_c[6]
static constexpr std::uint32_t CNTL_INIT
static constexpr std::uint32_t IF_MCTRL_EOB
static constexpr std::uint32_t IF_MCTRL_TXIE
static constexpr std::uint32_t CNTL_EIE
static constexpr std::uint32_t STAT_EWARN
static constexpr std::uint32_t STAT_LEC_MASK
const std::uint32_t TXREQ[2]