Classes | Enumerations | Variables
uavcan_lpc11c24::c_can Namespace Reference

Classes

struct  MsgIfaceType
 
struct  Type
 

Enumerations

enum  StatLec : std::uint32_t {
  StatLec::NoError = 0, StatLec::StuffError = 1, StatLec::FormError = 2, StatLec::AckError = 3,
  StatLec::Bit1Error = 4, StatLec::Bit0Error = 5, StatLec::CRCError = 6, StatLec::Unused = 7
}
 
enum  TestTx : std::uint32_t { TestTx::Controller = 0, TestTx::SamplePoint = 1, TestTx::LowDominant = 2, TestTx::HighRecessive = 3 }
 

Variables

volatile TypeCAN = *reinterpret_cast<volatile Type*>(0x40050000)
 
static constexpr std::uint32_t CNTL_CCE = 1 << 6
 
static constexpr std::uint32_t CNTL_DAR = 1 << 5
 
static constexpr std::uint32_t CNTL_EIE = 1 << 3
 
static constexpr std::uint32_t CNTL_IE = 1 << 1
 
static constexpr std::uint32_t CNTL_INIT = 1 << 0
 
static constexpr std::uint32_t CNTL_IRQ_MASK = CNTL_EIE | CNTL_IE | CNTL_SIE
 
static constexpr std::uint32_t CNTL_SIE = 1 << 2
 
static constexpr std::uint32_t CNTL_TEST = 1 << 7
 
static constexpr std::uint32_t IF_CMDMSK_W_ARB = 1 << 5
 
static constexpr std::uint32_t IF_CMDMSK_W_CTRL = 1 << 4
 
static constexpr std::uint32_t IF_CMDMSK_W_DATA_A = 1 << 0
 
static constexpr std::uint32_t IF_CMDMSK_W_DATA_B = 1 << 1
 
static constexpr std::uint32_t IF_CMDMSK_W_MASK = 1 << 6
 
static constexpr std::uint32_t IF_CMDMSK_W_TXRQST = 1 << 2
 
static constexpr std::uint32_t IF_CMDMSK_W_WR_RD = 1 << 7
 
static constexpr std::uint32_t IF_CMDREQ_BUSY = 1 << 15
 
static constexpr std::uint32_t IF_MCTRL_DLC_MASK = 15
 
static constexpr std::uint32_t IF_MCTRL_EOB = 1 << 7
 
static constexpr std::uint32_t IF_MCTRL_INTPND = 1 << 13
 
static constexpr std::uint32_t IF_MCTRL_MSGLST = 1 << 14
 
static constexpr std::uint32_t IF_MCTRL_NEWDAT = 1 << 15
 
static constexpr std::uint32_t IF_MCTRL_RMTEN = 1 << 9
 
static constexpr std::uint32_t IF_MCTRL_RXIE = 1 << 10
 
static constexpr std::uint32_t IF_MCTRL_TXIE = 1 << 11
 
static constexpr std::uint32_t IF_MCTRL_TXRQST = 1 << 8
 
static constexpr std::uint32_t IF_MCTRL_UMASK = 1 << 12
 
static constexpr std::uint32_t STAT_BOFF = 1 << 7
 
static constexpr std::uint32_t STAT_EPASS = 1 << 5
 
static constexpr std::uint32_t STAT_EWARN = 1 << 6
 
static constexpr std::uint32_t STAT_LEC_MASK = 7
 
static constexpr std::uint32_t STAT_LEC_SHIFT = 0
 
static constexpr std::uint32_t STAT_RXOK = 1 << 4
 
static constexpr std::uint32_t STAT_TXOK = 1 << 3
 
static constexpr std::uint32_t TEST_BASIC = 1 << 2
 
static constexpr std::uint32_t TEST_LBACK = 1 << 4
 
static constexpr std::uint32_t TEST_RX = 1 << 7
 
static constexpr std::uint32_t TEST_SILENT = 1 << 3
 
static constexpr std::uint32_t TEST_TX_SHIFT = 5
 

Enumeration Type Documentation

◆ StatLec

enum uavcan_lpc11c24::c_can::StatLec : std::uint32_t
strong
Enumerator
NoError 
StuffError 
FormError 
AckError 
Bit1Error 
Bit0Error 
CRCError 
Unused 

Definition at line 148 of file c_can.hpp.

◆ TestTx

enum uavcan_lpc11c24::c_can::TestTx : std::uint32_t
strong
Enumerator
Controller 
SamplePoint 
LowDominant 
HighRecessive 

Definition at line 129 of file c_can.hpp.

Variable Documentation

◆ CAN

volatile Type& uavcan_lpc11c24::c_can::CAN = *reinterpret_cast<volatile Type*>(0x40050000)

Definition at line 104 of file c_can.hpp.

◆ CNTL_CCE

constexpr std::uint32_t uavcan_lpc11c24::c_can::CNTL_CCE = 1 << 6
staticconstexpr

Definition at line 111 of file c_can.hpp.

◆ CNTL_DAR

constexpr std::uint32_t uavcan_lpc11c24::c_can::CNTL_DAR = 1 << 5
staticconstexpr

Definition at line 112 of file c_can.hpp.

◆ CNTL_EIE

constexpr std::uint32_t uavcan_lpc11c24::c_can::CNTL_EIE = 1 << 3
staticconstexpr

Definition at line 113 of file c_can.hpp.

◆ CNTL_IE

constexpr std::uint32_t uavcan_lpc11c24::c_can::CNTL_IE = 1 << 1
staticconstexpr

Definition at line 115 of file c_can.hpp.

◆ CNTL_INIT

constexpr std::uint32_t uavcan_lpc11c24::c_can::CNTL_INIT = 1 << 0
staticconstexpr

Definition at line 116 of file c_can.hpp.

◆ CNTL_IRQ_MASK

constexpr std::uint32_t uavcan_lpc11c24::c_can::CNTL_IRQ_MASK = CNTL_EIE | CNTL_IE | CNTL_SIE
staticconstexpr

Definition at line 118 of file c_can.hpp.

◆ CNTL_SIE

constexpr std::uint32_t uavcan_lpc11c24::c_can::CNTL_SIE = 1 << 2
staticconstexpr

Definition at line 114 of file c_can.hpp.

◆ CNTL_TEST

constexpr std::uint32_t uavcan_lpc11c24::c_can::CNTL_TEST = 1 << 7
staticconstexpr

Definition at line 110 of file c_can.hpp.

◆ IF_CMDMSK_W_ARB

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_CMDMSK_W_ARB = 1 << 5
staticconstexpr

Definition at line 172 of file c_can.hpp.

◆ IF_CMDMSK_W_CTRL

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_CMDMSK_W_CTRL = 1 << 4
staticconstexpr

Definition at line 171 of file c_can.hpp.

◆ IF_CMDMSK_W_DATA_A

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_CMDMSK_W_DATA_A = 1 << 0
staticconstexpr

Definition at line 168 of file c_can.hpp.

◆ IF_CMDMSK_W_DATA_B

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_CMDMSK_W_DATA_B = 1 << 1
staticconstexpr

Definition at line 169 of file c_can.hpp.

◆ IF_CMDMSK_W_MASK

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_CMDMSK_W_MASK = 1 << 6
staticconstexpr

Definition at line 173 of file c_can.hpp.

◆ IF_CMDMSK_W_TXRQST

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_CMDMSK_W_TXRQST = 1 << 2
staticconstexpr

Definition at line 170 of file c_can.hpp.

◆ IF_CMDMSK_W_WR_RD

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_CMDMSK_W_WR_RD = 1 << 7
staticconstexpr

Definition at line 174 of file c_can.hpp.

◆ IF_CMDREQ_BUSY

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_CMDREQ_BUSY = 1 << 15
staticconstexpr

Definition at line 163 of file c_can.hpp.

◆ IF_MCTRL_DLC_MASK

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_MCTRL_DLC_MASK = 15
staticconstexpr

Definition at line 188 of file c_can.hpp.

◆ IF_MCTRL_EOB

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_MCTRL_EOB = 1 << 7
staticconstexpr

Definition at line 187 of file c_can.hpp.

◆ IF_MCTRL_INTPND

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_MCTRL_INTPND = 1 << 13
staticconstexpr

Definition at line 181 of file c_can.hpp.

◆ IF_MCTRL_MSGLST

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_MCTRL_MSGLST = 1 << 14
staticconstexpr

Definition at line 180 of file c_can.hpp.

◆ IF_MCTRL_NEWDAT

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_MCTRL_NEWDAT = 1 << 15
staticconstexpr

Definition at line 179 of file c_can.hpp.

◆ IF_MCTRL_RMTEN

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_MCTRL_RMTEN = 1 << 9
staticconstexpr

Definition at line 185 of file c_can.hpp.

◆ IF_MCTRL_RXIE

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_MCTRL_RXIE = 1 << 10
staticconstexpr

Definition at line 184 of file c_can.hpp.

◆ IF_MCTRL_TXIE

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_MCTRL_TXIE = 1 << 11
staticconstexpr

Definition at line 183 of file c_can.hpp.

◆ IF_MCTRL_TXRQST

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_MCTRL_TXRQST = 1 << 8
staticconstexpr

Definition at line 186 of file c_can.hpp.

◆ IF_MCTRL_UMASK

constexpr std::uint32_t uavcan_lpc11c24::c_can::IF_MCTRL_UMASK = 1 << 12
staticconstexpr

Definition at line 182 of file c_can.hpp.

◆ STAT_BOFF

constexpr std::uint32_t uavcan_lpc11c24::c_can::STAT_BOFF = 1 << 7
staticconstexpr

Definition at line 140 of file c_can.hpp.

◆ STAT_EPASS

constexpr std::uint32_t uavcan_lpc11c24::c_can::STAT_EPASS = 1 << 5
staticconstexpr

Definition at line 142 of file c_can.hpp.

◆ STAT_EWARN

constexpr std::uint32_t uavcan_lpc11c24::c_can::STAT_EWARN = 1 << 6
staticconstexpr

Definition at line 141 of file c_can.hpp.

◆ STAT_LEC_MASK

constexpr std::uint32_t uavcan_lpc11c24::c_can::STAT_LEC_MASK = 7
staticconstexpr

Definition at line 145 of file c_can.hpp.

◆ STAT_LEC_SHIFT

constexpr std::uint32_t uavcan_lpc11c24::c_can::STAT_LEC_SHIFT = 0
staticconstexpr

Definition at line 146 of file c_can.hpp.

◆ STAT_RXOK

constexpr std::uint32_t uavcan_lpc11c24::c_can::STAT_RXOK = 1 << 4
staticconstexpr

Definition at line 143 of file c_can.hpp.

◆ STAT_TXOK

constexpr std::uint32_t uavcan_lpc11c24::c_can::STAT_TXOK = 1 << 3
staticconstexpr

Definition at line 144 of file c_can.hpp.

◆ TEST_BASIC

constexpr std::uint32_t uavcan_lpc11c24::c_can::TEST_BASIC = 1 << 2
staticconstexpr

Definition at line 126 of file c_can.hpp.

◆ TEST_LBACK

constexpr std::uint32_t uavcan_lpc11c24::c_can::TEST_LBACK = 1 << 4
staticconstexpr

Definition at line 124 of file c_can.hpp.

◆ TEST_RX

constexpr std::uint32_t uavcan_lpc11c24::c_can::TEST_RX = 1 << 7
staticconstexpr

Definition at line 123 of file c_can.hpp.

◆ TEST_SILENT

constexpr std::uint32_t uavcan_lpc11c24::c_can::TEST_SILENT = 1 << 3
staticconstexpr

Definition at line 125 of file c_can.hpp.

◆ TEST_TX_SHIFT

constexpr std::uint32_t uavcan_lpc11c24::c_can::TEST_TX_SHIFT = 5
staticconstexpr

Definition at line 127 of file c_can.hpp.



uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:05