#include <CAN.h>
|
virtual int16_t | select (uavcan::CanSelectMasks &inout_masks, const uavcan::CanFrame *(&pending_tx)[uavcan::MaxCanIfaces], uavcan::MonotonicTime blocking_deadline) override |
|
void | initOnce (uint8_t can_number) |
|
Definition at line 258 of file CAN.h.
◆ VRBRAINCANManager()
VRBRAIN::VRBRAINCANManager::VRBRAINCANManager |
( |
| ) |
|
◆ begin()
bool VRBRAIN::VRBRAINCANManager::begin |
( |
uint32_t |
bitrate, |
|
|
uint8_t |
can_number |
|
) |
| |
|
override |
◆ get_UAVCAN()
AP_UAVCAN* VRBRAIN::VRBRAINCANManager::get_UAVCAN |
( |
void |
| ) |
|
|
override |
◆ getIface()
virtual VRBRAINCAN* VRBRAIN::VRBRAINCANManager::getIface |
( |
uint8_t |
iface_index | ) |
|
|
overridevirtual |
◆ getIface_out_to_in()
VRBRAINCAN* VRBRAIN::VRBRAINCANManager::getIface_out_to_in |
( |
uint8_t |
iface_index | ) |
|
◆ getNumIfaces()
virtual uint8_t VRBRAIN::VRBRAINCANManager::getNumIfaces |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ hadActivity()
bool VRBRAIN::VRBRAINCANManager::hadActivity |
( |
| ) |
|
Whether at least one iface had at least one successful IO since previous call of this method. This is designed for use with iface activity LEDs.
◆ hasReadableInterfaces()
bool VRBRAIN::VRBRAINCANManager::hasReadableInterfaces |
( |
| ) |
const |
Whether there's at least one interface where receive() would return a frame.
◆ init()
Returns zero if OK. Returns negative value if failed (e.g. invalid bitrate).
◆ initialized()
void VRBRAIN::VRBRAINCANManager::initialized |
( |
bool |
val | ) |
|
|
override |
◆ initOnce()
void VRBRAIN::VRBRAINCANManager::initOnce |
( |
uint8_t |
can_number | ) |
|
|
private |
◆ is_initialized()
bool VRBRAIN::VRBRAINCANManager::is_initialized |
( |
| ) |
|
|
override |
◆ makeSelectMasks()
uavcan::CanSelectMasks VRBRAIN::VRBRAINCANManager::makeSelectMasks |
( |
const uavcan::CanFrame *(&) |
pending_tx[uavcan::MaxCanIfaces] | ) |
const |
This function returns select masks indicating which interfaces are available for read/write.
◆ select()
virtual int16_t VRBRAIN::VRBRAINCANManager::select |
( |
uavcan::CanSelectMasks & |
inout_masks, |
|
|
const uavcan::CanFrame *(&) |
pending_tx[uavcan::MaxCanIfaces], |
|
|
uavcan::MonotonicTime |
blocking_deadline |
|
) |
| |
|
overrideprivatevirtual |
◆ set_UAVCAN()
void VRBRAIN::VRBRAINCANManager::set_UAVCAN |
( |
AP_UAVCAN * |
uavcan | ) |
|
|
override |
◆ _ifaces_num
uint8_t VRBRAIN::VRBRAINCANManager::_ifaces_num |
|
private |
◆ _ifaces_out_to_in
◆ if0_
◆ if1_
◆ ifaces
◆ initialized_
bool VRBRAIN::VRBRAINCANManager::initialized_ |
|
private |
◆ p_uavcan
AP_UAVCAN* VRBRAIN::VRBRAINCANManager::p_uavcan |
|
private |
◆ update_event_
BusEvent VRBRAIN::VRBRAINCANManager::update_event_ |
|
private |
The documentation for this class was generated from the following file:
- libraries/AP_HAL_VRBRAIN/CAN.h