APM:Libraries
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VRBRAIN::BusEvent Class Reference

#include <CAN.h>

Inheritance diagram for VRBRAIN::BusEvent:
[legend]
Collaboration diagram for VRBRAIN::BusEvent:
[legend]

Public Member Functions

 BusEvent (VRBRAINCANManager &can_driver)
 
 ~BusEvent ()
 
bool wait (uavcan::MonotonicDuration duration)
 
void signalFromInterrupt ()
 

Static Public Member Functions

static void signalFromCallOut (BusEvent *sem)
 

Public Attributes

sem_t _wait_semaphore
 
volatile uint16_t _signal
 

Detailed Description

Definition at line 75 of file CAN.h.

Constructor & Destructor Documentation

◆ BusEvent()

VRBRAIN::BusEvent::BusEvent ( VRBRAINCANManager can_driver)

◆ ~BusEvent()

VRBRAIN::BusEvent::~BusEvent ( )

Member Function Documentation

◆ signalFromCallOut()

static void VRBRAIN::BusEvent::signalFromCallOut ( BusEvent sem)
static

◆ signalFromInterrupt()

void VRBRAIN::BusEvent::signalFromInterrupt ( )

◆ wait()

bool VRBRAIN::BusEvent::wait ( uavcan::MonotonicDuration  duration)

Member Data Documentation

◆ _signal

volatile uint16_t VRBRAIN::BusEvent::_signal

Definition at line 85 of file CAN.h.

◆ _wait_semaphore

sem_t VRBRAIN::BusEvent::_wait_semaphore

Definition at line 84 of file CAN.h.


The documentation for this class was generated from the following file: