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

#include <CAN.h>

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

Public Member Functions

 BusEvent (PX4CANManager &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()

PX4::BusEvent::BusEvent ( PX4CANManager can_driver)

◆ ~BusEvent()

PX4::BusEvent::~BusEvent ( )

Member Function Documentation

◆ signalFromCallOut()

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

◆ signalFromInterrupt()

void PX4::BusEvent::signalFromInterrupt ( )

◆ wait()

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

Member Data Documentation

◆ _signal

volatile uint16_t PX4::BusEvent::_signal

Definition at line 85 of file CAN.h.

◆ _wait_semaphore

sem_t PX4::BusEvent::_wait_semaphore

Definition at line 84 of file CAN.h.


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