Public Member Functions | Private Attributes
canopen::WordAccessor< MASK > Class Template Reference

#include <motor.h>

List of all members.

Public Member Functions

bool get (uint8_t bit) const
uint16_t get () const
WordAccessoroperator= (const uint16_t &val)
bool reset (uint8_t bit)
bool set (uint8_t bit)
 WordAccessor (uint16_t &word)

Private Attributes

uint16_t & word_

Detailed Description

template<uint16_t MASK>
class canopen::WordAccessor< MASK >

Definition at line 106 of file motor.h.


Constructor & Destructor Documentation

template<uint16_t MASK>
canopen::WordAccessor< MASK >::WordAccessor ( uint16_t &  word) [inline]

Definition at line 109 of file motor.h.


Member Function Documentation

template<uint16_t MASK>
bool canopen::WordAccessor< MASK >::get ( uint8_t  bit) const [inline]

Definition at line 120 of file motor.h.

template<uint16_t MASK>
uint16_t canopen::WordAccessor< MASK >::get ( ) const [inline]

Definition at line 121 of file motor.h.

template<uint16_t MASK>
WordAccessor& canopen::WordAccessor< MASK >::operator= ( const uint16_t &  val) [inline]

Definition at line 122 of file motor.h.

template<uint16_t MASK>
bool canopen::WordAccessor< MASK >::reset ( uint8_t  bit) [inline]

Definition at line 115 of file motor.h.

template<uint16_t MASK>
bool canopen::WordAccessor< MASK >::set ( uint8_t  bit) [inline]

Definition at line 110 of file motor.h.


Member Data Documentation

template<uint16_t MASK>
uint16_t& canopen::WordAccessor< MASK >::word_ [private]

Definition at line 107 of file motor.h.


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


canopen_402
Author(s): Thiago de Freitas , Mathias Lüdtke
autogenerated on Sun Sep 3 2017 03:10:49