Public Member Functions | Private Member Functions | Private Attributes
rsimpl::motion_module::motion_module_control Class Reference

#include <motion-module.h>

List of all members.

Public Member Functions

void firmware_upgrade (void *data, int size)
 motion_module_control (uvc::device *device, std::timed_mutex &usbMutex)
void switch_to_iap ()
void switch_to_operational ()
void toggle_motion_module_events (bool on)
void toggle_motion_module_power (bool on)

Private Member Functions

void enter_state (mm_state new_state)
void i2c_iap_write (uint16_t slave_address, uint8_t *buffer, uint16_t len)
void impose (mm_request request, bool on)
 motion_module_control (const motion_module_control &)
void set_control (mm_request request, bool on)
void write_firmware (uint8_t *data, int size)

Private Attributes

uvc::device * device_handle
std::mutex mtx
bool power_state
motion_module_state state_handler
std::timed_mutex & usbMutex

Detailed Description

Definition at line 176 of file motion-module.h.


Constructor & Destructor Documentation

motion_module_control::motion_module_control ( uvc::device *  device,
std::timed_mutex &  usbMutex 
)

Definition at line 17 of file motion-module.cpp.


Member Function Documentation

Definition at line 41 of file motion-module.cpp.

Definition at line 261 of file motion-module.cpp.

void motion_module_control::i2c_iap_write ( uint16_t  slave_address,
uint8_t *  buffer,
uint16_t  len 
) [private]

Definition at line 156 of file motion-module.cpp.

void motion_module_control::impose ( mm_request  request,
bool  on 
) [private]

Definition at line 29 of file motion-module.cpp.

void motion_module_control::set_control ( mm_request  request,
bool  on 
) [private]

Definition at line 116 of file motion-module.cpp.

Definition at line 173 of file motion-module.cpp.

Definition at line 199 of file motion-module.cpp.

Definition at line 148 of file motion-module.cpp.

Definition at line 138 of file motion-module.cpp.

void motion_module_control::write_firmware ( uint8_t *  data,
int  size 
) [private]

Definition at line 213 of file motion-module.cpp.


Member Data Documentation

Definition at line 193 of file motion-module.h.

Definition at line 194 of file motion-module.h.

Definition at line 196 of file motion-module.h.

Definition at line 192 of file motion-module.h.

Definition at line 195 of file motion-module.h.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:41