Menu

device::nic::CAN::PeakDriverBase::MOB Class Reference

MOB is derived from the concrete message object and it defines access methods. More...

#include <PeakDriverBase.h>

Public Types

typedef
famouso::mw::nl::CAN::detail::ID
< famouso::mw::nl::CAN::detail::famouso_CAN_ID_LE_PC > 
IDType
 the typedef defines the ID in a style that is easy to use for FAMOUSO. Especially, access to the different parts within the ID is supported.

Public Member Functions

void extended ()
IDTypeid ()
uint8_t & len ()
void len (uint8_t l)
uint8_t * data ()
 MOB ()

Detailed Description

MOB is derived from the concrete message object and it defines access methods.


Member Typedef Documentation

typedef famouso::mw::nl::CAN::detail::ID< famouso::mw::nl::CAN::detail::famouso_CAN_ID_LE_PC > device::nic::CAN::PeakDriverBase::MOB::IDType

the typedef defines the ID in a style that is easy to use for FAMOUSO. Especially, access to the different parts within the ID is supported.


Constructor & Destructor Documentation

device::nic::CAN::PeakDriverBase::MOB::MOB (  )  [inline, explicit]

the constructor creates a CAN message object with ID zero


Member Function Documentation

uint8_t* device::nic::CAN::PeakDriverBase::MOB::data (  )  [inline]

enables access to the payload of the CAN message object

void device::nic::CAN::PeakDriverBase::MOB::extended (  )  [inline]

set the extended message format bit

IDType& device::nic::CAN::PeakDriverBase::MOB::id (  )  [inline]

convert the ID to the correct Type and return it

void device::nic::CAN::PeakDriverBase::MOB::len ( uint8_t  l  )  [inline]

set the length of the payload of the CAN message object

uint8_t& device::nic::CAN::PeakDriverBase::MOB::len (  )  [inline]

get the length of the payload of the CAN message object


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